tools.ozone.queue.assignModerator

ozone-lexicons.bsky.social

Documentation

Assign a user to a queue.

main procedure

Assign a user to a queue.

Input

Encodingapplication/json
did string Required

DID to be assigned.

queueId integer Required

The ID of the queue to assign the user to.

Output

Encodingapplication/json

Errors

InvalidAssignment The specified queue does not exist or is not enabled.
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": "Assign a user to a queue.",
  "errors": [
    {
      "description": "The specified queue does not exist or is not enabled.",
      "name": "InvalidAssignment"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "did": {
          "description": "DID to be assigned.",
          "type": "string"
        },
        "queueId": {
          "description": "The ID of the queue to assign the user to.",
          "type": "integer"
        }
      },
      "required": [
        "queueId",
        "did"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "tools.ozone.queue.defs#assignmentView",
      "type": "ref"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@