Upload a new filter.

POST {{baseUrl}}/user/:userId/filter

Uploads a new filter definition to the homeserver. Returns a filter ID that may be used in future requests to restrict which events are returned to the client.

Request Body

{"value"=>"reference definitions/sync_filter.yaml not found in the OpenAPI spec"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"filter_id":"66696p746572"}