mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-05 08:34:10 +02:00
Compare commits
2 commits
eaf55d82a8
...
75b8a74269
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75b8a74269 | ||
|
|
619c667aa6 |
|
|
@ -1,11 +1 @@
|
||||||
Fixes a typo in `/rooms/{roomId}/relations/{eventId}`.
|
The `prev_batch` token from `/sync` can be used as the `from` value in `GET /rooms/{roomId}/relations/{eventId}`.
|
||||||
|
|
||||||
The specification says about the `from` request query parameter:
|
|
||||||
|
|
||||||
> The pagination token to start returning results from. If not supplied, results start at the most recent topological event known to the server.
|
|
||||||
>
|
|
||||||
> Can be a `next_batch` or `prev_batch` token from a previous call, or a returned `start` token from `/messages`, or a `next_batch` token from `/sync`.
|
|
||||||
|
|
||||||
The last part is wrong. It should be:
|
|
||||||
|
|
||||||
> … or a `prev_batch` token from `/sync`.
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue