matrix-moderation-tool/docs/room_functions.md

103 lines
3.4 KiB
Markdown
Raw Permalink Normal View History

2023-08-18 06:44:05 -04:00
2023-08-18 06:17:19 -04:00
#### Room Commands ####
50) **List details of a room.**
2023-08-18 08:48:46 -04:00
> Shows comprehensive information about a specific room.
https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-details-api
2023-08-18 06:17:19 -04:00
51) **List the members of a room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
52) **Export the state events of a room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
53) **Export the state events of multiple rooms.**
2023-08-18 08:48:46 -04:00
> Gathers and saves the state events from several rooms simultaneously.
2023-08-18 06:17:19 -04:00
54) **List rooms in public directory.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
55) **Remove a room from the public directory.**
2023-08-18 08:48:46 -04:00
> Takes a specific room off the public directory, making it less accessible to users browsing the directory.
2023-08-18 06:17:19 -04:00
56) **Remove multiple rooms from the public directory.**
2023-08-18 08:48:46 -04:00
> Removes several rooms from the public directory at once.
2023-08-18 06:17:19 -04:00
57) **Redact a room event.**
2023-08-18 08:48:46 -04:00
> Conceals specific events in a room, such as messages or media, from being visible.
2023-08-18 06:17:19 -04:00
58) **List/Download all media in a room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
59) **Download media from multiple rooms.**
2023-08-18 08:48:46 -04:00
> Enables downloading of media files shared across several rooms.
2023-08-18 06:17:19 -04:00
60) **Quarantine all media in a room.**
2023-08-18 08:48:46 -04:00
> Isolates and restricts access to all media files in a specific room, usually due to concerns over inappropriate content.
https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#quarantining-media-in-a-room
2023-08-18 06:17:19 -04:00
61) **Shutdown a room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
62) **Shutdown multiple rooms.**
2023-08-18 08:48:46 -04:00
> Closes several rooms simultaneously, halting any ongoing activity in them.
2023-08-18 06:17:19 -04:00
63) **Delete a room.**
2023-08-18 08:48:46 -04:00
> Permanently removes a room and all its content.
2023-08-18 06:17:19 -04:00
64) **Delete multiple rooms.**
2023-08-18 08:48:46 -04:00
> Erases several rooms and their content from the server at once.
2023-08-18 06:17:19 -04:00
65) **Purge the event history of a room to a specific timestamp.**
2023-08-18 08:48:46 -04:00
> Deletes all events in a room up to a certain point in time, preserving events after that timestamp.
2023-08-18 06:17:19 -04:00
66) **Purge the event history of multiple rooms to a specific timestamp.**
2023-08-18 08:48:46 -04:00
> Clears the events in several rooms up to a specified timestamp.
2023-08-18 06:17:19 -04:00
67) **Get blocked status for room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
68) **Block a room.**
2023-08-18 08:48:46 -04:00
> 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
2023-08-18 06:17:19 -04:00
69) **Unblock a room.**
2023-08-18 08:48:46 -04:00
> 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.