tools.ozone.moderation.emitEvents

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

Details · procedure
Kindprocedure
Authoritymoderation.ozone.tools
Commit rev3n2oxkx5s7z2n
Indexed

Procedure

procedure · POST

Output

application/json

events

requiredarray

Successfully processed moderation events.

failedEvents

requiredarray

Events that failed to process.

itemsref
Reference

Errors

InvalidLabel

One or more labels contain invalid characters.

DuplicateSubjects

The subjects array contains duplicate entries.

EmptySubjects

The subjects array is empty.

UnsupportedEvent

The event type is not supported by this bulk endpoint.

#failedEvent

object

An event that failed to process.

Properties

error

requiredstring

Error message describing the reason for failure.

errorName

string

Typed error identifier for programmatic handling. Omitted when the error is unexpected/uncategorized.

  • knownValues: InvalidSubject | SubjectHasAction | AlreadyTakendown | NotTakendown | DuplicateExternalId | InvalidConfiguration | InvalidRequest

subject

requiredunion

The subject from the failed event input.

#subjectEntry

object

A subject with optional blob CIDs, external event ID, and report-level targeting. Report targeting applies only to this entry.

Properties

Deduplicate events of this type for this subject using an external ID.

Optional report-level targeting for this subject. Links the event to matching reports and may notify reporters.

itemsstring · cid

Similar lexicons

semantic match

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