Fix admin api documentation typo (#15805)

* Fix admin api documentation typo

Signed-off-by: Eric Wolf <eric.wolf@vier.ai>
This commit is contained in:
ew-at-vier 2023-06-20 12:45:26 +02:00 committed by GitHub
parent 887fa4b66b
commit 2301a09d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/15805.doc Normal file
View File

@ -0,0 +1 @@
Fix a typo in the [Admin API](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/index.html).

View File

@ -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 * `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. 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`. * `limit` - The maximum number of events to return. Defaults to `10`.
* `filter` - A JSON RoomEventFilter to filter returned events with. * `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 * `dir` - The direction to return events from. Either `f` for forwards or `b` for backwards. Setting