tools.ozone.moderation.getRecord
GET/xrpc/tools.ozone.moderation.getRecord
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.
Get details about a record.
Request
Query Parameters
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- tools.ozone.moderation.defs.imageDetails
- tools.ozone.moderation.defs.videoDetails
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
]
Array [
]
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
Array [
]
Array [
]
blobs
object[]
required
details
object
oneOf
moderation
object
subjectStatus
object
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.
labels
object[]
DID of the actor who created this label.
AT URI of the record, repository (account), or other resource that this label applies to.
Optionally, CID specifying the specific version of 'uri' resource this label applies to.
Possible values: <= 128 characters
The short string name of the value or type of this label.
If true, this is a negation label, overwriting a previous label.
Timestamp when this label was created.
Timestamp at which this label expires (no longer applies).
Signature of dag-cbor encoded label.
moderation
object
required
subjectStatus
object
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.
repo
object
required
moderation
object
required
subjectStatus
object
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.
invitedBy
object
uses
object[]
required
threatSignatures
object[]
{
"uri": "string",
"cid": "string",
"value": {},
"blobs": [
{
"cid": "string",
"mimeType": "string",
"size": 0,
"createdAt": "2024-11-04T00:29:30.284Z",
"details": {},
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-04T00:29:30.284Z",
"createdAt": "2024-11-04T00:29:30.284Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-04T00:29:30.284Z",
"muteReportingUntil": "2024-11-04T00:29:30.284Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-04T00:29:30.284Z",
"lastReportedAt": "2024-11-04T00:29:30.284Z",
"lastAppealedAt": "2024-11-04T00:29:30.284Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-04T00:29:30.284Z",
"tags": [
"string"
]
}
}
}
],
"labels": [
{
"ver": 0,
"src": "string",
"uri": "string",
"cid": "string",
"val": "string",
"neg": true,
"cts": "2024-11-04T00:29:30.284Z",
"exp": "2024-11-04T00:29:30.284Z",
"sig": "string"
}
],
"indexedAt": "2024-11-04T00:29:30.284Z",
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-04T00:29:30.284Z",
"createdAt": "2024-11-04T00:29:30.284Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-04T00:29:30.284Z",
"muteReportingUntil": "2024-11-04T00:29:30.284Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-04T00:29:30.284Z",
"lastReportedAt": "2024-11-04T00:29:30.284Z",
"lastAppealedAt": "2024-11-04T00:29:30.284Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-04T00:29:30.284Z",
"tags": [
"string"
]
}
},
"repo": {
"did": "string",
"handle": "string",
"email": "string",
"relatedRecords": [
null
],
"indexedAt": "2024-11-04T00:29:30.284Z",
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-04T00:29:30.284Z",
"createdAt": "2024-11-04T00:29:30.284Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-04T00:29:30.284Z",
"muteReportingUntil": "2024-11-04T00:29:30.284Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-04T00:29:30.284Z",
"lastReportedAt": "2024-11-04T00:29:30.284Z",
"lastAppealedAt": "2024-11-04T00:29:30.284Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-04T00:29:30.284Z",
"tags": [
"string"
]
}
},
"invitedBy": {
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-11-04T00:29:30.284Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-11-04T00:29:30.284Z"
}
]
},
"invitesDisabled": true,
"inviteNote": "string",
"deactivatedAt": "2024-11-04T00:29:30.284Z",
"threatSignatures": [
{
"property": "string",
"value": "string"
}
]
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RecordNotFound
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}