Get all the state event IDs of a given room
GET {{baseUrl}}/state_ids/:roomId?event_id=$helloworld:matrix.org
Retrieves a snapshot of a room's state at a given event, in the form of
event IDs. This performs the same function as calling /state/{roomId}
,
however this returns just the event IDs rather than the full events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
event_id | string | (Required) An event ID in the room to retrieve the state at. |
RESPONSES
status: OK
{"auth_chain_ids":["$an_event:example.org"],"pdu_ids":["$an_event:example.org"]}