Add note to x-changedInMatrixVersion

This commit is contained in:
Jonas Platte 2022-03-25 12:21:16 +01:00
parent 117e364111
commit a2f18d96ab
No known key found for this signature in database
GPG key ID: BBA95679259D342F

View file

@ -49,7 +49,10 @@ paths:
- in: query - in: query
type: string type: string
name: from name: from
x-changedInMatrixVersion: "1.3" x-changedInMatrixVersion:
1.3: |
Previously, this field was required and paginating from the first or
last visible event in the room history wasn't supported.
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 a `prev_batch` or `next_batch` token returned by the `/sync` endpoint, from a `prev_batch` or `next_batch` token returned by the `/sync` endpoint,
@ -59,7 +62,7 @@ paths:
by a previous request to this endpoint, though servers are not by a previous request to this endpoint, though servers are not
required to support this. Clients should not rely on the behaviour. required to support this. Clients should not rely on the behaviour.
If it is not provided, the homeserver shall return a list of messages If it is not provided, the homeserver shall return a list of messages
from the first or last (per the value of the `dir` parameter) visible from the first or last (per the value of the `dir` parameter) visible
event in the room history for the requesting user. event in the room history for the requesting user.
required: false required: false