2024-10-09 18:05:15 +10:00
|
|
|
{
|
|
|
|
|
"type": "object",
|
|
|
|
|
"description": "Health object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": ["status", "version"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"status": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "Healthy",
|
|
|
|
|
"example": "OK"
|
|
|
|
|
},
|
2025-09-10 19:11:35 +10:00
|
|
|
"setup": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"description": "Whether the initial setup has been completed",
|
|
|
|
|
"example": true
|
|
|
|
|
},
|
2024-10-09 18:05:15 +10:00
|
|
|
"version": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"description": "The version object",
|
|
|
|
|
"example": {
|
|
|
|
|
"major": 2,
|
|
|
|
|
"minor": 0,
|
|
|
|
|
"revision": 0
|
|
|
|
|
},
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": ["major", "minor", "revision"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"major": {
|
|
|
|
|
"type": "integer",
|
2025-10-29 20:15:00 +10:00
|
|
|
"minimum": 0,
|
|
|
|
|
"example": 2
|
2024-10-09 18:05:15 +10:00
|
|
|
},
|
|
|
|
|
"minor": {
|
|
|
|
|
"type": "integer",
|
2025-10-29 20:15:00 +10:00
|
|
|
"minimum": 0,
|
|
|
|
|
"example": 10
|
2024-10-09 18:05:15 +10:00
|
|
|
},
|
|
|
|
|
"revision": {
|
|
|
|
|
"type": "integer",
|
2025-10-29 20:15:00 +10:00
|
|
|
"minimum": 0,
|
|
|
|
|
"example": 1
|
2024-10-09 18:05:15 +10:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|