Consultar status do serviço
GET/health
Verifica o status do serviço de autenticação e da conexão com o banco de dados.
Responses
- 200
- 503
Verificações concluídas com sucesso.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"checks": [
{
"name": "database-health-check",
"status": "ok"
},
{
"name": "insoft-auth-health-check",
"status": "ok"
},
{
"name": "repp-health-check",
"status": "ok"
}
],
"status": "ok"
}
{
"checks": [
{
"name": "database-health-check",
"status": "ok"
},
{
"name": "insoft-auth-health-check",
"status": "ok"
},
{
"name": "repp-health-check",
"status": "ok"
}
],
"status": "ok"
}
Uma ou mais verificações falharam.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"checks": [
{
"name": "database-health-check",
"status": "ok"
},
{
"name": "insoft-auth-health-check",
"status": "ok"
},
{
"message": "...",
"name": "repp-health-check",
"status": "failure"
}
],
"status": "failure"
}
{
"checks": [
{
"name": "database-health-check",
"status": "ok"
},
{
"name": "insoft-auth-health-check",
"status": "ok"
},
{
"message": "...",
"name": "repp-health-check",
"status": "failure"
}
],
"status": "failure"
}
Loading...