Skip to content

feat: API specs update for version latest - #85

Merged
ChiragAgg5k merged 1 commit into
mainfrom
feat-latest-specs
Jul 31, 2026
Merged

feat: API specs update for version latest#85
ChiragAgg5k merged 1 commit into
mainfrom
feat-latest-specs

Conversation

@appwrite-specifications

Copy link
Copy Markdown
Contributor

This PR contains API specification updates for version latest.

@greptile-apps

greptile-apps Bot commented Jul 1, 2026

Copy link
Copy Markdown

Greptile Summary

This is an auto-generated API specification update (bot PR) that adds new OAuth2 consent management APIs, introduces "appwrite" as a first-party OAuth2 provider, and propagates numerous other endpoint additions and corrections across all three OpenAPI 3 specs (client, console, server).

  • New consent endpoints: Six new account-scoped endpoints (/account/consents, /account/consents/{consentId}, /account/consents/{consentId}/tokens, and their sub-resources) are added consistently across all three specs, with matching oauth2ConsentList, oauth2Consent, oauth2ConsentTokenList, and oauth2ConsentToken schema definitions.
  • "appwrite" OAuth2 provider: The appwrite value is added to the OAuth2 provider enum across client and server specs, accompanied by a new oAuth2Appwrite schema.
  • Scope and type corrections: Several endpoints see their queries parameter type corrected from "string" to "array" (with items: {type: "string"}), and function execution endpoints have their scope corrected from billing.write to the appropriate executions.read/executions.write values; some endpoints now carry a scope array to express multi-scope authorization.

Confidence Score: 5/5

Auto-generated spec update with consistent, additive changes; no regressions detected in the changed paths.

All three specs receive the same new consent endpoints with matching schemas, security, and parameter definitions. The "appwrite" OAuth2 provider is added symmetrically across enum values and schema components. Scope corrections (execution endpoints moved off billing.write) and the queries parameter type fix are accurate improvements. The only pre-existing anomaly (resource param typed as string with a [] default on /oauth2/{project_id}/authorize) predates this PR and was not touched here.

Files Needing Attention: No files require special attention.

Important Files Changed

Filename Overview
specs/latest/open-api3-latest-client.json Adds six new OAuth2 consent endpoints and the "appwrite" provider to the enum; existing account endpoints are reordered. Consent endpoint security and parameters are consistent with the server spec.
specs/latest/open-api3-latest-console.json Large update adding consent APIs, backup policies/restorations, installation APIs, and function execution scope corrections. New endpoints follow existing console spec patterns. Array-scope format introduced for 99 endpoints.
specs/latest/open-api3-latest-server.json Largest delta: adds consent APIs, "appwrite" provider, new installation/backup/execution endpoints, fixes queries parameter type from string to array in one place, and corrects several endpoint scopes. One pre-existing resource param has type:string with default:[] but this predates this PR.

Reviews (2): Last reviewed commit: "feat(spec): declare the X-Appwrite-Organ..." | Re-trigger Greptile

@ChiragAgg5k
ChiragAgg5k merged commit 0186c93 into main Jul 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants