Marketplace

Returns active slot with id {slotId} for the host

get/sales/slots/{slotId}

Path parameters

slotIdstring required

Content Identifier as specified at https://github.com/multiformats/cid

Example:QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N

File to be downloaded.

Response

Retrieved active slot

slotIndexinteger required

Slot Index number

requestIdstring required

32bits identifier encoded in hex-decimal string.

state'SaleCancelled' | 'SaleDownloading' | 'SaleErrored' | 'SaleFailed' | 'SaleFilled' | 'SaleFilling' | 'SaleFinished' | 'SaleIgnored' | 'SaleInitialProving' | 'SalePayout' | 'SalePreparing' | 'SaleProving' | 'SaleUnknown' required

Description of the slot's

Example response

{
  "requestId": "0x...",
  "request": {
    "content": {
      "cid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N"
    }
  },
  "reservation": {
    "id": "0x...",
    "availabilityId": "0x...",
    "requestId": "0x..."
  }
}

Changes