mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
22e39998e2
Thanks @kukks!
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"paths": {
|
|
"/api/v1/health": {
|
|
"get": {
|
|
"tags": [
|
|
"Health"
|
|
],
|
|
"summary": "Get health status",
|
|
"description": "Check the instance health status",
|
|
"operationId": "Health_GetHealth",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Instance is up",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ApplicationHealthData"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"ApplicationHealthData": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"synchronized": {
|
|
"type": "boolean",
|
|
"description": "True if the instance is fully synchronized, according to NBXplorer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "Health"
|
|
}
|
|
]
|
|
}
|