mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-28 03:48:36 +01:00
Document StateEvent for /createRoom (#1329)
This commit is contained in:
parent
2605c75f92
commit
1140c0c05b
|
|
@ -150,10 +150,14 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
description: The type of event to send.
|
||||||
state_key:
|
state_key:
|
||||||
type: string
|
type: string
|
||||||
|
description: The state_key of the state event. Defaults to an empty string.
|
||||||
content:
|
content:
|
||||||
type: object
|
type: object
|
||||||
|
description: The content of the event.
|
||||||
|
required: ["type", "content"]
|
||||||
preset:
|
preset:
|
||||||
type: string
|
type: string
|
||||||
enum: ["private_chat", "public_chat", "trusted_private_chat"]
|
enum: ["private_chat", "public_chat", "trusted_private_chat"]
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,8 @@ Unreleased changes
|
||||||
(`#1152 <https://github.com/matrix-org/matrix-doc/pull/1152>`_).
|
(`#1152 <https://github.com/matrix-org/matrix-doc/pull/1152>`_).
|
||||||
- Mark ``GET /rooms/{roomId}/members`` as requiring authentication
|
- Mark ``GET /rooms/{roomId}/members`` as requiring authentication
|
||||||
(`#1245 <https://github.com/matrix-org/matrix-doc/pull/1244>`_).
|
(`#1245 <https://github.com/matrix-org/matrix-doc/pull/1244>`_).
|
||||||
|
- Describe ``StateEvent`` for ``/createRoom``
|
||||||
|
(`#1329 <https://github.com/matrix-org/matrix-doc/pull/1329>`_).
|
||||||
|
|
||||||
- Changes to the API which will be backwards-compatible for clients:
|
- Changes to the API which will be backwards-compatible for clients:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue