tools.ozone.report.getAssignments

ozone-lexicons.bsky.social

Documentation

Get assignments for reports.

main query

Get assignments for reports.

Parameters

cursor string Optional

No description available.

dids array of string Optional

If specified, returns assignments for these moderators only.

limit integer Optional

No description available.

onlyActive boolean Optional

When true, only returns active assignments.

reportIds array of integer Optional

If specified, returns assignments for these reports only.

Output

Encodingapplication/json
assignments array Required

No description available.

cursor string Optional

No description available.

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://api.bsky.social)
Parameters
If specified, returns assignments for these moderators only.
When true, only returns active assignments.
If specified, returns assignments for these reports only.
View raw schema
{
  "description": "Get assignments for reports.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "assignments": {
          "items": {
            "ref": "tools.ozone.report.defs#assignmentView",
            "type": "ref"
          },
          "type": "array"
        },
        "cursor": {
          "type": "string"
        }
      },
      "required": [
        "assignments"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "dids": {
        "description": "If specified, returns assignments for these moderators only.",
        "items": {
          "format": "did",
          "type": "string"
        },
        "maxLength": 50,
        "type": "array"
      },
      "limit": {
        "default": 50,
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "onlyActive": {
        "default": true,
        "description": "When true, only returns active assignments.",
        "type": "boolean"
      },
      "reportIds": {
        "description": "If specified, returns assignments for these reports only.",
        "items": {
          "type": "integer"
        },
        "maxLength": 50,
        "type": "array"
      }
    },
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@