tools.ozone.report.reassignQueue

ozone-lexicons.bsky.social

Documentation

Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.

main procedure

Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.

Input

Encodingapplication/json
comment string Optional

Optional moderator-only note recorded on the resulting queueActivity as internalNote.

queueId integer Required

Target queue ID. Use -1 to unassign from any queue.

reportId integer Required

ID of the report to reassign

Output

Encodingapplication/json

Errors

ReportNotFound No report exists with the given reportId
ReportClosed The report is closed and cannot be reassigned
AlreadyInTargetQueue The report is already assigned to the target queue
QueueNotFound No active queue exists with the given queueId
QueueDisabled The target queue is disabled and cannot receive new assignments
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@