Stacks

Create a new stack

Changed on

Creates a new stack directory with a default compose.yaml file.

post/api/stacks

Request

  • Base URL
    https://localhost:1852
  • URL
    https://localhost:1852/api/stacks
  • Auth
    HTTP bearer

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

stackNamestring required

Stack name. Alphanumeric characters, hyphens, and underscores only.

Example request

{
  "stackName": "my-new-stack"
}

Response

Stack created.

messagestring required
namestring required

Example response

{
  "message": "Stack created successfully",
  "name": "my-new-stack"
}

Changes

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status