Skip to content

Commit

Permalink
Merge pull request #156 from ethereum/mpetrunic/add-deprecated
Browse files Browse the repository at this point in the history
Mark old endpoints as deprecated
  • Loading branch information
mpetrunic authored Aug 9, 2021
2 parents d785427 + 5dad644 commit 255fdf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/beacon/blocks/block.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
get:
operationId: getBlock
summary: Get block
deprecated: true
description: |
Returns the complete `SignedBeaconBlock` for a given block ID.
Depending on the `Accept` header it can be returned either as JSON or SSZ-serialized bytes.
Expand Down
1 change: 1 addition & 0 deletions apis/debug/state.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
get:
operationId: "getState"
summary: "Get full BeaconState object"
deprecated: true
description: |
Returns full BeaconState object for given stateId.
Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ
Expand Down
1 change: 1 addition & 0 deletions apis/validator/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ get:
- ValidatorRequiredApi
- Validator
operationId: "produceBlock"
deprecated: true
summary: "Produce a new block, without signature."
description: |
Requests a beacon node to produce a valid block, which can then be signed by a validator.
Expand Down

0 comments on commit 255fdf1

Please sign in to comment.