Retrieves events that the sender is missing

POST {{baseUrl}}/get_missing_events/:roomId

Retrieves previous events that the sender is missing. This is done by doing a breadth-first walk of the prev_events for the latest_events, ignoring any events in earliest_events and stopping at the limit.

Request Body

{"earliest_events"=>["$missing_event:example.org"], "latest_events"=>["$event_that_has_the_missing_event_as_a_previous_event:example.org"], "limit"=>10, "min_depth"=>0}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"events":[{"$ref":"examples/minimal_pdu.json"}]}