Check whether this node can serve the site.

GET /health

GET https://zanpki.com/health

Operation ID health.get
Access Anyone

Responses

StatusDescriptionSchemaContent type
200 Node health status. Returns 200 when the node can reach its database, or 503 when it cannot. File storage is reported in the response body and does not affect the HTTP status. HealthResponse application/json
503 Node health status. Returns 200 when the node can reach its database, or 503 when it cannot. File storage is reported in the response body and does not affect the HTTP status. HealthResponse application/json
Any other status The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. Problem application/json

200 Node health status. Returns 200 when the node can reach its database, or 503 when it cannot. File storage is reported in the response body and does not affect the HTTP status.

PropertyTypeDescription
status one of: "ok", "down" Required ok when the database check is ok, otherwise down. The storage check does not affect this value.
checks HealthChecks Required The result of each check this node ran, by name.
mesh_fingerprint string Required Hash of the mesh API schemas exposed by this node. Nodes with different fingerprints must be deployed together.

503 Node health status. Returns 200 when the node can reach its database, or 503 when it cannot. File storage is reported in the response body and does not affect the HTTP status.

PropertyTypeDescription
status one of: "ok", "down" Required ok when the database check is ok, otherwise down. The storage check does not affect this value.
checks HealthChecks Required The result of each check this node ran, by name.
mesh_fingerprint string Required Hash of the mesh API schemas exposed by this node. Nodes with different fingerprints must be deployed together.

Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://zanpki.com/health'

All documentation