full diff

pub.chive.actor.getMyRoles

From
bafyreihe5w2id4po4txa4w4hedhvtghnmohfjt3fko5whzvt5tnt4pz3iy indexed 2026-06-18 13:14 UTC View this version
To
bafyreihe5w2id4po4txa4w4hedhvtghnmohfjt3fko5whzvt5tnt4pz3iy indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Get the authenticated user's roles and access flags",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "isAdmin": {
1616 "description": "Whether the user has admin privileges",
1717 "type": "boolean"
1818 },
1919 "isAlphaTester": {
2020 "description": "Whether the user has alpha tester access",
2121 "type": "boolean"
2222 },
2323 "isPremium": {
2424 "description": "Whether the user has premium access",
2525 "type": "boolean"
2626 },
2727 "roles": {
2828 "description": "List of role identifiers assigned to the user",
2929 "items": {
3030 "type": "string"
3131 },
3232 "type": "array"
3333 }
3434 },
3535 "required": [
3636 "roles",
3737 "isAdmin",
3838 "isAlphaTester",
3939 "isPremium"
4040 ],
4141 "type": "object"
4242 }
4343 },
4444 "parameters": {
4545 "properties": {},
4646 "type": "params"
4747 },
4848 "type": "query"
4949 }
5050 },
5151 "id": "pub.chive.actor.getMyRoles",
5252 "lexicon": 1,
5353 "revision": 1
5454}