Get stack compose file
Changed onReturns the compose file Sencho resolved for the stack. That file is compose.yaml, compose.yml, docker-compose.yaml, or docker-compose.yml, and the X-Compose-File response header names it. A compose file that is a symlink to a path outside the stack directory (including another stack's directory), a stack directory that is itself a symlink, or a dangling symlink, is refused.
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/stacks/{stackName}
- AuthHTTP bearer
Path parameters
Stack directory name. Must match ^[a-zA-Z0-9_-]+$ (alphanumeric characters, hyphens, and underscores only). Returns 400 Invalid stack name if the name contains path separators, dots, spaces, or other special characters.
Headers
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Response
Raw compose file content. The X-Compose-File header is the basename that was read.
Changes
- info
added the non-success response with the status
- info
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info