Skip to main content

Get a Compose stack

GET 

/stacks/:name

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/{name}"

One stack's row with its stored docker-compose.yml text in compose, and manuallyEdited. Its .env is never returned: it holds generated secrets.

Request​

Responses​

The stack.