Commit Graph

13 Commits

Author SHA1 Message Date
Luke Anderson 56698602ab
Updated all absolute URLs to the eth2.0-specs repo so that they point to the master branch (instead of dev). 2019-05-28 10:48:41 +10:00
Luke Anderson fa177e0355
Bumped API version number to 0.2.0 2019-05-27 13:01:36 +10:00
Luke Anderson af798a3065
Minor updates.
- Fixed spelling (and made American English)
 - Clarified the schema for the new poc_bit field, and description.
2019-05-27 11:21:23 +10:00
Luke Anderson edf0b9d05f
Addressed some of @djrtwo's suggestions.
- Rewording of specification goal paragraph
 - Clarify get duties description regarding chain reorgs.
 - Add epoch parameter to get duties, and new error 406
 - Block publishing action is clarified around validation, with a new status code 202
 - The validator pubkey and PoC bit are passed to produce attestation
 - Attestation publishing action is clarified around validation, new status code 202
 - Rewording of genesis_time, 'block' -> 'slot'
 - Update Crosslink to latest spec
 - Added missing signature field to IndexedAttestation
2019-05-25 07:59:35 +10:00
Luke Anderson 8e67dec7e4
Fixed misinterpretation of the proof array in the Deposit object, bumped version. 2019-05-20 16:43:21 +10:00
Luke Anderson 490cf9e347
Updated version number to reflect small changes. 2019-05-20 13:56:25 +10:00
Luke Anderson 73c9d126de
Updated API spec with suggestions by @hwwhww.
- Corrected to use American English instead of Australian
 - Fixed spelling mistake with indices
 - Changed tag to 'MinimalSet' and 'OptionalSet'
 - Added a  response to the list of components
 - Renamed 'block_production' to 'block_proposal'
2019-05-20 13:49:06 +10:00
Luke Anderson 0b2c7acdb3
Fixed up markdown.
- Removed TOC
 - Removed all the old spec stuff
 - Uploaded spec to SwaggerHub and provided a link to it.
 - Added a 'license' section to the API description.
2019-05-13 16:25:22 +10:00
Luke Anderson 2035aea0b8
Formatting clean up.
- Moved /node/fork up with other node endpoints
 - Added descriptions and ordering to tags
 - Removed common merkle_root schema, to be more specific in descriptions.
 - Moved BeaconBlockCommon next to appropriate schemas.
 - Lots of small grammar improvements, full stops at end of descriptions.
2019-05-13 15:52:34 +10:00
Luke Anderson d10baf1dce
Added optional path, , renamed tags, and fixed up whitespace issues. 2019-05-13 15:18:56 +10:00
Luke Anderson 48ed25b2bd
Fleshed out a lot more of the API, nearly ready.
- Added all the fields from BeaconBlock(Body)
 - Tagged all paths as 'Minimum for validator'
 - Removed BeaconNode and ValidatorClient conventions
 - Moved the basic non-object schema components to the top
 - Broke out common beacon block properties into the BeaconBlockCommon object
 - Fixed links to Eth2.0 spec
2019-05-13 15:07:15 +10:00
Luke Anderson b918cc3de3
Fleshed out a whole lot more of the OpenAPI specification for the API. 2019-05-10 14:03:59 +10:00
Luke Anderson 39fd625d35
Started porting the API proposal into OpenAPI 3 format. 2019-05-09 23:49:59 +10:00