File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
changelogs/client_server/newsfragments Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change
1
+ Specify order of one-time keys, as per [MSC4225](https://github.com/matrix-org/matrix-spec-proposals/pull/4225).
Original file line number Diff line number Diff line change @@ -288,7 +288,17 @@ paths:
288
288
/keys/claim :
289
289
post :
290
290
summary : Claim one-time encryption keys.
291
- description : Claims one-time keys for use in pre-key messages.
291
+ description : |-
292
+ Claims one-time keys for use in pre-key messages.
293
+
294
+ The request contains the user ID, device ID and algorithm name of the
295
+ keys that are required. The response contains a key matching this -
296
+ either a one-time key, or if none are available, a fallback key.
297
+
298
+ One-time keys are given out in the order that they were uploaded via
299
+ [/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
300
+ keys uploaded within a given call to `/keys/upload` are considered
301
+ equivalent in this regard; no ordering is specified within them.)
292
302
operationId : claimKeys
293
303
security :
294
304
- accessTokenQuery : []
Original file line number Diff line number Diff line change @@ -20,7 +20,17 @@ paths:
20
20
/user/keys/claim :
21
21
post :
22
22
summary : Claims one-time encryption keys for a user.
23
- description : Claims one-time keys for use in pre-key messages.
23
+ description : |-
24
+ Claims one-time keys for use in pre-key messages.
25
+
26
+ The request contains the user ID, device ID and algorithm name of the
27
+ keys that are required. The response contains a key matching this -
28
+ either a one-time key, or if none are available, a fallback key.
29
+
30
+ One-time keys are given out in the order that they were uploaded via
31
+ [/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All
32
+ keys uploaded within a given call to `/keys/upload` are considered
33
+ equivalent in this regard; no ordering is specified within them.)
24
34
operationId : claimUserEncryptionKeys
25
35
security :
26
36
- signedRequest : []
You can’t perform that action at this time.
0 commit comments