clarify signatures upload endpoint

This commit is contained in:
Hubert Chathi 2023-04-18 16:18:57 -04:00
parent a225025cab
commit 552a4c4e1a

View file

@ -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