pub.chive.actor.getMyRoles

chive.pub

{
  "id": "pub.chive.actor.getMyRoles",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "roles",
            "isAdmin",
            "isAlphaTester",
            "isPremium"
          ],
          "properties": {
            "roles": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "List of role identifiers assigned to the user"
            },
            "isAdmin": {
              "type": "boolean",
              "description": "Whether the user has admin privileges"
            },
            "isPremium": {
              "type": "boolean",
              "description": "Whether the user has premium access"
            },
            "isAlphaTester": {
              "type": "boolean",
              "description": "Whether the user has alpha tester access"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {}
      },
      "description": "Get the authenticated user's roles and access flags"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.actor.getMyRoles

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreihe5w2id4po4txa4w4hedhvtghnmohfjt3fko5whzvt5tnt4pz3iy
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.actor.getMyRoles

Lexicon Garden

@