List VDS add-ons
curl --request GET \
--url https://my.server.express/api/v1/cloud/addonsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/addons', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/cloud/addons"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"priceMinor": 123,
"currency": "GBP",
"taxable": true
}
]
}{
"success": false,
"error": "<string>"
}Cloud
List VDS add-ons
Optional extras a VDS can be bought with — every active AddonProduct whose appliesTo includes CLOUD, ordered by name.
currency filters rather than converts: an add-on is only offered in the currency it’s priced in, because renewals bill
AddonProduct.price unconverted. Prices are monthly minor units. No authentication.
GET
/
v1
/
cloud
/
addons
List VDS add-ons
curl --request GET \
--url https://my.server.express/api/v1/cloud/addonsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/addons', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/cloud/addons"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"priceMinor": 123,
"currency": "GBP",
"taxable": true
}
]
}{
"success": false,
"error": "<string>"
}