tools.ozone.set.query Sets
GET {{baseUrl}}/xrpc/tools.ozone.set.querySets?limit=50&cursor=<string>&namePrefix=<string>&sortBy=name&sortDirection=asc
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 Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | ||
cursor | string | ||
namePrefix | string | ||
sortBy | string | ||
sortDirection | string | Defaults to ascending order of name field. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"sets":[{"name":"\u003cstring\u003e","setSize":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","description":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","setSize":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","description":"\u003cstring\u003e"}],"cursor":"\u003cstring\u003e"}