Add filters

This commit is contained in:
Daniel Wagner-Hall 2015-12-04 19:46:45 +00:00
parent c083aa8d22
commit 705556634a
2 changed files with 11 additions and 2 deletions

View file

@ -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:

View file

@ -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
------