Whether this node can serve the site.

GET /health

GET https://dev.zanhosting.com/health

Operation ID health.get
Access Anyone

Responses

StatusDescriptionSchemaContent type
200 How this node is. 200 when every check is ok, 503 when any is not. HealthResponse application/json
503 How this node is. 200 when every check is ok, 503 when any is not. HealthResponse application/json
Any other status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json

200 How this node is. 200 when every check is ok, 503 when any is not.

PropertyTypeDescription
status one of: "ok", "down" Required ok when every check is ok, otherwise down.
checks HealthChecks Required The result of each check this node ran, by name.
mesh_fingerprint string Required A hash of the shapes of the calls this node's peers make to it. Two nodes whose fingerprints differ are deployed together.

503 How this node is. 200 when every check is ok, 503 when any is not.

PropertyTypeDescription
status one of: "ok", "down" Required ok when every check is ok, otherwise down.
checks HealthChecks Required The result of each check this node ran, by name.
mesh_fingerprint string Required A hash of the shapes of the calls this node's peers make to it. Two nodes whose fingerprints differ are deployed together.

Any other status: The request was refused. The problem's type names why, and its detail explains it for people to read.

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 An explanation of what went wrong, written for people to read.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://dev.zanhosting.com/health'

All documentation

0 database statements · 12 reads from the cache · 0.0 ms waiting for the database · 38.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache