Whether this node can serve the site.
GET /health
GET https://dev.zanpki.com/health
| ID de operación |
health.get
|
|---|---|
| Acceso | Cualquiera |
Respuestas
| Estado | Descripción | Esquema | Tipo de contenido |
|---|---|---|---|
| 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 |
| Cualquier otro estado | 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.
| Propiedad | Tipo | Descripción | |
|---|---|---|---|
status
| one of: "ok", "down" | Obligatorio | ok when every check is ok, otherwise down. |
checks
| HealthChecks | Obligatorio | The result of each check this node ran, by name. |
mesh_fingerprint
| string | Obligatorio | 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.
| Propiedad | Tipo | Descripción | |
|---|---|---|---|
status
| one of: "ok", "down" | Obligatorio | ok when every check is ok, otherwise down. |
checks
| HealthChecks | Obligatorio | The result of each check this node ran, by name. |
mesh_fingerprint
| string | Obligatorio | A hash of the shapes of the calls this node's peers make to it. Two nodes whose fingerprints differ are deployed together. |
Cualquier otro estado: The request was refused. The problem's type names why, and its detail explains it for people to read.
| Propiedad | Tipo | Descripción | |
|---|---|---|---|
type
| string | Obligatorio | 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 | Obligatorio | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Obligatorio | The HTTP status code of the response. |
detail
| string | Obligatorio | An explanation of what went wrong, written for people to read. |
instance
| string | Obligatorio | The path the request was sent to. |
Ejemplo
curl -X GET 'https://dev.zanpki.com/health'