|
|
|
@ -51,14 +51,12 @@ paths:
|
|
|
|
|
example: |-
|
|
|
|
|
{
|
|
|
|
|
"third_party_signed": {
|
|
|
|
|
"signed": {
|
|
|
|
|
"sender": "@cat:the.hat",
|
|
|
|
|
"mxid": "@green:eggs.ham",
|
|
|
|
|
"token": "random8nonce",
|
|
|
|
|
"signatures": {
|
|
|
|
|
"horton.hears": {
|
|
|
|
|
"ed25519:0": "some9signature"
|
|
|
|
|
}
|
|
|
|
|
"sender": "@cat:the.hat",
|
|
|
|
|
"mxid": "@green:eggs.ham",
|
|
|
|
|
"token": "random8nonce",
|
|
|
|
|
"signatures": {
|
|
|
|
|
"horton.hears": {
|
|
|
|
|
"ed25519:0": "some9signature"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -69,25 +67,20 @@ paths:
|
|
|
|
|
title: ThirdPartySigned
|
|
|
|
|
description: A signature of an ``m.third_party_invite`` token to prove that this user owns a third party identity which has been invited to the room.
|
|
|
|
|
properties:
|
|
|
|
|
signed:
|
|
|
|
|
sender:
|
|
|
|
|
type: string
|
|
|
|
|
description: The Matrix ID of the user who issued the invite.
|
|
|
|
|
mxid:
|
|
|
|
|
type: string
|
|
|
|
|
description: The Matrix ID of the invitee.
|
|
|
|
|
token:
|
|
|
|
|
type: string
|
|
|
|
|
description: The state key of the m.third_party_invite event.
|
|
|
|
|
signatures:
|
|
|
|
|
type: object
|
|
|
|
|
title: Signed
|
|
|
|
|
properties:
|
|
|
|
|
sender:
|
|
|
|
|
type: string
|
|
|
|
|
description: The Matrix ID of the user who issued the invite.
|
|
|
|
|
mxid:
|
|
|
|
|
type: string
|
|
|
|
|
description: The Matrix ID of the invitee.
|
|
|
|
|
token:
|
|
|
|
|
type: string
|
|
|
|
|
description: The state key of the m.third_party_invite event.
|
|
|
|
|
signatures:
|
|
|
|
|
type: object
|
|
|
|
|
description: A signatures object containing a signature of the entire signed object.
|
|
|
|
|
title: Signatures
|
|
|
|
|
required: ["sender", "mxid", "token", "signatures"]
|
|
|
|
|
required: ["signed"]
|
|
|
|
|
description: A signatures object containing a signature of the entire signed object.
|
|
|
|
|
title: Signatures
|
|
|
|
|
required: ["sender", "mxid", "token", "signatures"]
|
|
|
|
|
responses:
|
|
|
|
|
200:
|
|
|
|
|
description: |-
|
|
|
|
|