Merge pull request #129 from matrix-org/erikj/search_actual

Add filter param to search API
pull/977/head
Kegsay 9 years ago
commit ade0ad5ed1

@ -62,6 +62,12 @@ paths:
type: string type: string
enum: ["content.body", "content.name", "content.topic"] enum: ["content.body", "content.name", "content.topic"]
description: The keys to search. Defaults to all. description: The keys to search. Defaults to all.
filter:
type: object
title: Filter
description: |-
The filter to apply to search results.
This has the same format as v2 filter API.
required: ["search_term"] required: ["search_term"]
required: ["search_categories"] required: ["search_categories"]
responses: responses:

Loading…
Cancel
Save