Skip to content

Commit

Permalink
Update getBlobSidecars endpoint path
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed May 17, 2023
1 parent 775e93c commit a6d1c36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ There are likely to be descriptions etc outside of the list below, but new query
| [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v2/beacon/blocks/{block_id}` added `deneb` block to response | | | | | |
| [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v1/validator/blinded_blocks/{slot}` added `deneb` blinded block | | | | | |
| [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v1/validator/blocks/{slot}` added `deneb` block | | | | | |
| [#286](https://github.com/ethereum/beacon-APIs/pull/286) NEW `/eth/v1/beacon/blobs/{block_id}` | | | | | |
| [#286](https://github.com/ethereum/beacon-APIs/pull/286) NEW `/eth/v1/beacon/blob_sidecars/{block_id}` | | | | | |
| [#319](https://github.com/ethereum/beacon-APIs/pull/319) `/eth/v1/debug/beacon/heads` removed deprecated endpoint | | | | | |
| [#302](https://github.com/ethereum/beacon-APIs/pull/302) Added `BlockContents` structures for `deneb` blocks and blob_sidecars | | | | | |

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
get:
operationId: getBlobs
summary: Get blobs
operationId: getBlobSidecars
summary: Get blob sidecars
description: |
Retrieves blobs for a given block id.
Retrieves blob sidecars for a given block id.
Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ.
If the `indices` paramneter is specified, only the blobs with the specified indices will be returned. There are no guarantees
If the `indices` paramneter is specified, only the blob sidecars with the specified indices will be returned. There are no guarantees
for the returned blob sidecars in terms of ordering.
tags:
- Beacon
Expand All @@ -16,7 +16,7 @@ get:
$ref: '../../../beacon-node-oapi.yaml#/components/parameters/BlockId'
- name: indices
in: query
description: Array of indices for blobs to request for in the specified block. Returns all blobs in the block if not speicfied.
description: Array of indices for blob sidecars to request for in the specified block. Returns all blob sidecars in the block if not speicfied.
required: false
schema:
type: array
Expand Down
4 changes: 2 additions & 2 deletions beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ paths:
$ref: "./apis/beacon/blocks/root.yaml"
/eth/v1/beacon/blocks/{block_id}/attestations:
$ref: "./apis/beacon/blocks/attestations.yaml"
/eth/v1/beacon/blobs/{block_id}:
$ref: "./apis/beacon/blobs/blobs.yaml"
/eth/v1/beacon/blob_sidecars/{block_id}:
$ref: "./apis/beacon/blob_sidecars/blob_sidecars.yaml"
/eth/v1/beacon/rewards/sync_committee/{block_id}:
$ref: "./apis/beacon/rewards/sync_committee.yaml"
/eth/v1/beacon/deposit_snapshot:
Expand Down

0 comments on commit a6d1c36

Please sign in to comment.