tools.ozone.queue.routeReports

ozone-lexicons.bsky.social

Documentation

Route reports within an ID range to matching queues based.

main procedure

Route reports within an ID range to matching queues based.

Input

Encodingapplication/json
endReportId integer Required

End of report ID range (inclusive). Difference between start and end must be less than 5,000.

startReportId integer Required

Start of report ID range (inclusive).

Output

Encodingapplication/json
assigned integer Required

The number of reports assigned to a queue.

unmatched integer Required

The number of reports with no matching queue.

Errors

OutOfRange The request is invalid, such as missing required fields or invalid field values.
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": "Route reports within an ID range to matching queues based.",
  "errors": [
    {
      "description": "The request is invalid, such as missing required fields or invalid field values.",
      "name": "OutOfRange"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "endReportId": {
          "description": "End of report ID range (inclusive). Difference between start and end must be less than 5,000.",
          "type": "integer"
        },
        "startReportId": {
          "description": "Start of report ID range (inclusive).",
          "type": "integer"
        }
      },
      "required": [
        "startReportId",
        "endReportId"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "assigned": {
          "description": "The number of reports assigned to a queue.",
          "type": "integer"
        },
        "unmatched": {
          "description": "The number of reports with no matching queue.",
          "type": "integer"
        }
      },
      "required": [
        "assigned",
        "unmatched"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@