btcpayserver/BTCPayServer/wwwroot/swagger/v1/swagger.template.health.json

47 lines
1.3 KiB
JSON
Raw Normal View History

2020-04-16 15:39:08 +02:00
{
"paths": {
"/api/v1/health": {
"get": {
"tags": [
"Health"
],
"summary": "Get health status",
"description": "Check the instance health status",
2020-04-16 15:39:08 +02:00
"operationId": "Health_GetHealth",
"responses": {
"200": {
"description": "Instance is up",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApplicationHealthData"
}
}
}
2020-04-16 15:39:08 +02:00
}
},
"security": []
}
}
},
"components": {
"schemas": {
"ApplicationHealthData": {
"type": "object",
"additionalProperties": false,
"properties": {
"synchronized": {
"type": "boolean",
"description": "True if the instance is fully synchronized, according to NBXplorer"
}
}
}
}
},
2020-04-16 15:39:08 +02:00
"tags": [
{
"name": "Health"
}
]
}