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