tools.ozone.moderation.getRepo
GET/xrpc/tools.ozone.moderation.getRepo
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 repository.
Request
Query Parameters
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
Array [
]
Array [
]
Array [
Array [
]
]
Array [
]
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.
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.
invitedBy
object
uses
object[]
required
invites
object[]
uses
object[]
required
threatSignatures
object[]
{
"did": "string",
"handle": "string",
"email": "string",
"relatedRecords": [
null
],
"indexedAt": "2024-11-07T00:27:32.159Z",
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-07T00:27:32.159Z",
"createdAt": "2024-11-07T00:27:32.159Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-07T00:27:32.159Z",
"muteReportingUntil": "2024-11-07T00:27:32.159Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-07T00:27:32.159Z",
"lastReportedAt": "2024-11-07T00:27:32.159Z",
"lastAppealedAt": "2024-11-07T00:27:32.159Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-07T00:27:32.159Z",
"tags": [
"string"
]
}
},
"labels": [
{
"ver": 0,
"src": "string",
"uri": "string",
"cid": "string",
"val": "string",
"neg": true,
"cts": "2024-11-07T00:27:32.160Z",
"exp": "2024-11-07T00:27:32.160Z",
"sig": "string"
}
],
"invitedBy": {
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-11-07T00:27:32.160Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-11-07T00:27:32.160Z"
}
]
},
"invites": [
{
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-11-07T00:27:32.160Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-11-07T00:27:32.160Z"
}
]
}
],
"invitesDisabled": true,
"inviteNote": "string",
"emailConfirmedAt": "2024-11-07T00:27:32.160Z",
"deactivatedAt": "2024-11-07T00:27:32.160Z",
"threatSignatures": [
{
"property": "string",
"value": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RepoNotFound
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}