toolsOzoneQueueListQueues top-level constant

Map<String, dynamic> const toolsOzoneQueueListQueues

tools.ozone.queue.listQueues

Implementation

const toolsOzoneQueueListQueues = <String, dynamic>{
  "lexicon": 1,
  "id": "tools.ozone.queue.listQueues",
  "defs": {
    "main": {
      "type": "query",
      "description": "List all configured moderation queues with statistics.",
      "parameters": {
        "type": "params",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description":
                "Filter by enabled status. If not specified, returns all queues.",
          },
          "subjectType": {
            "type": "string",
            "description":
                "Filter queues that handle this subject type ('account' or 'record').",
          },
          "collection": {
            "type": "string",
            "description":
                "Filter queues by collection name (e.g. 'app.bsky.feed.post').",
          },
          "reportTypes": {
            "type": "array",
            "description":
                "Filter queues that handle any of these report reason types.",
            "items": {"type": "string"},
            "maxLength": 10,
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "minimum": 1,
            "maximum": 100,
          },
          "cursor": {"type": "string"},
        },
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["queues"],
          "properties": {
            "cursor": {"type": "string"},
            "queues": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "tools.ozone.queue.defs#queueView",
              },
            },
          },
        },
      },
    },
  },
};