Reset unwanted changes and clarify that ephemeral key must be the same string

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-04-22 12:36:29 +00:00
parent 161fe0df33
commit e366f451c2
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -43,7 +43,8 @@ paths:
properties: properties:
public_key: public_key:
type: string type: string
description: Public key using standard or URL-safe base64 encoding. description: |-
[Unpadded Base64](/appendices/#unpadded-base64)-encoded public key.
required: required:
- public_key - public_key
examples: examples:
@ -74,7 +75,8 @@ paths:
- in: query - in: query
name: public_key name: public_key
required: true required: true
description: The unpadded standard or URL-safe base64-encoded public key to check. description: |-
The [unpadded Base64](/appendices/#unpadded-base64)-encoded public key to check.
example: VXuGitF39UH5iRfvbIknlvlAVKgD1BsLDMvBf0pmp7c example: VXuGitF39UH5iRfvbIknlvlAVKgD1BsLDMvBf0pmp7c
schema: schema:
type: string type: string
@ -105,7 +107,14 @@ paths:
- in: query - in: query
name: public_key name: public_key
required: true required: true
description: The unpadded standard or URL-safe base64-encoded public key to check. description: |-
The [unpadded Base64](/appendices/#unpadded-base64)-encoded public
key to check.
This MUST be the exact same encoded string returned in the response
of the [`/store-invite`](/identity-service-api/#post_matrixidentityv2store-invite)
endpoint, or found in the corresponding [`m.room.third_party_invite`](/client-server-api/#mroomthird_party_invite)
event, so it may use the standard or URL-safe alphabets.
example: VXuGitF39UH5iRfvbIknlvlAVKgD1BsLDMvBf0pmp7c example: VXuGitF39UH5iRfvbIknlvlAVKgD1BsLDMvBf0pmp7c
schema: schema:
type: string type: string