Add filters

pull/977/head
Daniel Wagner-Hall 9 years ago
parent c083aa8d22
commit 705556634a

@ -22,8 +22,8 @@ paths:
summary: Upload a new filter. summary: Upload a new filter.
description: |- description: |-
Uploads a new filter definition to the homeserver. Uploads a new filter definition to the homeserver.
Returns a filter ID that may be used in /sync requests to Returns a filter ID that may be used in future requests to
retrict which events are returned to the client. restrict which events are returned to the client.
security: security:
- accessToken: [] - accessToken: []
parameters: 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 get the next set of results. The "start" and "end" keys can only be omitted if
the complete dataset is provided in "chunk". 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 Events
------ ------

Loading…
Cancel
Save