Retrieves the events which precede the given event
GET {{baseUrl}}/backfill/:roomId?v=$abc123:matrix.org&limit=2
Retrieves a sliding-window history of previous PDUs that occurred in the given room.
Starting from the PDU ID(s) given in the v
argument, the PDUs given in v
and
the PDUs that preceded them are retrieved, up to the total number given by the limit
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
v | string | (Required) The event IDs to backfill from. | |
limit | number | (Required) The maximum number of PDUs to retrieve, including the given events. |
RESPONSES
status: OK
{}