Health check
GET/health
Retrieves the current health of the app. If the app is running and it is connected to the database it always returns an empty 200 OK
Request
Responses
- 200
- 502
- 503
The Health Check is not successful
- application/json
- Schema
- Example (auto)
Schema
statusstring
Example:
error
info objectnullable
error objectnullable
details object
{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}
- curl
- http
- CURL
curl -L 'https://tsg.dataspac.es/health'