full diff

app.didpic.admin.stats

From
bafyreihb6fgt3yu23bxdr62m3fn2pccf2fmmws4rxouvbxi3drpu6bj2rm indexed 2026-06-06 04:07 UTC View this version
To
bafyreiajj7zkutklplcnqeyb2kolaqvynwxevcdyn3nxqq3pg5ece2e4qu indexed 2026-06-06 04:10 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "cursorState": {
55 "properties": {
66 "ageSeconds": {
77 "minimum": 0,
88 "type": "integer"
99 },
1010 "sourceId": {
1111 "type": "string"
1212 },
1313 "updatedAt": {
1414 "format": "datetime",
1515 "type": "string"
1616 },
1717 "value": {
1818 "type": "string"
1919 }
2020 },
2121 "required": [
2222 "sourceId",
2323 "value",
2424 "updatedAt",
2525 "ageSeconds"
2626 ],
2727 "type": "object"
2828 },
2929 "main": {
30 "description": "System observability snapshot for the admin dashboard. Cursors per ingester source, queue counts (resync/scan/push), moderation queue counts.",
30 "description": "System status snapshot.",
3131 "output": {
3232 "encoding": "application/json",
3333 "schema": {
3434 "properties": {
3535 "actors": {
3636 "minimum": 0,
3737 "type": "integer"
3838 },
3939 "cursors": {
4040 "items": {
4141 "ref": "#cursorState",
4242 "type": "ref"
4343 },
4444 "type": "array"
4545 },
4646 "env": {
4747 "type": "string"
4848 },
4949 "moderation": {
5050 "properties": {
5151 "openAppeals": {
5252 "minimum": 0,
5353 "type": "integer"
5454 },
5555 "openReports": {
5656 "minimum": 0,
5757 "type": "integer"
5858 }
5959 },
6060 "required": [
6161 "openReports",
6262 "openAppeals"
6363 ],
6464 "type": "object"
6565 },
6666 "push": {
6767 "ref": "#queueStats",
6868 "type": "ref"
6969 },
7070 "resync": {
7171 "ref": "#queueStats",
7272 "type": "ref"
7373 },
7474 "scan": {
7575 "ref": "#queueStats",
7676 "type": "ref"
7777 },
7878 "service": {
7979 "type": "string"
8080 }
8181 },
8282 "required": [
8383 "service",
8484 "env",
8585 "cursors",
8686 "actors",
8787 "resync",
8888 "scan",
8989 "push",
9090 "moderation"
9191 ],
9292 "type": "object"
9393 }
9494 },
9595 "type": "query"
9696 },
9797 "queueStats": {
9898 "properties": {
9999 "failed": {
100100 "minimum": 0,
101101 "type": "integer"
102102 },
103103 "inProgress": {
104104 "minimum": 0,
105105 "type": "integer"
106106 },
107107 "pending": {
108108 "minimum": 0,
109109 "type": "integer"
110110 }
111111 },
112112 "required": [
113113 "pending",
114114 "inProgress",
115115 "failed"
116116 ],
117117 "type": "object"
118118 }
119119 },
120120 "id": "app.didpic.admin.stats",
121121 "lexicon": 1
122122}

Compare other versions