\DealsApi
All URIs are relative to https://api.estuary.tech
Method | HTTP request | Description |
---|---|---|
DealEstimatePost | Post /deal/estimate | Estimate the cost of a deal |
DealInfoDealidGet | Get /deal/info/{dealid} | Get Deal Info |
DealProposalPropcidGet | Get /deal/proposal/{propcid} | Get Proposal |
DealQueryMinerGet | Get /deal/query/{miner} | Query Ask |
DealStatusByProposalPropcidGet | Get /deal/status-by-proposal/{propcid} | Get Deal Status by PropCid |
DealStatusMinerPropcidGet | Get /deal/status/{miner}/{propcid} | Deal Status |
DealTransferInProgressGet | Get /deal/transfer/in-progress | Transfer In Progress |
DealsFailuresGet | Get /deals/failures | Get storage failures for user |
DealsMakeMinerPost | Post /deals/make/{miner} | Make Deal |
DealsStatusDealGet | Get /deals/status/{deal} | Get Deal Status |
PublicDealsFailuresGet | Get /public/deals/failures | Get storage failures |
PublicMinersStorageQueryMinerGet | Get /public/miners/storage/query/{miner} | Query Ask |
DealEstimatePost
DealEstimatePost(ctx, body) Estimate the cost of a deal
This endpoint estimates the cost of a deal
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | MainEstimateDealBody | The size of the deal in bytes, the replication factor, and the duration of the deal in blocks |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealInfoDealidGet
DealInfoDealidGet(ctx, dealid) Get Deal Info
This endpoint returns the deal info for a deal
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
dealid | int32 | Deal ID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealProposalPropcidGet
DealProposalPropcidGet(ctx, propcid) Get Proposal
This endpoint returns the proposal for a deal
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
propcid | string | Proposal CID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealQueryMinerGet
DealQueryMinerGet(ctx, miner) Query Ask
This endpoint returns the ask for a given CID
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
miner | string | CID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealStatusByProposalPropcidGet
DealStatusByProposalPropcidGet(ctx, propcid) Get Deal Status by PropCid
Get Deal Status by PropCid
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
propcid | string | PropCid |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealStatusMinerPropcidGet
DealStatusMinerPropcidGet(ctx, miner, propcid) Deal Status
This endpoint returns the status of a deal
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
miner | string | Miner | |
propcid | string | Proposal CID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealTransferInProgressGet
DealTransferInProgressGet(ctx, ) Transfer In Progress
This endpoint returns the in-progress transfers
Required Parameters
This endpoint does not need any parameter.
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealsFailuresGet
DealsFailuresGet(ctx, ) Get storage failures for user
This endpoint returns a list of storage failures for user
Required Parameters
This endpoint does not need any parameter.
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealsMakeMinerPost
DealsMakeMinerPost(ctx, miner, dealRequest) Make Deal
This endpoint makes a deal for a given content and miner
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
miner | string | Miner | |
dealRequest | string | Deal Request |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealsStatusDealGet
DealsStatusDealGet(ctx, deal) Get Deal Status
This endpoint returns the status of a deal
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deal | int32 | Deal ID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PublicDealsFailuresGet
PublicDealsFailuresGet(ctx, ) Get storage failures
This endpoint returns a list of storage failures
Required Parameters
This endpoint does not need any parameter.
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PublicMinersStorageQueryMinerGet
PublicMinersStorageQueryMinerGet(ctx, miner) Query Ask
This endpoint returns the ask for a given CID
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
miner | string | CID |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]