List hosting plans
curl --request GET \
--url https://my.server.express/api/v1/hosting/plansconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/hosting/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/hosting/plans"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"name": "<string>",
"tagline": "<string>",
"diskQuotaMb": 123,
"trafficGb": 123,
"domains": 123,
"mailboxes": 123,
"databases": 123,
"priceMinor": 123,
"currency": "<string>",
"priceEstimated": true
}
],
"meta": {
"currency": "GBP",
"supported": [
"GBP"
]
}
}{
"success": false,
"error": "<string>"
}Hosting
List hosting plans
The shared-hosting catalogue priced in the requested currency: a hand-set price for that currency when there is one,
otherwise converted from the plan’s base price (priceEstimated: true).
GET
/
v1
/
hosting
/
plans
List hosting plans
curl --request GET \
--url https://my.server.express/api/v1/hosting/plansconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/hosting/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/hosting/plans"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"name": "<string>",
"tagline": "<string>",
"diskQuotaMb": 123,
"trafficGb": 123,
"domains": 123,
"mailboxes": 123,
"databases": 123,
"priceMinor": 123,
"currency": "<string>",
"priceEstimated": true
}
],
"meta": {
"currency": "GBP",
"supported": [
"GBP"
]
}
}{
"success": false,
"error": "<string>"
}