full diff

pub.chive.admin.listPDSes

From
bafyreifpbcizseyr6b7enxoceyj5qaxmq5zrjchqhriemeedvphfwkevqq indexed 2026-06-18 13:14 UTC View this version
To
bafyreifpbcizseyr6b7enxoceyj5qaxmq5zrjchqhriemeedvphfwkevqq 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": "List known PDSes and their statistics",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "AdminRequired"
1212 }
1313 ],
1414 "output": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "stats": {
1919 "description": "PDS statistics",
2020 "ref": "#pdsStats",
2121 "type": "ref"
2222 }
2323 },
2424 "type": "object"
2525 }
2626 },
2727 "parameters": {
2828 "properties": {
2929 "limit": {
3030 "default": 50,
3131 "description": "Maximum number of results",
3232 "maximum": 100,
3333 "minimum": 1,
3434 "type": "integer"
3535 }
3636 },
3737 "type": "params"
3838 },
3939 "type": "query"
4040 },
4141 "pdsInfo": {
4242 "description": "Information about a single PDS",
4343 "properties": {
4444 "consecutiveErrors": {
4545 "description": "Consecutive error count",
4646 "type": "integer"
4747 },
4848 "errorCount": {
4949 "description": "Total errors encountered",
5050 "type": "integer"
5151 },
5252 "lastScan": {
5353 "description": "Last scan timestamp",
5454 "format": "datetime",
5555 "type": "string"
5656 },
5757 "recordCount": {
5858 "description": "Number of indexed records",
5959 "type": "integer"
6060 },
6161 "status": {
6262 "description": "Health status",
6363 "knownValues": [
6464 "healthy",
6565 "unhealthy",
6666 "unknown"
6767 ],
6868 "type": "string"
6969 },
7070 "url": {
7171 "description": "PDS URL",
7272 "type": "string"
7373 }
7474 },
7575 "required": [
7676 "url",
7777 "status"
7878 ],
7979 "type": "object"
8080 },
8181 "pdsStats": {
8282 "description": "PDS registry statistics",
8383 "properties": {
8484 "healthy": {
8585 "description": "Number of healthy PDSes",
8686 "type": "integer"
8787 },
8888 "items": {
8989 "description": "Individual PDS entries",
9090 "items": {
9191 "ref": "#pdsInfo",
9292 "type": "ref"
9393 },
9494 "type": "array"
9595 },
9696 "total": {
9797 "description": "Total known PDSes",
9898 "type": "integer"
9999 },
100100 "unhealthy": {
101101 "description": "Number of unhealthy PDSes",
102102 "type": "integer"
103103 },
104104 "withRecords": {
105105 "description": "PDSes with indexed records",
106106 "type": "integer"
107107 }
108108 },
109109 "required": [
110110 "total",
111111 "items"
112112 ],
113113 "type": "object"
114114 }
115115 },
116116 "id": "pub.chive.admin.listPDSes",
117117 "lexicon": 1,
118118 "revision": 1
119119}