diff --git a/disperser/dataapi/docs/v2/V2_docs.go b/disperser/dataapi/docs/v2/V2_docs.go index 25789b1bb1..bb42c786cd 100644 --- a/disperser/dataapi/docs/v2/V2_docs.go +++ b/disperser/dataapi/docs/v2/V2_docs.go @@ -21,7 +21,7 @@ const docTemplateV2 = `{ "application/json" ], "tags": [ - "Blob" + "Batch" ], "summary": "Fetch batch feed", "parameters": [ @@ -663,6 +663,12 @@ const docTemplateV2 = `{ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -671,6 +677,9 @@ const docTemplateV2 = `{ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -703,6 +712,12 @@ const docTemplateV2 = `{ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -731,6 +746,12 @@ const docTemplateV2 = `{ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -739,6 +760,9 @@ const docTemplateV2 = `{ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -747,6 +771,9 @@ const docTemplateV2 = `{ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -949,6 +976,12 @@ const docTemplateV2 = `{ "items": { "type": "integer" } + }, + "a1": { + "type": "array", + "items": { + "type": "integer" + } } } }, diff --git a/disperser/dataapi/docs/v2/V2_swagger.json b/disperser/dataapi/docs/v2/V2_swagger.json index 744b0519b1..354428cf6c 100644 --- a/disperser/dataapi/docs/v2/V2_swagger.json +++ b/disperser/dataapi/docs/v2/V2_swagger.json @@ -18,7 +18,7 @@ "application/json" ], "tags": [ - "Blob" + "Batch" ], "summary": "Fetch batch feed", "parameters": [ @@ -660,6 +660,12 @@ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -668,6 +674,9 @@ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -700,6 +709,12 @@ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -728,6 +743,12 @@ "items": { "type": "integer" } + }, + "y": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -736,6 +757,9 @@ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -744,6 +768,9 @@ "properties": { "x": { "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" + }, + "y": { + "$ref": "#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2" } } }, @@ -946,6 +973,12 @@ "items": { "type": "integer" } + }, + "a1": { + "type": "array", + "items": { + "type": "integer" + } } } }, diff --git a/disperser/dataapi/docs/v2/V2_swagger.yaml b/disperser/dataapi/docs/v2/V2_swagger.yaml index 1de9198d88..569e374c71 100644 --- a/disperser/dataapi/docs/v2/V2_swagger.yaml +++ b/disperser/dataapi/docs/v2/V2_swagger.yaml @@ -51,11 +51,17 @@ definitions: items: type: integer type: array + "y": + items: + type: integer + type: array type: object core.G2Point: properties: x: $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' + "y": + $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' type: object core.PaymentMetadata: properties: @@ -78,6 +84,10 @@ definitions: items: type: integer type: array + "y": + items: + type: integer + type: array type: object encoding.BlobCommitments: properties: @@ -96,16 +106,24 @@ definitions: items: type: integer type: array + "y": + items: + type: integer + type: array type: object encoding.G2Commitment: properties: x: $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' + "y": + $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' type: object encoding.LengthProof: properties: x: $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' + "y": + $ref: '#/definitions/github_com_consensys_gnark-crypto_ecc_bn254_internal_fptower.E2' type: object github_com_Layr-Labs_eigenda_core_v2.Attestation: properties: @@ -253,6 +271,10 @@ definitions: items: type: integer type: array + a1: + items: + type: integer + type: array type: object semver.SemverMetrics: properties: @@ -578,7 +600,7 @@ paths: $ref: '#/definitions/v2.ErrorResponse' summary: Fetch batch feed tags: - - Blob + - Batch /blobs/{blob_key}: get: parameters: diff --git a/disperser/dataapi/v2/server_v2.go b/disperser/dataapi/v2/server_v2.go index f4e2b45075..0fb4604647 100644 --- a/disperser/dataapi/v2/server_v2.go +++ b/disperser/dataapi/v2/server_v2.go @@ -583,7 +583,7 @@ func (s *ServerV2) FetchBlobInclusionInfoHandler(c *gin.Context) { // FetchBatchFeedHandler godoc // // @Summary Fetch batch feed -// @Tags Blob +// @Tags Batch // @Produce json // @Param end query string false "Fetch batches up to the end time (ISO 8601 format: 2006-01-02T15:04:05Z) [default: now]" // @Param interval query int false "Fetch batches starting from an interval (in seconds) before the end time [default: 3600]"