Add missing "to" parameter to /messages
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
parent
777d72aad1
commit
dc7fc0309e
1 changed files with 13 additions and 2 deletions
|
@ -34,9 +34,20 @@ paths:
|
||||||
name: from
|
name: from
|
||||||
description: |-
|
description: |-
|
||||||
The token to start returning events from. This token can be obtained
|
The token to start returning events from. This token can be obtained
|
||||||
from the initial sync API.
|
from a ``prev_batch`` token returned for each room by the sync API,
|
||||||
|
or from a ``start`` or ``end`` token returned by a previous request
|
||||||
|
to this endpoint.
|
||||||
required: true
|
required: true
|
||||||
x-example: "s345_678_333"
|
x-example: "s345_678_333"
|
||||||
|
- in: query
|
||||||
|
type: string
|
||||||
|
name: to
|
||||||
|
description: |-
|
||||||
|
The token to stop returning events at. This token can be obtained from
|
||||||
|
a ``prev_batch`` token returned for each room by the sync endpoint,
|
||||||
|
or from a ``start`` or ``end`` token returned by a previous request to
|
||||||
|
this endpoint.
|
||||||
|
required: false
|
||||||
- in: query
|
- in: query
|
||||||
type: string
|
type: string
|
||||||
enum: ["b", "f"]
|
enum: ["b", "f"]
|
||||||
|
@ -61,7 +72,7 @@ paths:
|
||||||
start:
|
start:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The token to start paginating from. If ``dir=b`` this will be
|
The token the pagination starts from. If ``dir=b`` this will be
|
||||||
the token supplied in ``from``.
|
the token supplied in ``from``.
|
||||||
end:
|
end:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue