Returns service health status info along with availability statuses of external dependencies.
URL : /api/v1/health
Method : GET
Token auth required : YES
Code : 200 OK
Content examples
Good health response.
{
"health":"OK",
"services":{
"db":true,
"redis":true,
"yandex":true,
"ipstack":true
}
}
Health problems response.
{
"health":"PROBLEMS",
"services":{
"db":true,
"redis":true,
"yandex":true,
"ipstack":true
}
}
- If the User does not have a
UserInfo
instance when requested then one will be created for them.