Whether this node can serve the site.

GET /health

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

Operations-ID health.get
Zugriff Jeder

Antworten

StatusBeschreibungSchemaInhaltstyp
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
Jeder andere 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.

EigenschaftTypBeschreibung
status one of: "ok", "down" Erforderlich ok when every check is ok, otherwise down.
checks HealthChecks Erforderlich The result of each check this node ran, by name.
mesh_fingerprint string Erforderlich 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.

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

Jeder andere Status: The request was refused. The problem's type names why, and its detail explains it for people to read.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

Beispiel

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

Gesamte Dokumentation

0 Datenbankabfragen · 12 Lesezugriffe aus dem Cache · 0.0 ms Wartezeit auf die Datenbank · 26,0 MiB Spitzenspeicher
public.settingsSELECTaus dem Cache
public.mesh_nodesSELECTaus dem Cache
public.fqdnsSELECTaus dem Cache
public.sitesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache