Spot Market Requests Management. Check out the product docs to learn more about Spot Market features.
Create a spot market request
/projects/{id}/spot-market-requests
Creates a new spot market request.
Type-specific options (such as operating_system for baremetal devices) should be included in the main data structure alongside hostname and plan.
The features attribute allows you to optionally specify what features your server should have. For example, if you require a server with a TPM chip, you may specify { "features": { "tpm": "required" } }
(or { "features": ["tpm"] }
in shorthand).
The request will fail if there are no available servers matching your criteria. Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a preferred value (see the example request below).
The request will not fail if we have no servers with that feature in our inventory.
List spot market requests
/projects/{id}/spot-market-requests
View all spot market requests for a given project.
Retrieve a spot market request
/spot-market-requests/{id}
Returns a single spot market request
Delete the spot market request
/spot-market-requests/{id}
Deletes the spot market request.