Health Operations
A connector must provide a /health
endpoint that Unito will use to continuously monitor its health.
warning
This call is unauthenticated, and will therefore not contain any credential header.
warning
This call will be performed continuously and often, so it should do little work and return as fast as possible.
GET /health
Empty
On success, it returns a 200
status code with an empty JSON body ({}
).
200 OK
{}
Usually, your connector will do no work and always return a 200
.
However, if your connector needs to do some work to determine its health,
it can return a 503
status code when it is unhealthy.
503 Service Unavailable
Empty