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

totalSizeinteger required

Total size of availability's storage in bytes

durationinteger required

The duration of the request in seconds

minPricePerBytePerSecondstring required

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 required

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

enabledboolean

Enable the ability to receive sales on this availability.

untilinteger

Specifies the latest timestamp, after which the availability will no longer host any slots. If set to 0, there will be no restrictions.

Response

Availability successfully updated

Changes