You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/event-schemas/schema
Travis Ralston 45c68e323a Add general clarity to the /createRoom endpoint
This commit does a number of things:
* Minor formatting/alignment changes
* Document the room_alias response key. This could be deprecated now, or forfeited, if needed.
* Remove the guest_can_join parameter - it is not actually supported
* Document the previously undocumented power_level_content_override parameter
* Clarify that the room_id is required on the response
* More clearly spell out which events are created as part of the request
* Clarify how the room alias becomes the canonical alias
* Clarify how the `visibility` may be used to determine a default preset to apply
* Document the `m.federate` creation content parameter, adding an option for the homeserver to define a default value

References:
* Preset being inferred by the visibility: cd32c19a60/synapse/handlers/room.py (L172-L177)
* Power level content overrides:
  * https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room.py#L198
  * https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room.py#L335-L359
* Aliases becoming canonical: https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room.py#L366-L370
* `m.federate` landing in the create event: https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room.py#L311-L315

Fixes https://github.com/matrix-org/matrix-doc/issues/1243
Fixes https://github.com/matrix-org/matrix-doc/issues/1471
Inspired by https://github.com/matrix-org/matrix-doc/issues/1213
7 years ago
..
core-event-schema Sticker messages (m.sticker) (#1158) 8 years ago
m.call.answer Make all the schema files yaml 10 years ago
m.call.candidates Make all the schema files yaml 10 years ago
m.call.hangup Make all the schema files yaml 10 years ago
m.call.invite Make all the schema files yaml 10 years ago
m.direct Better types for additionalProps 9 years ago
m.ignored_user_list Add clarity to the m.ignored_user_list 8 years ago
m.presence Make m.presence match what synapse returns 8 years ago
m.receipt Add event as a parent for all event types 10 years ago
m.room.aliases Convert event schemas to yaml 10 years ago
m.room.avatar Make the key orders consistent 9 years ago
m.room.canonical_alias Make null m.room.name behaviour explicit 10 years ago
m.room.create Convert event schemas to yaml 10 years ago
m.room.guest_access Convert event schemas to yaml 10 years ago
m.room.history_visibility Convert event schemas to yaml 10 years ago
m.room.join_rules Convert event schemas to yaml 10 years ago
m.room.member More PR feedback 9 years ago
m.room.message Convert event schemas to yaml 10 years ago
m.room.message#m.audio Convert event schemas to yaml 10 years ago
m.room.message#m.emote Document message formats as-is 8 years ago
m.room.message#m.file Make the key orders consistent 9 years ago
m.room.message#m.image Make the key orders consistent 9 years ago
m.room.message#m.location Make the key orders consistent 9 years ago
m.room.message#m.notice Make m.notice description use stricter language 9 years ago
m.room.message#m.text Document message formats as-is 8 years ago
m.room.message#m.video Make the key orders consistent 9 years ago
m.room.message.feedback Convert event schemas to yaml 10 years ago
m.room.name Make null m.room.name behaviour explicit 10 years ago
m.room.pinned_events Add spec for m.room.pinned_events 8 years ago
m.room.power_levels Add general clarity to the /createRoom endpoint 7 years ago
m.room.redaction Convert event schemas to yaml 10 years ago
m.room.third_party_invite Convert event schemas to yaml 10 years ago
m.room.topic Convert event schemas to yaml 10 years ago
m.sticker Sticker messages (m.sticker) (#1158) 8 years ago
m.tag Add event as a parent for all event types 10 years ago
m.typing Add event as a parent for all event types 10 years ago