Whether this node can serve the site.
GET /health
GET https://zankms.com/health
| オペレーション ID |
health.get
|
|---|---|
| アクセス | 全員 |
レスポンス
| ステータス | 説明 | スキーマ | コンテンツタイプ |
|---|---|---|---|
| 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 |
| その他のステータス | 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.
| プロパティ | 型 | 説明 | |
|---|---|---|---|
status
| one of: "ok", "down" | 必須 | ok when every check is ok, otherwise down. |
checks
| HealthChecks | 必須 | The result of each check this node ran, by name. |
mesh_fingerprint
| string | 必須 | 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.
| プロパティ | 型 | 説明 | |
|---|---|---|---|
status
| one of: "ok", "down" | 必須 | ok when every check is ok, otherwise down. |
checks
| HealthChecks | 必須 | The result of each check this node ran, by name. |
mesh_fingerprint
| string | 必須 | A hash of the shapes of the calls this node's peers make to it. Two nodes whose fingerprints differ are deployed together. |
その他のステータス: The request was refused. The problem's type names why, and its detail explains it for people to read.
| プロパティ | 型 | 説明 | |
|---|---|---|---|
type
| string | 必須 | 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 | 必須 | The HTTP status as text, such as Not Found. |
status
| integer (int32) | 必須 | The HTTP status code of the response. |
detail
| string | 必須 | An explanation of what went wrong, written for people to read. |
instance
| string | 必須 | The path the request was sent to. |
例
curl -X GET 'https://zankms.com/health'