mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-16 16:34:09 +01:00
Add filter query param to /context
This was missed as part of lazy-loading. Fixes https://github.com/matrix-org/matrix-doc/issues/2338
This commit is contained in:
parent
ae163ab818
commit
021c056efc
|
|
@ -59,6 +59,17 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The maximum number of events to return. Default: 10.
|
The maximum number of events to return. Default: 10.
|
||||||
x-example: 3
|
x-example: 3
|
||||||
|
- in: query
|
||||||
|
name: filter
|
||||||
|
type: string
|
||||||
|
description: |-
|
||||||
|
The ID of a filter created using the filter API or a filter JSON
|
||||||
|
object encoded as a string. The server will detect whether it is
|
||||||
|
an ID or a JSON object by whether the first character is a ``"{"``
|
||||||
|
open brace.
|
||||||
|
|
||||||
|
See `Filtering <#filtering>`_ for more information.
|
||||||
|
x-example: "66696p746572"
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: The events and state surrounding the requested event.
|
description: The events and state surrounding the requested event.
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Add missing information on how filters are meant to work with ``/context``.
|
||||||
Loading…
Reference in a new issue