tools.ozone.moderation.emitEvent
POST/xrpc/tools.ozone.moderation.emitEvent
This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user's PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Take a moderation action on an actor.
Request
- application/json
Body
required
- 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.modEventTag
- com.atproto.moderation.defs.reasonSpam
- com.atproto.moderation.defs.reasonViolation
- com.atproto.moderation.defs.reasonMisleading
- com.atproto.moderation.defs.reasonSexual
- com.atproto.moderation.defs.reasonRude
- com.atproto.moderation.defs.reasonOther
- com.atproto.moderation.defs.reasonAppeal
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
event
object
required
oneOf
If true, all other reports on content authored by this account will be resolved (acknowledged).
Make the comment persistent on the subject
Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject.
reportType
object
required
oneOf
string
string
string
string
string
string
string
Describe reasoning behind the reversal.
Describe reasoning behind the reversal.
Describe reasoning behind the reversal.
Describe resolution.
The subject line of the email sent to the user.
The content of the email sent to the user.
Additional comment about the outgoing comm.
Additional comment about added/removed tags.
subject
object
required
oneOf
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
- tools.ozone.moderation.defs.modEventTakedown
- tools.ozone.moderation.defs.modEventReverseTakedown
- tools.ozone.moderation.defs.modEventComment
- tools.ozone.moderation.defs.modEventReport
- tools.ozone.moderation.defs.modEventLabel
- tools.ozone.moderation.defs.modEventAcknowledge
- tools.ozone.moderation.defs.modEventEscalate
- tools.ozone.moderation.defs.modEventMute
- tools.ozone.moderation.defs.modEventUnmute
- tools.ozone.moderation.defs.modEventMuteReporter
- tools.ozone.moderation.defs.modEventUnmuteReporter
- tools.ozone.moderation.defs.modEventEmail
- tools.ozone.moderation.defs.modEventResolveAppeal
- tools.ozone.moderation.defs.modEventDivert
- tools.ozone.moderation.defs.modEventTag
- com.atproto.moderation.defs.reasonSpam
- com.atproto.moderation.defs.reasonViolation
- com.atproto.moderation.defs.reasonMisleading
- com.atproto.moderation.defs.reasonSexual
- com.atproto.moderation.defs.reasonRude
- com.atproto.moderation.defs.reasonOther
- com.atproto.moderation.defs.reasonAppeal
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
- chat.bsky.convo.defs.messageRef
event
object
required
oneOf
If true, all other reports on content authored by this account will be resolved (acknowledged).
Describe reasoning behind the reversal.
Make the comment persistent on the subject
Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject.
reportType
object
required
oneOf
string
string
string
string
string
string
string
Describe reasoning behind the reversal.
Describe reasoning behind the reversal.
The subject line of the email sent to the user.
The content of the email sent to the user.
Additional comment about the outgoing comm.
Describe resolution.
Additional comment about added/removed tags.
subject
object
required
oneOf
{
"id": 0,
"event": {},
"subject": {},
"subjectBlobCids": [
"string"
],
"createdBy": "string",
"createdAt": "2024-11-07T00:27:32.130Z",
"creatorHandle": "string",
"subjectHandle": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, SubjectHasAction
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}