Whether this node can serve the site.
GET /health
GET https://dev.zanhosting.com/health
| Operations-ID |
health.get
|
|---|---|
| Zugriff | Jeder |
Antworten
| Status | Beschreibung | Schema | Inhaltstyp |
|---|---|---|---|
| 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.
| Eigenschaft | Typ | Beschreibung | |
|---|---|---|---|
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.
| Eigenschaft | Typ | Beschreibung | |
|---|---|---|---|
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.
| Eigenschaft | Typ | Beschreibung | |
|---|---|---|---|
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'