mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Minor spec tweaks.
This commit is contained in:
parent
24f0bb4af5
commit
7bff9b6269
@ -755,15 +755,17 @@ There are several APIs provided to ``GET`` events for a room:
|
|||||||
Description:
|
Description:
|
||||||
Get all ``m.room.member`` state events.
|
Get all ``m.room.member`` state events.
|
||||||
Response format:
|
Response format:
|
||||||
``{ "start": "token", "end": "token", "chunk": [ { m.room.member event }, ... ] }``
|
``{ "start": "<token>", "end": "<token>", "chunk": [ { m.room.member event }, ... ] }``
|
||||||
Example:
|
Example:
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|/rooms/<room_id>/messages|_
|
|/rooms/<room_id>/messages|_
|
||||||
Description:
|
Description:
|
||||||
Get all ``m.room.message`` events.
|
Get all ``m.room.message`` and ``m.room.member`` events. This API supports pagination
|
||||||
|
using ``from`` and ``to`` query parameters, coupled with the ``start`` and ``end``
|
||||||
|
tokens from an |initialSync|_ API.
|
||||||
Response format:
|
Response format:
|
||||||
``{ TODO }``
|
``{ "start": "<token>", "end": "<token>" }``
|
||||||
Example:
|
Example:
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user