Add filters
This commit is contained in:
parent
c083aa8d22
commit
705556634a
2 changed files with 11 additions and 2 deletions
|
@ -22,8 +22,8 @@ paths:
|
|||
summary: Upload a new filter.
|
||||
description: |-
|
||||
Uploads a new filter definition to the homeserver.
|
||||
Returns a filter ID that may be used in /sync requests to
|
||||
retrict which events are returned to the client.
|
||||
Returns a filter ID that may be used in future requests to
|
||||
restrict which events are returned to the client.
|
||||
security:
|
||||
- accessToken: []
|
||||
parameters:
|
||||
|
|
|
@ -569,6 +569,15 @@ Where $streamtoken is an opaque token which can be used in another query to
|
|||
get the next set of results. The "start" and "end" keys can only be omitted if
|
||||
the complete dataset is provided in "chunk".
|
||||
|
||||
Filtering
|
||||
---------
|
||||
|
||||
Filters can be created on the server and can be passed as as a parameter to APIs
|
||||
which return events. These filters alter the data returned from those APIs.
|
||||
Not all APIs accept filters.
|
||||
|
||||
{{filter_http_api}}
|
||||
|
||||
Events
|
||||
------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue