Marketplace

Updates availability

The new parameters will be only considered for new requests. Existing Requests linked to this Availability will continue as is.

patch/sales/availability/{id}

Path parameters

idstring required

ID of Availability

Request body

idstring

32bits identifier encoded in hex-decimal string.

totalSizestring

Total size of availability's storage in bytes as decimal string

durationstring

The duration of the request in seconds as decimal string

minPricePerBytePerSecondstring

Minimal price per byte per second paid (in amount of tokens) for the hosted request's slot for the request's duration as decimal string

totalCollateralstring

Total collateral (in amount of tokens) that can be used for matching requests

Example request

{
  "id": "0x..."
}

Response

Availability successfully updated

Changes