full diff

pub.chive.governance.listDelegations

From
bafyreietbgaa7or3dl3qizcmtsxjlvczkamok2ogplyy4weebud3yozvau indexed 2026-06-18 13:14 UTC View this version
To
bafyreietbgaa7or3dl3qizcmtsxjlvczkamok2ogplyy4weebud3yozvau 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 "delegation": {
55 "description": "PDS delegation record",
66 "properties": {
77 "active": {
88 "description": "Whether the delegation is currently active",
99 "type": "boolean"
1010 },
1111 "collections": {
1212 "description": "NSID collections the delegation covers",
1313 "items": {
1414 "type": "string"
1515 },
1616 "type": "array"
1717 },
1818 "delegateDid": {
1919 "description": "DID of the delegate",
2020 "format": "did",
2121 "type": "string"
2222 },
2323 "displayName": {
2424 "description": "Delegate display name",
2525 "type": "string"
2626 },
2727 "expiresAt": {
2828 "description": "Expiration timestamp",
2929 "type": "integer"
3030 },
3131 "grantedAt": {
3232 "description": "Timestamp when delegation was granted",
3333 "type": "integer"
3434 },
3535 "grantedBy": {
3636 "description": "DID of admin who granted the delegation",
3737 "format": "did",
3838 "type": "string"
3939 },
4040 "handle": {
4141 "description": "Delegate handle",
4242 "type": "string"
4343 },
4444 "id": {
4545 "description": "Delegation identifier",
4646 "type": "string"
4747 },
4848 "maxRecordsPerDay": {
4949 "description": "Maximum records delegate can create per day",
5050 "minimum": 0,
5151 "type": "integer"
5252 },
5353 "recordsCreatedToday": {
5454 "description": "Records created today under this delegation",
5555 "minimum": 0,
5656 "type": "integer"
5757 }
5858 },
5959 "required": [
6060 "id",
6161 "delegateDid",
6262 "collections",
6363 "expiresAt",
6464 "maxRecordsPerDay",
6565 "recordsCreatedToday",
6666 "grantedAt",
6767 "grantedBy",
6868 "active"
6969 ],
7070 "type": "object"
7171 },
7272 "main": {
7373 "description": "List active PDS delegations. Only accessible by administrators.",
7474 "errors": [
7575 {
7676 "name": "AuthenticationRequired"
7777 },
7878 {
7979 "name": "Unauthorized"
8080 }
8181 ],
8282 "output": {
8383 "encoding": "application/json",
8484 "schema": {
8585 "properties": {
8686 "cursor": {
8787 "description": "Cursor for next page",
8888 "type": "string"
8989 },
9090 "delegations": {
9191 "description": "List of delegations",
9292 "items": {
9393 "ref": "#delegation",
9494 "type": "ref"
9595 },
9696 "type": "array"
9797 },
9898 "total": {
9999 "description": "Total number of delegations",
100100 "type": "integer"
101101 }
102102 },
103103 "required": [
104104 "delegations",
105105 "total"
106106 ],
107107 "type": "object"
108108 }
109109 },
110110 "parameters": {
111111 "properties": {
112112 "cursor": {
113113 "description": "Pagination cursor for next page",
114114 "type": "string"
115115 },
116116 "limit": {
117117 "default": 20,
118118 "description": "Maximum number of results to return",
119119 "maximum": 100,
120120 "minimum": 1,
121121 "type": "integer"
122122 }
123123 },
124124 "type": "params"
125125 },
126126 "type": "query"
127127 }
128128 },
129129 "id": "pub.chive.governance.listDelegations",
130130 "lexicon": 1,
131131 "revision": 1
132132}