/api/health/postgres
Метод возвращает статус-состояние о работе postgres
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"status": "ok",
"dbSize": "2264 MB"
},
"preparingsTime": 0.376
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.002
}
Loading...