|
|
@ -22,7 +22,7 @@ paths:
|
|
|
|
summary: Synchronise the client's state and receive new messages.
|
|
|
|
summary: Synchronise the client's state and receive new messages.
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
Synchronise the client's state with the latest state on the server.
|
|
|
|
Synchronise the client's state with the latest state on the server.
|
|
|
|
Client's use this API when they first log in to get an initial snapshot
|
|
|
|
Clients use this API when they first log in to get an initial snapshot
|
|
|
|
of the state on the server, and then continue to call this API to get
|
|
|
|
of the state on the server, and then continue to call this API to get
|
|
|
|
incremental deltas to the state, and to receive new messages.
|
|
|
|
incremental deltas to the state, and to receive new messages.
|
|
|
|
security:
|
|
|
|
security:
|
|
|
@ -40,6 +40,22 @@ paths:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
A point in time to continue a sync from.
|
|
|
|
A point in time to continue a sync from.
|
|
|
|
x-example: "s72594_4483_1934"
|
|
|
|
x-example: "s72594_4483_1934"
|
|
|
|
|
|
|
|
- in: query
|
|
|
|
|
|
|
|
name: full_state
|
|
|
|
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
Controls whether to include the full state for all rooms the user
|
|
|
|
|
|
|
|
is a member of.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If this is set to ``true``, then all state events will be returned,
|
|
|
|
|
|
|
|
even if ``since`` is non-empty. The timeline will still be limited
|
|
|
|
|
|
|
|
by the ``since`` parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If ``false``, and ``since`` is non-empty, only state which has
|
|
|
|
|
|
|
|
changed since the point indicated by ``since`` will be returned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
By default, this is ``false``.
|
|
|
|
|
|
|
|
x-example: "false"
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: set_presence
|
|
|
|
name: set_presence
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -135,7 +151,7 @@ paths:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
The state of a room that the user has been invited
|
|
|
|
The state of a room that the user has been invited
|
|
|
|
to. These state events may only have the `sender``,
|
|
|
|
to. These state events may only have the ``sender``,
|
|
|
|
``type``, ``state_key`` and ``content`` keys
|
|
|
|
``type``, ``state_key`` and ``content`` keys
|
|
|
|
present. These events do not replace any state that
|
|
|
|
present. These events do not replace any state that
|
|
|
|
the client already has for the room, for example if
|
|
|
|
the client already has for the room, for example if
|
|
|
|