Improve documentation for /_synapse/admin/v1/rooms/<room_id>/timestamp_to_event (#16631)

This commit is contained in:
Will Hunt 2023-11-14 16:43:44 +00:00 committed by GitHub
parent 0e36a57b60
commit 4dd18bdc2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

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

@ -0,0 +1 @@
Update parameter information for the `/timestamp_to_event` admin API.

View File

@ -536,7 +536,8 @@ The following query parameters are available:
**Response**
* `event_id` - converted from timestamp
* `event_id` - The event ID closest to the given timestamp.
* `origin_server_ts` - The timestamp of the event in milliseconds since the Unix epoch.
# Block Room API
The Block Room admin API allows server admins to block and unblock rooms,