v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-27192307552.2 KB
workspaces

Create Stack

Creates a stack for a particular workspace.

Args: workspace_name_or_id: Name or ID of the workspace. stack: Stack to register. auth_context: Authentication context.

Returns: The created stack.

post/api/v1/workspaces/{workspace_name_or_id}/stacks

Path parameters

string required
OR
string uuid required

Request body

userstring uuid nullable
workspacestring uuid nullable
namestring required
descriptionstring
stack_spec_pathstring nullable
componentsobject required

The mapping from component types to either UUIDs of existing components or request information for brand new components.

labelsobject nullable

Response

Successful Response

resourcesStackResponseResources

Class for all resource models associated with the stack entity.

idstring uuid required
permission_deniedboolean
namestring required