Explain that one-time keys must only be returned once.

This commit is contained in:
Andy Balaam 2024-12-12 11:35:23 +00:00
parent 10df90711a
commit b43fa77049
2 changed files with 8 additions and 0 deletions

View file

@ -300,6 +300,10 @@ paths:
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All [/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
keys uploaded within a given call to `/keys/upload` are considered keys uploaded within a given call to `/keys/upload` are considered
equivalent in this regard; no ordering is specified within them.) equivalent in this regard; no ordering is specified within them.)
Servers must ensure that each one-time key is returned at most once,
so when a key has been returned, no other request will ever return
the same key.
operationId: claimKeys operationId: claimKeys
security: security:
- accessTokenQuery: [] - accessTokenQuery: []

View file

@ -32,6 +32,10 @@ paths:
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All [/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
keys uploaded within a given call to `/keys/upload` are considered keys uploaded within a given call to `/keys/upload` are considered
equivalent in this regard; no ordering is specified within them.) equivalent in this regard; no ordering is specified within them.)
Servers must ensure that each one-time key is returned at most once,
so when a key has been returned, no other request will ever return
the same key.
operationId: claimUserEncryptionKeys operationId: claimUserEncryptionKeys
security: security:
- signedRequest: [] - signedRequest: []