Skip to content

Commit

Permalink
Clarify signatures upload endpoint (matrix-org#1495)
Browse files Browse the repository at this point in the history
* clarify signatures upload endpoint

* add changelog
  • Loading branch information
uhoreg committed May 8, 2023
1 parent ade2d29 commit dc5d95c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1495.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify parts of the end-to-end encryption sections.
11 changes: 8 additions & 3 deletions data/api/client-server/cross_signing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,21 @@ paths:
x-addedInMatrixVersion: "1.1"
summary: Upload cross-signing signatures.
description: |-
Publishes cross-signing signatures for the user. The request body is a
map from user ID to key ID to signed JSON object.
Publishes cross-signing signatures for the user.
The request body is a map from user ID to key ID to signed JSON object.
The signed JSON object must match the key previously uploaded or
retrieved for the given key ID, with the exception of the `signatures`
property, which contains the new signature(s) to add.
operationId: uploadCrossSigningSignatures
security:
- accessToken: []
parameters:
- in: body
name: signatures
description: |-
The signatures to be published.
A map from user ID to key ID to signed JSON objects containing the
signatures to be published.
required: true
schema:
type: object
Expand Down

0 comments on commit dc5d95c

Please sign in to comment.