mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Document the /event/:event_id/ federation endpoint
This commit is contained in:
parent
b9bee6ee73
commit
116253b2f5
|
|
@ -503,6 +503,17 @@ Retrieves a snapshot of the entire current state of the given room. The
|
|||
response will contain a single Transaction, inside which will be a list of PDUs
|
||||
that encode the state.
|
||||
|
||||
|
||||
To fetch a particular event::
|
||||
|
||||
GET .../event/<event_id>/
|
||||
Response: JSON encoding of a partial Transaction containing the event
|
||||
|
||||
Retrieves a single event. The response will contain a partial Transaction,
|
||||
having just the ``origin``, ``origin_server_ts`` and ``pdus`` fields; the
|
||||
event will be encoded as the only PDU in the ``pdus`` list.
|
||||
|
||||
|
||||
To backfill events on a given room::
|
||||
|
||||
GET .../backfill/<room_id>/
|
||||
|
|
|
|||
Loading…
Reference in a new issue