full diff

pub.chive.admin.getSystemHealth

From
bafyreidocdi26yebucf7chuepxlskotca2bs3tfu5acz2k52qpmzbwfsyu indexed 2026-06-18 13:14 UTC View this version
To
bafyreidocdi26yebucf7chuepxlskotca2bs3tfu5acz2k52qpmzbwfsyu 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 "databaseHealth": {
55 "description": "Health status of a single database connection",
66 "properties": {
77 "error": {
88 "description": "Error message if unhealthy",
99 "type": "string"
1010 },
1111 "healthy": {
1212 "description": "Whether the database is reachable",
1313 "type": "boolean"
1414 },
1515 "latencyMs": {
1616 "description": "Connection latency in milliseconds",
1717 "type": "integer"
1818 },
1919 "name": {
2020 "description": "Database name",
2121 "type": "string"
2222 }
2323 },
2424 "required": [
2525 "name",
2626 "healthy"
2727 ],
2828 "type": "object"
2929 },
3030 "main": {
3131 "description": "Get health status of all database connections",
3232 "errors": [
3333 {
3434 "name": "AuthenticationRequired"
3535 },
3636 {
3737 "name": "AdminRequired"
3838 }
3939 ],
4040 "output": {
4141 "encoding": "application/json",
4242 "schema": {
4343 "properties": {
4444 "databases": {
4545 "description": "Health status for each database connection",
4646 "items": {
4747 "ref": "#databaseHealth",
4848 "type": "ref"
4949 },
5050 "type": "array"
5151 },
5252 "status": {
5353 "description": "Overall system health status",
5454 "knownValues": [
5555 "healthy",
5656 "degraded",
5757 "unhealthy"
5858 ],
5959 "type": "string"
6060 },
6161 "timestamp": {
6262 "description": "Timestamp of the health check",
6363 "format": "datetime",
6464 "type": "string"
6565 },
6666 "uptime": {
6767 "description": "Server uptime in seconds",
6868 "type": "integer"
6969 }
7070 },
7171 "required": [
7272 "status",
7373 "databases",
7474 "uptime",
7575 "timestamp"
7676 ],
7777 "type": "object"
7878 }
7979 },
8080 "parameters": {
8181 "properties": {},
8282 "type": "params"
8383 },
8484 "type": "query"
8585 }
8686 },
8787 "id": "pub.chive.admin.getSystemHealth",
8888 "lexicon": 1,
8989 "revision": 1
9090}