tools.ozone.moderation.searchRepos
GET/xrpc/tools.ozone.moderation.searchRepos
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.
Find repositories based on a search term.
Request
Query Parameters
Possible values: >= 1
and <= 100
Default value: 50
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- com.atproto.admin.defs.repoRef
- com.atproto.repo.strongRef
Array [
]
Array [
]
]
repos
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[]
{
"cursor": "string",
"repos": [
{
"did": "string",
"handle": "string",
"email": "string",
"relatedRecords": [
null
],
"indexedAt": "2024-11-07T00:27:32.172Z",
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-11-07T00:27:32.172Z",
"createdAt": "2024-11-07T00:27:32.172Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-11-07T00:27:32.172Z",
"muteReportingUntil": "2024-11-07T00:27:32.172Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-11-07T00:27:32.172Z",
"lastReportedAt": "2024-11-07T00:27:32.172Z",
"lastAppealedAt": "2024-11-07T00:27:32.172Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-11-07T00:27:32.172Z",
"tags": [
"string"
]
}
},
"invitedBy": {
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-11-07T00:27:32.172Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-11-07T00:27:32.172Z"
}
]
},
"invitesDisabled": true,
"inviteNote": "string",
"deactivatedAt": "2024-11-07T00:27:32.172Z",
"threatSignatures": [
{
"property": "string",
"value": "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"
}