app.didpic.admin.listRoles

lexicons.didpic.app

Schema Diff

+1 -1

From

CID
bafyreidnb6zdhvo...
Indexed At
2026-06-06 04:07 UTC
View this version

To

CID
bafyreid4gpoft4b...
Indexed At
2026-06-06 04:10 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "List all explicit role grants from actor_role. Env-pinned administrators (ADMIN_DIDS) are NOT listed here — they're discovered via identity.getSession.envAdmin.",
5 +
      "description": "List role grants.",
6 6
      "output": {
7 7
        "encoding": "application/json",
8 8
        "schema": {
9 9
          "properties": {
10 10
            "roles": {
11 11
              "items": {
12 12
                "properties": {
13 13
                  "did": {
14 14
                    "format": "did",
15 15
                    "type": "string"
16 16
                  },
17 17
                  "grantedAt": {
18 18
                    "format": "datetime",
19 19
                    "type": "string"
20 20
                  },
21 21
                  "grantedBy": {
22 22
                    "format": "did",
23 23
                    "type": "string"
24 24
                  },
25 25
                  "role": {
26 26
                    "enum": [
27 27
                      "moderator",
28 28
                      "administrator"
29 29
                    ],
30 30
                    "type": "string"
31 31
                  }
32 32
                },
33 33
                "required": [
34 34
                  "did",
35 35
                  "role",
36 36
                  "grantedAt"
37 37
                ],
38 38
                "type": "object"
39 39
              },
40 40
              "type": "array"
41 41
            }
42 42
          },
43 43
          "required": [
44 44
            "roles"
45 45
          ],
46 46
          "type": "object"
47 47
        }
48 48
      },
49 49
      "type": "query"
50 50
    }
51 51
  },
52 52
  "id": "app.didpic.admin.listRoles",
53 53
  "lexicon": 1
54 54
}

Compare Other Versions

Lexicon Garden

@