You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
9 years ago
|
{
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"room": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"state": {
|
||
|
"description":
|
||
|
"The state events to include for rooms.",
|
||
9 years ago
|
"allOf": [{"$ref": "room_event_filter.json"}]
|
||
9 years ago
|
},
|
||
9 years ago
|
"timeline": {
|
||
9 years ago
|
"description":
|
||
|
"The message and state update events to include for rooms.",
|
||
9 years ago
|
"allOf": [{"$ref": "room_event_filter.json"}]
|
||
9 years ago
|
},
|
||
|
"ephemeral": {
|
||
|
"description":
|
||
|
"The events that aren't recorded in the room history, e.g. typing and receipts, to include for rooms.",
|
||
9 years ago
|
"allOf": [{"$ref": "room_event_filter.json"}]
|
||
9 years ago
|
}
|
||
|
}
|
||
|
},
|
||
9 years ago
|
"presence": {
|
||
9 years ago
|
"description":
|
||
9 years ago
|
"The presence updates to include.",
|
||
9 years ago
|
"allOf": [{"$ref": "event_filter.json"}]
|
||
9 years ago
|
},
|
||
|
"event_format": {
|
||
|
"description":
|
||
|
"The format to use for events. 'client' will return the events in a format suitable for clients. 'federation' will return the raw event as receieved over federation. The default is 'client'.",
|
||
9 years ago
|
"type": "string",
|
||
|
"enum": ["client", "federation"]
|
||
9 years ago
|
},
|
||
|
"event_fields": {
|
||
|
"type": "array",
|
||
|
"description":
|
||
9 years ago
|
"List of event fields to include. If this list is absent then all fields are included. The entries may include '.' charaters to indicate sub-fields. So ['content.body'] will include the 'body' field of the 'content' object. A literal '.' character in a field name may be escaped using a '\\'. A server may include more fields than were requested.",
|
||
9 years ago
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|