Skip to main content

tools.ozone.inbox.defs

#subjectView​

A subject belonging to the viewer that has moderation actions against it.

PropertyTypeKnown ValuesRequiredDescription
srcstring (did)-✅DID of the moderation service that took the actions.
subjectunion of
com.atproto.admin.defs#repoRef
com.atproto.repo.strongRef
-✅-
enforcement#enforcementView-✅-
appeal#appealView-❌-
availableActionsarray of string-❌-
latestAction#actionView-❌-
actionCountinteger-❌-
createdAtstring (datetime)-✅-
updatedAtstring (datetime)-✅-

#enforcementView​

The current enforcement state of a subject.

PropertyTypeKnown ValuesRequiredDescription
statestringnone
labeled
removed
suspended
takendown
✅-
scopestringnetwork
app
labelOnly
❌-
expiresAtstring (datetime)-❌-
labelsarray of string-❌Active label values on the subject, excluding negated and expired labels.

#appealView​

The state of the viewer's appeal against the actions on a subject.

PropertyTypeKnown ValuesRequiredDescription
statestringnone
pending
resolved
superseded
expired
✅-
appealedAtstring (datetime)-❌-
resolvedAtstring (datetime)-❌When the appeal's report was closed.
notestring-❌Moderator explanation, from the publicNote on the closing activity. Absent if none was written.
appealableUntilstring (datetime)-❌-

#actionView​

A single moderation action taken against a subject.

PropertyTypeKnown ValuesRequiredDescription
idinteger-✅Action ID (moderation event ID).
typestring-✅Public action type.
scopestringnetwork
app
labelOnly
❌-
createdAtstring (datetime)-✅-
reversedAtstring (datetime)-❌-
expiresAtstring (datetime)-❌-
labelsarray of string-❌Label values, for labelApplied/labelRemoved.
policiesarray of string-❌Policies that were applied in this action.