mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Clarify that /context always returns 'event' even if limit is zero
Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
e406bd94f6
commit
458258938d
|
|
@ -57,7 +57,10 @@ paths:
|
||||||
type: integer
|
type: integer
|
||||||
name: limit
|
name: limit
|
||||||
description: |-
|
description: |-
|
||||||
The maximum number of events to return. Default: 10.
|
The maximum number of context events to return. The limit applies
|
||||||
|
to the sum of the `events_before` and `events_after` arrays. The
|
||||||
|
requested event ID is always returned in `event` even if `limit` is
|
||||||
|
0. Default: 10.
|
||||||
x-example: 3
|
x-example: 3
|
||||||
- in: query
|
- in: query
|
||||||
name: filter
|
name: filter
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue