tools.ozone.moderation.emitEvent
Take a moderation action on an actor.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.ozone.tools |
| Commit rev | 3n2oxkwttts2f |
| Indexed |
Showing version bafyreibd4dh3wmggleyqk5ccwvz6rgt3kody2ruwem5srzqr77e5lkauou. Show the latest
Procedure
procedure · POSTInput
application/json- tools.ozone.moderation.defs#modEventTakedown
- tools.ozone.moderation.defs#modEventAcknowledge
- tools.ozone.moderation.defs#modEventEscalate
- tools.ozone.moderation.defs#modEventComment
- tools.ozone.moderation.defs#modEventLabel
- tools.ozone.moderation.defs#modEventReport
- tools.ozone.moderation.defs#modEventMute
- tools.ozone.moderation.defs#modEventUnmute
- tools.ozone.moderation.defs#modEventMuteReporter
- tools.ozone.moderation.defs#modEventUnmuteReporter
- tools.ozone.moderation.defs#modEventReverseTakedown
- tools.ozone.moderation.defs#modEventResolveAppeal
- tools.ozone.moderation.defs#modEventEmail
- tools.ozone.moderation.defs#modEventDivert
- tools.ozone.moderation.defs#modEventTag
- tools.ozone.moderation.defs#accountEvent
- tools.ozone.moderation.defs#identityEvent
- tools.ozone.moderation.defs#recordEvent
- tools.ozone.moderation.defs#modEventPriorityScore
- tools.ozone.moderation.defs#ageAssuranceEvent
- tools.ozone.moderation.defs#ageAssuranceOverrideEvent
- tools.ozone.moderation.defs#ageAssurancePurgeEvent
- tools.ozone.moderation.defs#revokeAccountCredentialsEvent
- tools.ozone.moderation.defs#scheduleTakedownEvent
- tools.ozone.moderation.defs#cancelScheduledTakedownEvent
externalId
stringAn optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject.
modTool
refreportAction
refOptional report-level targeting. If provided, this event will be linked to specific reports and reporters may be notified.
subjectBlobCids
arrayOutput
application/jsonschema
refErrors
SubjectHasAction
No description in schema.
DuplicateExternalId
An event with the same external ID already exists for the subject.
#reportAction
objectTarget specific reports when emitting a moderation event
Properties
all
booleanTarget ALL reports on the subject. Excludes assigned and escalated reports.
allOwned
booleanTarget 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.
ids
arrayTarget specific report IDs
isAutomated
booleanSet true when the report activities are created by an automated process.
note
stringNote to send to reporter(s) when actioning their report
subjectTypes
arrayExpands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with `subjects`.
maxLength: 4
enum: account | record | message | conversation
subjects
arrayExpands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with `subjectTypes`.
maxLength: 100
types
arrayTarget reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
tools.ozone.moderation.emitEvents
procedureTake a moderation action on multiple subjects at once. Each subject is processed independently; failures are listed in failedEvents. Only the listed event types are supported.
-
tools.ozone.report.closeReports
procedureClose eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.
-
com.atproto.moderation.createReport
procedureSubmit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.
-
net.atchan.moderation.emitEvent
procedureLabel or take down one post through atchan's labeler. A thin layer over tools.ozone.moderation.emitEvent.
-
tools.ozone.inbox.appealActionedSubject
procedureAppeal a moderation action affecting the user's account or content.