Stacks
Create a new stack
Creates a new stack directory with a default compose.yaml file.
post/api/stacks
Headers
x-node-idinteger
Example:1
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Request body
Example request
{
"stackName": "my-new-stack"
}Response
Stack created.
Example response
{
"message": "Stack created successfully",
"name": "my-new-stack"
}