API: health
GET /api/v1/health
Заголовок раздела «GET /api/v1/health»Liveness
Always returns 200 if the process is up. No external dependencies.
Авторизация: токен не нужен
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | HealthStatus |
GET /api/v1/health/db
Заголовок раздела «GET /api/v1/health/db»Db Health
Verifies that the DB connection is alive (SELECT 1).
Авторизация: токен не нужен
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | DbHealth |
503 | Service Unavailable | DbHealth |
GET /api/v1/health/ready
Заголовок раздела «GET /api/v1/health/ready»Readiness
K8s-style /readyz — green only if both DB and Redis respond.
Авторизация: токен не нужен
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | ReadinessReport |
503 | Service Unavailable | ReadinessReport |