tools.ozone.moderation.queryStatuses
GET/xrpc/tools.ozone.moderation.queryStatuses
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.
View moderation statuses of subjects (record or repo).
Request
Query Parameters
All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.
The subject to get the status for.
Search subjects by keyword from comments
Search subjects reported after a given timestamp
Search subjects reported before a given timestamp
Search subjects reviewed after a given timestamp
Search subjects reviewed before a given timestamp
By default, we don't include muted subjects in the results. Set this to true to include them.
When set to true, only muted subjects and reporters will be returned.
Specify when fetching subjects in a certain state
Get all subject statuses that were reviewed by a specific moderator
Default value: lastReportedAt
Default value: desc
Get subjects that were taken down
Get subjects in unresolved appealed status
Possible values: >= 1
and <= 100
Default value: 50
Possible values: <= 20
If specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.
Possible values: [account
, record
]
If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
]
subjectStatuses
object[]
required
subject
object
required
oneOf
Timestamp referencing when the last update was made to the moderation status of the subject
Timestamp referencing the first moderation status impacting event was emitted on the subject
Possible values: [#reviewOpen
, #reviewEscalated
, #reviewClosed
, #reviewNone
]
Sticky comment on the subject.
Timestamp referencing when the author of the subject appealed a moderation action
True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators.
{
"cursor": "string",
"subjectStatuses": [
{
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-04T00:29:30.309Z",
"createdAt": "2024-11-04T00:29:30.309Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-04T00:29:30.309Z",
"muteReportingUntil": "2024-11-04T00:29:30.309Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-04T00:29:30.309Z",
"lastReportedAt": "2024-11-04T00:29:30.309Z",
"lastAppealedAt": "2024-11-04T00:29:30.309Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-04T00:29:30.309Z",
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}