Skip to content

feat: API specs update for version latest with passkeys - #128

Merged
ChiragAgg5k merged 2 commits into
mainfrom
feat-latest-specs
Oct 12, 2026
Merged

ChiragAgg5k merged 2 commits into
mainfrom
feat-latest-specs

Conversation

@appwrite-specifications

@appwrite-specifications appwrite-specifications Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Regenerates specs/latest from appwrite-labs/cloud main (Generate Specs run), then trims it to what the SDKs released today with passkeys ship (appwrite-labs/cloud#6491).

Why

The Console's API Explorer reads specs/latest. The Cloud API reference reads the newest numbered folder instead, and #129 makes the same fixes in 2.4.x. The pinned commit (fcaf861) already lists the passkey methods, but project.updatePasskeyPolicy still takes origins, which the released SDKs dropped in favour of rpId alone.

Trimmed by hand

Those SDK releases were patched onto each SDK's last stable tag, so they don't include everything the server spec now describes. Every method in the reference services was checked against the released SDKs' docs/examples (node 29.3.0, web 28.2.0, console 18.4.0, and the other server and client SDKs, which match). Request params were checked against the npm type definitions.

Removed from Methods
server account.createEmailVerificationOTP, updateEmailVerificationOTP, createRecoveryOTP, updateRecoveryOTP, createIdTokenSession (still on client, where the SDKs ship them)
server, client avatars.updatePhoto, avatars.deletePhoto
server messaging.createAppwriteProvider, updateAppwriteProvider, project.updateOAuth2Kakao, updateOAuth2TikTok, updateOAuth2Webflow, updatePasswordPwnedPolicy
everywhere project.updatePasswordRotationPolicy
Param removed Method
fingerprints project.createAndroidPlatform, project.updateAndroidPlatform
membershipId teams.createMembership

Removing a platform only hides the method from that SDK's reference; the console spec keeps every method the Console SDK ships.

Not changed

The update also adds functions interval (already in the released server SDKs), admin threats (console only, not in the reference) and response model defaults.

A few older params already in latest aren't in the released SDKs either (for example replyToEmail on messaging emails, OAuth2 prompt, and duration on email password sessions). They were in the reference before this update, so this PR leaves them alone.

github-actions Bot and others added 2 commits October 12, 2026 17:56
Server, client and console SDKs released with passkeys are patched onto their last stable tags, so the latest spec documented methods and params none of them expose yet: email and recovery OTP, ID token sessions, avatar photos, the Appwrite messaging provider, Kakao, TikTok and Webflow OAuth2, the pwned and rotation password policies, Android signing fingerprints and custom membership IDs.
@ChiragAgg5k ChiragAgg5k changed the title feat: API specs update for version latest feat: API specs update for version latest with passkeys Oct 12, 2026
@ChiragAgg5k
ChiragAgg5k merged commit 54bfafc into main Oct 12, 2026
2 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the feat-latest-specs branch October 12, 2026 18:11
ChiragAgg5k added a commit to appwrite/appwrite that referenced this pull request Oct 12, 2026
The Cloud API reference reads specs 2.4.x, whose passkey policy still took origins. appwrite/specs#128 and #129 match latest and 2.4.x to the SDKs released with passkeys.
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.

1 participant