tools.ozone.queue.updateQueue
Update queue properties.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | queue.ozone.tools |
| Commit rev | 3n2oxkyhfaw2i |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.recommendedLabels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.recommendedPolicies.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Update queue properties.",
"errors": [
{
"description": "One or more recommended policy keys do not exist in the configured policy list",
"name": "InvalidRecommendedPolicies"
},
{
"description": "The queue configuration conflicts with an existing queue",
"name": "ConflictingQueue"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"description": "Optional description of the queue",
"type": "string"
},
"enabled": {
"description": "Enable or disable the queue",
"type": "boolean"
},
"name": {
"description": "New display name for the queue",
"type": "string"
},
"queueId": {
"description": "ID of the queue to update",
"type": "integer"
},
"recommendedLabels": {
"description": "Labels to recommend for this queue and use as fallback appeal routing mappings",
"items": {
"type": "string"
},
"type": "array"
},
"recommendedPolicies": {
"description": "Policy keys to recommend when actioning reports in this queue",
"items": {
"type": "string"
},
"type": "array"
},
"strictAccess": {
"description": "Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.",
"type": "boolean"
}
},
"required": [
"queueId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"queue": {
"ref": "tools.ozone.queue.defs#queueView",
"type": "ref"
}
},
"required": [
"queue"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.ozone.queue.updateQueue",
"lexicon": 1
}