List Compose stacks
GET/stacks
Required role: viewer. An account or token with the viewer or admin role can call this operation.
Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/stacks"
Every stack Hoserva has a row for, sorted by name. A stack's .env is never returned: it holds generated secrets.
Responses
- 200
- default
The stacks.
An error response.