List deploy locations
curl --request GET \
--url https://my.server.express/api/v1/cloud/locationsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/locations', 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/locations"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"slug": "uk-lcy01",
"city": "<string>",
"countryCode": "<string>",
"featured": true
}
]
}{
"success": false,
"error": "<string>"
}Cloud
List deploy locations
Active locations a VDS can be deployed to, featured first, then by city. Use slug as ?location= elsewhere. No authentication.
GET
/
v1
/
cloud
/
locations
List deploy locations
curl --request GET \
--url https://my.server.express/api/v1/cloud/locationsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/cloud/locations', 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/locations"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"slug": "uk-lcy01",
"city": "<string>",
"countryCode": "<string>",
"featured": true
}
]
}{
"success": false,
"error": "<string>"
}