tools.ozone.report.reassignQueue
Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | report.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.commentNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.",
"errors": [
{
"description": "No report exists with the given reportId",
"name": "ReportNotFound"
},
{
"description": "The report is closed and cannot be reassigned",
"name": "ReportClosed"
},
{
"description": "The report is already assigned to the target queue",
"name": "AlreadyInTargetQueue"
},
{
"description": "No active queue exists with the given queueId",
"name": "QueueNotFound"
},
{
"description": "The target queue is disabled and cannot receive new assignments",
"name": "QueueDisabled"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"comment": {
"description": "Optional moderator-only note recorded on the resulting queueActivity as internalNote.",
"type": "string"
},
"queueId": {
"description": "Target queue ID. Use -1 to unassign from any queue.",
"type": "integer"
},
"reportId": {
"description": "ID of the report to reassign",
"type": "integer"
}
},
"required": [
"reportId",
"queueId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"report": {
"ref": "tools.ozone.report.defs#reportView",
"type": "ref"
}
},
"required": [
"report"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.ozone.report.reassignQueue",
"lexicon": 1
}