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

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

Merged
merged 4 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading