Skip to main content

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

Body

required

    event

    object

    required

    oneOf

    comment string
    durationInHours integer
    acknowledgeAccountSubjects boolean

    If true, all other reports on content authored by this account will be resolved (acknowledged).

    subject

    object

    required

    oneOf

    did didrequired
    subjectBlobCids cid[]
    createdBy didrequired

Responses

OK

Schema

    id integerrequired

    event

    object

    required

    oneOf

    comment string
    durationInHours integer
    acknowledgeAccountSubjects boolean

    If true, all other reports on content authored by this account will be resolved (acknowledged).

    subject

    object

    required

    oneOf

    did didrequired
    subjectBlobCids string[]required
    createdBy didrequired
    createdAt date-timerequired
    creatorHandle string
    subjectHandle string
Loading...