Skip to content

Commit

Permalink
Add 404 response to states validator_balances (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Harris <[email protected]>
  • Loading branch information
dapplion and rolfyone authored Dec 10, 2023
1 parent d2a5868 commit a6a7387
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apis/beacon/states/validator_balances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ get:
example:
code: 400
message: "Invalid state ID: current"
"404":
description: "State not found"
content:
application/json:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 404
message: "State not found"
"414":
description: "Too many validator IDs"
content:
Expand Down Expand Up @@ -116,5 +125,14 @@ post:
example:
code: 400
message: "Invalid state ID: current"
"404":
description: "State not found"
content:
application/json:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 404
message: "State not found"
"500":
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'

0 comments on commit a6a7387

Please sign in to comment.