From 59b92ce9e6c57fcbfc488cbad992a9324599c475 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Wed, 6 May 2026 17:10:08 +0100 Subject: [PATCH] Note how to paginate using token returned by `/context` (#2372) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com> --- changelogs/client_server/newsfragments/2372.clarification | 1 + data/api/client-server/event_context.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/client_server/newsfragments/2372.clarification diff --git a/changelogs/client_server/newsfragments/2372.clarification b/changelogs/client_server/newsfragments/2372.clarification new file mode 100644 index 00000000..94615f81 --- /dev/null +++ b/changelogs/client_server/newsfragments/2372.clarification @@ -0,0 +1 @@ +Clarify how to paginate messages using the pagination tokens returned by `GET /rooms/{roomId}/context/{eventId}`. \ No newline at end of file diff --git a/data/api/client-server/event_context.yaml b/data/api/client-server/event_context.yaml index 0c927a6d..a23c1aa7 100644 --- a/data/api/client-server/event_context.yaml +++ b/data/api/client-server/event_context.yaml @@ -79,10 +79,10 @@ paths: properties: start: type: string - description: A token that can be used to paginate backwards with. + description: A token that can be used to paginate backwards with using [`GET /messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages). end: type: string - description: A token that can be used to paginate forwards with. + description: A token that can be used to paginate forwards with using [`GET /messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages). events_before: type: array description: |-