mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-07 20:24:08 +01:00
Define the real event types on the invite_state
This commit is contained in:
parent
fc037b3a72
commit
2f824df8dd
|
|
@ -202,8 +202,29 @@ paths:
|
||||||
the room then the current state will be given as a
|
the room then the current state will be given as a
|
||||||
delta against the archived ``state`` not the
|
delta against the archived ``state`` not the
|
||||||
``invite_state``.
|
``invite_state``.
|
||||||
allOf:
|
properties:
|
||||||
- $ref: "definitions/state_event_batch.yaml"
|
events:
|
||||||
|
description: The StrippedState events that form the invite state.
|
||||||
|
items:
|
||||||
|
description: 'A stripped down state event, with only the ``type``, ``state_key`` and ``content`` keys.'
|
||||||
|
properties:
|
||||||
|
content:
|
||||||
|
description: The ``content`` for the event.
|
||||||
|
title: EventContent
|
||||||
|
type: object
|
||||||
|
state_key:
|
||||||
|
description: The ``state_key`` for the event.
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
description: The ``type`` for the event.
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- type
|
||||||
|
- state_key
|
||||||
|
- content
|
||||||
|
title: StrippedState
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
leave:
|
leave:
|
||||||
title: Left rooms
|
title: Left rooms
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue