summary refs log tree commit diff
diff options
context:
space:
mode:
authorew-at-vier <136321107+ew-at-vier@users.noreply.github.com>2023-06-20 12:45:26 +0200
committerGitHub <noreply@github.com>2023-06-20 10:45:26 +0000
commit2301a09d7af2a7b1c85cceb9cc60eee895784c20 (patch)
tree5b9b68b1e7f7dbafa54f35d1ca59313e55b40469
parentSwitch from `matrix://` to `matrix-federation://` scheme for internal Synapse... (diff)
downloadsynapse-2301a09d7af2a7b1c85cceb9cc60eee895784c20.tar.xz
Fix admin api documentation typo (#15805)
* Fix admin api documentation typo

Signed-off-by: Eric Wolf <eric.wolf@vier.ai>
-rw-r--r--changelog.d/15805.doc1
-rw-r--r--docs/admin_api/rooms.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/15805.doc b/changelog.d/15805.doc
new file mode 100644
index 0000000000..446f627cfc
--- /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).
diff --git a/docs/admin_api/rooms.md b/docs/admin_api/rooms.md
index 66b29e82dc..90b06045a8 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