List Docker stacks
curl --request GET \
--url https://my.server.express/api/v1/cloud/{id}/apps \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/cloud/{id}/apps', 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/{id}/apps"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"name": "<string>",
"state": "running",
"services": [
{
"name": "<string>",
"state": "<string>",
"status": "<string>",
"image": "<string>",
"ports": "<string>"
}
],
"appSlug": "<string>",
"appName": "<string>",
"installStatus": "<string>"
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Cloud
List Docker stacks
Docker Compose stacks under /opt/serverexpress on the VM, read live through the guest agent on every call. Stacks that
came from the catalogue carry appSlug, appName and installStatus. Session auth only; any team role can read it.
409 if the server isn’t provisioned yet, 502 if Docker on the VM can’t be reached.
GET
/
v1
/
cloud
/
{id}
/
apps
List Docker stacks
curl --request GET \
--url https://my.server.express/api/v1/cloud/{id}/apps \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/cloud/{id}/apps', 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/{id}/apps"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"name": "<string>",
"state": "running",
"services": [
{
"name": "<string>",
"state": "<string>",
"status": "<string>",
"image": "<string>",
"ports": "<string>"
}
],
"appSlug": "<string>",
"appName": "<string>",
"installStatus": "<string>"
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Path Parameters
Service id of the cloud server.