Direct Moderation
Moderators can act on specific entities or comments without a report being filed:Both hooks require the caller to be a moderator or admin of the space.
Handling Reports
When members report content, moderators receive those reports and can resolve them: One hook handles every report in a space, whatever was reported. You name only the report: the server reads what was reported (an entity, a comment or a chat message) from the report itself, andban-user bans that content’s author.
ban-user and dismiss: an entity report takes remove-entity, a comment report remove-comment, a chat message report remove-message. An action that doesn’t fit the report is refused with 400 report/invalid-actions. Every report requires a summary; ban-user requires a reason.
ban-user is space-scoped: it bans the user from this space and the child spaces they belong to, and ends their membership of those spaces’ chats. It is refused when the author is you (400 report/cannot-ban-self), and the space’s owner can’t be banned this way.
Project-wide suspension is a dashboard action — a space moderator cannot
suspend someone across the whole project.Fetching Reports
UseuseFetchModeratedReports to retrieve pending reports for a space:

