From b49d58dbf4c4bb7bdfd5a9f4030280dd727b1037 Mon Sep 17 00:00:00 2001 From: Eric Wolf Date: Tue, 20 Jun 2023 08:47:04 +0200 Subject: [PATCH 1/2] Fix admin api documentation typo Signed-off-by: Eric Wolf --- docs/admin_api/rooms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin_api/rooms.md b/docs/admin_api/rooms.md index 66b29e82dcaa..90b06045a820 100644 --- a/docs/admin_api/rooms.md +++ b/docs/admin_api/rooms.md @@ -419,7 +419,7 @@ The following query parameters are available: * `from` (required) - 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, or from an end token returned by a previous request to this endpoint. -* `to` - The token to spot returning events at. +* `to` - The token to stop returning events at. * `limit` - The maximum number of events to return. Defaults to `10`. * `filter` - A JSON RoomEventFilter to filter returned events with. * `dir` - The direction to return events from. Either `f` for forwards or `b` for backwards. Setting From a472079bc5d2351e861d82c5c5d8544687675e3c Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 20 Jun 2023 10:53:58 +0100 Subject: [PATCH 2/2] Changelog --- changelog.d/15805.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/15805.doc diff --git a/changelog.d/15805.doc b/changelog.d/15805.doc new file mode 100644 index 000000000000..446f627cfc13 --- /dev/null +++ b/changelog.d/15805.doc @@ -0,0 +1 @@ +Fix a typo in the [Admin API](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/index.html).