mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Add filter param
This commit is contained in:
parent
4a558ad63b
commit
36634df355
|
|
@ -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…
Reference in a new issue