Clarify signatures upload endpoint (#1495)

* clarify signatures upload endpoint

* add changelog
pull/1525/head
Hubert Chathi 1 year ago committed by GitHub
parent ade2d29210
commit dc5d95c242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Clarify parts of the end-to-end encryption sections.

@ -149,8 +149,12 @@ paths:
x-addedInMatrixVersion: "1.1" x-addedInMatrixVersion: "1.1"
summary: Upload cross-signing signatures. summary: Upload cross-signing signatures.
description: |- description: |-
Publishes cross-signing signatures for the user. The request body is a Publishes cross-signing signatures for the user.
map from user ID to key ID to signed JSON object.
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 operationId: uploadCrossSigningSignatures
security: security:
- accessToken: [] - accessToken: []
@ -158,7 +162,8 @@ paths:
- in: body - in: body
name: signatures name: signatures
description: |- 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 required: true
schema: schema:
type: object type: object

Loading…
Cancel
Save