Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Improve documentation for `/_synapse/admin/v1/rooms/<room_id>/timesta…
Browse files Browse the repository at this point in the history
…mp_to_event` (#16631)
  • Loading branch information
Half-Shot authored Nov 14, 2023
1 parent 0e36a57 commit 4dd18bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/16631.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update parameter information for the `/timestamp_to_event` admin API.
3 changes: 2 additions & 1 deletion docs/admin_api/rooms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4dd18bd

Please sign in to comment.