Start implementation of 'get attstation' validator function.

- Created new /beacon/validator/attestation endpoint
 - Updated some small issues with the API spec.
This commit is contained in:
Luke Anderson
2019-08-29 14:58:49 +10:00
parent b9276da9db
commit eaec5e7b69
3 changed files with 67 additions and 5 deletions

View File

@@ -839,8 +839,6 @@ paths:
$ref: '#/components/schemas/ValidatorDuty'
400:
$ref: '#/components/responses/InvalidRequest'
406:
description: "Duties cannot be provided for the requested epoch."
500:
$ref: '#/components/responses/InternalError'
503:
@@ -867,6 +865,8 @@ paths:
schema:
type: string
format: byte
pattern: "^0x[a-fA-F0-9]{192}$"
description: "A valid BLS signature."
responses:
200:
description: Success response