tools.ozone.inbox.defs
#subjectView
A subject belonging to the viewer that has moderation actions against it.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| src | string (did) | - | ✅ | DID of the moderation service that took the actions. |
| subject | union of com.atproto.admin.defs#repoRef com.atproto.repo.strongRef | - | ✅ | - |
| enforcement | #enforcementView | - | ✅ | - |
| appeal | #appealView | - | ❌ | - |
| availableActions | array of string | - | ❌ | - |
| latestAction | #actionView | - | ❌ | - |
| actionCount | integer | - | ❌ | - |
| createdAt | string (datetime) | - | ✅ | - |
| updatedAt | string (datetime) | - | ✅ | - |
#enforcementView
The current enforcement state of a subject.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| state | string | none labeled removed suspended takendown | ✅ | - |
| scope | string | network app labelOnly | ❌ | - |
| expiresAt | string (datetime) | - | ❌ | - |
| labels | array 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.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| state | string | none pending resolved superseded expired | ✅ | - |
| appealedAt | string (datetime) | - | ❌ | - |
| resolvedAt | string (datetime) | - | ❌ | When the appeal's report was closed. |
| note | string | - | ❌ | Moderator explanation, from the publicNote on the closing activity. Absent if none was written. |
| appealableUntil | string (datetime) | - | ❌ | - |
#actionView
A single moderation action taken against a subject.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| id | integer | - | ✅ | Action ID (moderation event ID). |
| type | string | - | ✅ | Public action type. |
| scope | string | network app labelOnly | ❌ | - |
| createdAt | string (datetime) | - | ✅ | - |
| reversedAt | string (datetime) | - | ❌ | - |
| expiresAt | string (datetime) | - | ❌ | - |
| labels | array of string | - | ❌ | Label values, for labelApplied/labelRemoved. |
| policies | array of string | - | ❌ | Policies that were applied in this action. |