Api reference
Get the restart drain state (live turns the server is waiting on)
GET
/v1/restart/drainAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/restart/drain"{ "state": "idle", "remaining": 0, "startedAt": "string", "deadlineAt": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}