Skip to content

Commit

Permalink
Add syncing_status query parameter to GetHealth (#251)
Browse files Browse the repository at this point in the history
fixes #147
  • Loading branch information
rolfyone authored Oct 27, 2022
1 parent e192da4 commit c071f04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apis/node/health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ get:
- Node
summary: Get health check
description: Returns node health status in http status codes. Useful for load balancers.
parameters:
- name: syncing_status
in: query
required: false
description: "Customize syncing status instead of default status code (206)"
schema:
type: integer
minimum: 1
maximum: 599
responses:
"200":
description: Node is ready
Expand Down

0 comments on commit c071f04

Please sign in to comment.