3.4 KiB
Room Commands
- List details of a room.
Shows comprehensive information about a specific room.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-details-api
- List the members of a room.
Displays all the members who are part of a particular room.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-members-api
- Export the state events of a room.
Retrieves and saves the state events (such as topic changes, member joins) of a specific room.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-state-api
- Export the state events of multiple rooms.
Gathers and saves the state events from several rooms simultaneously.
- List rooms in public directory.
Displays all the rooms that are publicly available and listed in the directory.
https://spec.matrix.org/legacy/client_server/r0.6.0.html#get-matrix-client-r0-publicrooms
- Remove a room from the public directory.
Takes a specific room off the public directory, making it less accessible to users browsing the directory.
- Remove multiple rooms from the public directory.
Removes several rooms from the public directory at once.
- Redact a room event.
Conceals specific events in a room, such as messages or media, from being visible.
- List/Download all media in a room.
Displays and offers the option to download all media files shared in a specific room.
https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room
- Download media from multiple rooms.
Enables downloading of media files shared across several rooms.
- Quarantine all media in a room.
Isolates and restricts access to all media files in a specific room, usually due to concerns over inappropriate content.
- Shutdown a room.
Terminates a room, preventing further activities or messages in it.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#version-2-new-version
- Shutdown multiple rooms.
Closes several rooms simultaneously, halting any ongoing activity in them.
- Delete a room.
Permanently removes a room and all its content.
- Delete multiple rooms.
Erases several rooms and their content from the server at once.
- Purge the event history of a room to a specific timestamp.
Deletes all events in a room up to a certain point in time, preserving events after that timestamp.
- Purge the event history of multiple rooms to a specific timestamp.
Clears the events in several rooms up to a specified timestamp.
- Get blocked status for room.
Checks if a room is blocked and restricted from user access.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#get-block-status
- Block a room.
Restricts access to a room, preventing users from joining or interacting in it.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#block-or-unblock-a-room
- Unblock a room.
Restores access to a previously blocked room, allowing users to join and participate once more.
Note: Managing rooms is a sensitive operation, especially when dealing with content and user privacy. Ensure you have the required permissions and handle operations with care.