Clarify signatures upload endpoint (#1495)

* clarify signatures upload endpoint

* add changelog
This commit is contained in:
Hubert Chathi 2023-05-08 06:36:56 -04:00 committed by GitHub
parent ade2d29210
commit dc5d95c242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

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

View file

@ -149,8 +149,12 @@ 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: []
@ -158,7 +162,8 @@ paths:
- 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