Merge pull request #214 from matrix-org/daniel/filters

Add filters
pull/977/head
Daniel Wagner-Hall 9 years ago
commit 2b6c65eefc

@ -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…
Cancel
Save