Skip to content

Commit

Permalink
Clarify use of 206 status code for node health.
Browse files Browse the repository at this point in the history
The 206 return code for the node health endpoint does not take into
account the situation where the consensus node may be synced by the
execution node is optimistic.  Clarify that this situation should return
the 206 status code.
  • Loading branch information
mcdee committed Apr 12, 2024
1 parent fc89ec5 commit 0cedf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/node/health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ get:
"200":
description: Node is ready
"206":
description: Node is syncing but can serve incomplete data
description: Either the consensus node is syncing, or its execution node is optimistic, so data served may be incorrect
"400":
description: Invalid syncing status code
"503":
Expand Down

0 comments on commit 0cedf24

Please sign in to comment.