Whether this node can serve the site.

GET /health

GET https://zankms.com/health

ID da operação health.get
Acesso Qualquer pessoa

Respostas

StatusDescriçãoEsquemaTipo de conteúdo
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
Qualquer outro 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.

PropriedadeTipoDescrição
status one of: "ok", "down" Obrigatório ok when every check is ok, otherwise down.
checks HealthChecks Obrigatório The result of each check this node ran, by name.
mesh_fingerprint string Obrigatório 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.

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

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

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

Exemplo

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

Toda a documentação