Add Spaces to the spec (#3610)
* First iteration of specifying Spaces MSCs: * https://github.com/matrix-org/matrix-doc/pull/3288 * https://github.com/matrix-org/matrix-doc/pull/2946 * https://github.com/matrix-org/matrix-doc/pull/1772 Note that this makes modifications to the underlying MSCs as well. These are intended to be minor edits to aid clarity/accuracy of the MSCs, as per the proposal process. Functionally, clients and servers might need to change their behaviour slightly as is expected of implementing this stuff early. Synapse has these changes (alongside backwards compatibility) here: https://github.com/matrix-org/synapse/pull/11667 * add changelogs * Accuracy per review * Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * fully prefix new endpoints * Fully prefix endpoint in 3616 too * Fix ordering example Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
21882b6006
commit
9af83dfd41
21 changed files with 924 additions and 138 deletions
|
@ -47,7 +47,9 @@ paths:
|
|||
The service records persistently all of the above information.
|
||||
|
||||
It also generates an email containing all of this data, sent to the
|
||||
`address` parameter, notifying them of the invitation.
|
||||
`address` parameter, notifying them of the invitation. The email should
|
||||
reference the `inviter_name`, `room_name`, `room_avatar`, and `room_type`
|
||||
(if present) from the request here.
|
||||
|
||||
Also, the generated ephemeral public key will be listed as valid on
|
||||
requests to `/_matrix/identity/v2/pubkey/ephemeral/isvalid`.
|
||||
|
@ -115,6 +117,12 @@ paths:
|
|||
type: string
|
||||
description: The Content URI for the avatar of the user ID initiating the invite.
|
||||
example: "mxc://example.org/an0th3rM3dia"
|
||||
room_type:
|
||||
type: string
|
||||
description: |-
|
||||
The `type` from the `m.room.create` event's `content`. If the create event doesn't
|
||||
have a specified `type`, this field is not included.
|
||||
example: "m.space"
|
||||
required: ["medium", "address", "room_id", "sender"]
|
||||
responses:
|
||||
200:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue