mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 18:08:37 +01:00
Now that we don't expect there to be duplication betwen the 'timeline' and 'state' results, there's no point in having the state map. (That does mean the events themselves need event_id fields though). Also: - move the contents of the 'unsigned' dictionary into the events themselves - replace the state list with two layers of dictionary keyed on type and state_key - rename the children of the 'rooms' dict from "joined/invited/archived" to "join/invite/leave" to match the membership states
15 lines
434 B
JSON
15 lines
434 B
JSON
{
|
|
"type": "object",
|
|
"allOf": [{"$ref":"definitions/event_batch.json"}],
|
|
"properties": {
|
|
"limited": {
|
|
"type": "boolean",
|
|
"description": "True if the number of events returned was limited by the ``limit`` on the filter"
|
|
},
|
|
"prev_batch": {
|
|
"type": "string",
|
|
"description": "If the batch was limited then this is a token that can be supplied to the server to retrieve earlier events"
|
|
}
|
|
}
|
|
}
|