v2

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

Create Deployment

Creates a deployment.

Args: workspace_name_or_id: Name or ID of the workspace. deployment: Deployment to create. auth_context: Authentication context.

Returns: The created deployment.

Raises: IllegalOperationError: If the workspace specified in the deployment does not match the current workspace.

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

Path parameters

string required
OR
string uuid required

Request body

userstring uuid required
workspacestring uuid required
run_name_templatestring required
step_configurationsobject
client_environmentobject
client_versionstring nullable
server_versionstring nullable
pipeline_version_hashstring nullable
stackstring uuid required
pipelinestring uuid nullable
buildstring uuid nullable
schedulestring uuid nullable
code_pathstring nullable
templatestring uuid nullable

Template used for the deployment.

Response

Successful Response

idstring uuid required
permission_deniedboolean