pub.chive.governance.requestElevation

chive.pub

Documentation

Request elevation to trusted editor role. The request is validated against eligibility criteria.

main procedure

Request elevation to trusted editor role. The request is validated against eligibility criteria.

Input

Encodingapplication/json
targetRole string Required

Role to request elevation to

Output

Encodingapplication/json

Errors

AuthenticationRequired
InvalidRequest
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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "targetRole"
      ],
      "properties": {
        "targetRole": {
          "type": "string",
          "description": "Role to request elevation to",
          "knownValues": [
            "trusted-editor"
          ]
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "InvalidRequest"
    }
  ],
  "output": {
    "schema": {
      "ref": "#elevationResult",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "Request elevation to trusted editor role. The request is validated against eligibility criteria."
}
elevationResult object

Result of elevation operation

Properties

message string Required

Human-readable result message

requestId string Optional

Elevation request ID (if created)

success boolean Required

Whether the operation succeeded

View raw schema
{
  "type": "object",
  "required": [
    "success",
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "description": "Human-readable result message"
    },
    "success": {
      "type": "boolean",
      "description": "Whether the operation succeeded"
    },
    "requestId": {
      "type": "string",
      "description": "Elevation request ID (if created)"
    }
  },
  "description": "Result of elevation operation"
}

Lexicon Garden

@