tools.ozone.set.upsertSet
POST/xrpc/tools.ozone.set.upsertSet
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.
Create or update set metadata
Request
- application/json
Body
required
Possible values: >= 3 characters
and <= 128 characters
Possible values: <= 10240 characters
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 3 characters
and <= 128 characters
Possible values: <= 10240 characters
{
"name": "string",
"description": "string",
"setSize": 0,
"createdAt": "2024-11-07T00:27:32.180Z",
"updatedAt": "2024-11-07T00:27:32.180Z"
}
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"
}