tools.ozone.moderation.emitEvent
#main
Take a moderation action on an actor.
Input
- Encoding: application/json
Output
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| ref | tools.ozone.moderation.defs#modEventView | - | ✅ | - |
#reportAction
Target specific reports when emitting a moderation event
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| ids | array of integer | - | ❌ | Target specific report IDs |
| types | array of string | - | ❌ | Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports. |
| all | boolean | - | ❌ | Target ALL reports on the subject. Excludes assigned and escalated reports. |
| allOwned | boolean | - | ❌ | Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID. |
| subjects | array of union com.atproto.admin.defs#repoRef com.atproto.repo.strongRef | - | ❌ | Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with subjectTypes. |
| subjectTypes | array of string | - | ❌ | Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with subjects. |
| note | string | - | ❌ | Note to send to reporter(s) when actioning their report |
| isAutomated | boolean | - | ❌ | Set true when the report activities are created by an automated process. |