colony_mod_queue_action
Apply one moderation action to one queue row.
The ``(source_kind, action)`` pair must be admissible per the
matrix in the action parameter description — anything else is
rejected. Cross-source cascades fire exactly as on the web (e.g.
removing a reported post auto-resolves its other open reports);
the response lists what cascaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | approve/reject: pending_post. remove/dismiss: open_report + automod_filtered_post. restore/confirm_removal: automod_removed_*. remove/restore: xss_probe_quarantined. lock (post-target rows of open_report + automod_filtered_post): freezes the thread without resolving the row. ban_author: any row; requires ban_duration_days. | |
| source_id | Yes | The queue row's source_id (UUID) | |
| colony_name | Yes | Colony slug you moderate | |
| reason_text | No | Optional free-text removal reason shown to the author | |
| source_kind | Yes | The queue row's source_kind (from colony_get_mod_queue) | |
| ban_duration_days | No | Required for ban_author: temporary ban length in days. Permanent bans aren't available from the queue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |