Repository navigation
fix: match the 2.4.x reference to the released passkey SDKs - #129
Merged
Merged
Conversation
The Console's Cloud API reference reads the newest numbered spec, 2.4.x. Its passkey policy still took origins, which the SDKs released with passkeys dropped for rpId alone, and it listed server and client methods no released SDK ships yet.
🟢 Tier S · Ready to mergeThe 2.4.x OpenAPI reference now documents passkey policy updates with a required
📂 Walkthrough · 2
Reviewed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
specs/2.4.xin line with the SDKs released today with passkeys (appwrite-labs/cloud#6491).Why 2.4.x
The Console's Cloud API reference doesn't read
specs/latest. It reads the newest numbered folder (LATEST_EXAMPLES_VERSIONinapps/console), which is2.4.x. #128 updateslatest, which only the API Explorer reads, so the reference needs the same fixes here.Passkey policy
2.4.xwas generated from the 2.4.0 tag, whereproject.updatePasskeyPolicytookrpIdandorigins. Cloud and every released SDK takerpIdalone, required, and work out the origins from the project's platforms.policyPasskeymodel now matchlatest.originsstays on the model as a read-only list.update-passkey-policyexamples come from each released SDK'sdocs/examplesat its release tag (node 29.3.0, php 30.3.0, python 24.3.0, ruby 28.3.0, go v7.10.0, dotnet 8.3.0, kotlin 22.3.0, swift 22.3.0, rust 0.17.0, console 18.4.0, console-python 0.12.0).models.style instead of the SDK's.Methods no released SDK ships
Those SDK releases were patched onto each SDK's last stable tag. These methods appear in 2.4.x but in none of the released server or client SDKs, so the reference drops them for that platform. The console platform keeps them.
account.createEmailVerificationOTP,updateEmailVerificationOTP,createRecoveryOTP,updateRecoveryOTP,createIdTokenSession(still on client, where the SDKs ship them)avatars.updatePhoto,avatars.deletePhotomessaging.createAppwriteProvider,updateAppwriteProvider,project.updateOAuth2Kakao,updateOAuth2TikTok,updateOAuth2Webflow,updatePasswordPwnedPolicy