tools.ozone.set.querySets
GET/xrpc/tools.ozone.set.querySets
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.
Query available sets
Request
Query Parameters
Possible values: >= 1
and <= 100
Default value: 50
Default value: name
Default value: asc
Defaults to ascending order of name field.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
sets
object[]
required
Possible values: >= 3 characters
and <= 128 characters
Possible values: <= 10240 characters
{
"sets": [
{
"name": "string",
"description": "string",
"setSize": 0,
"createdAt": "2024-11-07T00:27:32.179Z",
"updatedAt": "2024-11-07T00:27:32.179Z"
}
],
"cursor": "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"
}