tools.ozone.moderation.emitEvent

Take a moderation action on an actor.

Details · procedure
Kindprocedure
Authoritymoderation.ozone.tools
Indexed

Procedure

procedure · POST

Input

application/json

createdBy

requiredstring · did

An 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.

Optional report-level targeting. If provided, this event will be linked to specific reports and reporters may be notified.

Reference
itemsstring · cid

Output

application/json

Errors

SubjectHasAction

No description in schema.

DuplicateExternalId

An event with the same external ID already exists for the subject.

#reportAction

object

Target specific reports when emitting a moderation event

Properties

all

boolean

Target ALL reports on the subject

ids

array

Target specific report IDs

itemsinteger

note

string

Note to send to reporter(s) when actioning their report

types

array

Target reports matching these report types on the subject (fully qualified NSIDs)

itemsstring

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.