Merge pull request #129 from matrix-org/erikj/search_actual
Add filter param to search API
This commit is contained in:
commit
ade0ad5ed1
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue