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 [
]
]
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
{
"cursor": "string",
"repos": [
{
"did": "string",
"handle": "string",
"email": "string",
"relatedRecords": [
null
],
"indexedAt": "2024-10-08T00:27:33.386Z",
"moderation": {
"subjectStatus": {
"id": 0,
"subject": {},
"subjectBlobCids": [
"string"
],
"subjectRepoHandle": "string",
"updatedAt": "2024-10-08T00:27:33.386Z",
"createdAt": "2024-10-08T00:27:33.386Z",
"reviewState": "#reviewOpen",
"comment": "string",
"muteUntil": "2024-10-08T00:27:33.386Z",
"muteReportingUntil": "2024-10-08T00:27:33.386Z",
"lastReviewedBy": "string",
"lastReviewedAt": "2024-10-08T00:27:33.386Z",
"lastReportedAt": "2024-10-08T00:27:33.386Z",
"lastAppealedAt": "2024-10-08T00:27:33.386Z",
"takendown": true,
"appealed": true,
"suspendUntil": "2024-10-08T00:27:33.386Z",
"tags": [
"string"
]
}
},
"invitedBy": {
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-10-08T00:27:33.386Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-10-08T00:27:33.386Z"
}
]
},
"invitesDisabled": true,
"inviteNote": "string",
"deactivatedAt": "2024-10-08T00:27:33.386Z"
}
]
}
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"
}