Create a deployment version

Changed on
post/v1/workspaces/{workspaceId}/deployments/{deploymentId}/versions

Request

  • Base URL
    http://localhost:3001/api
  • URL
    http://localhost:3001/api/v1/workspaces/{workspaceId}/deployments/{deploymentId}/versions
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

workspaceIdstring required

ID of the workspace

deploymentIdstring required

ID of the deployment

Request body

configobject
createdAtstring date-time
dependenciesobject

Map of dependency deployment ID to a CEL version selector evaluated against that deployment's current release on the same resource. Inserted atomically with the version so reconciliation cannot fire before edges are attached.

jobAgentConfigobject
metadataobject
namestring required
status'unspecified' | 'building' | 'ready' | 'failed' | 'rejected' required
tagstring required

Response

Deployment version created

configobject required
createdAtstring date-time required
deploymentIdstring required
idstring required
jobAgentConfigobject required
messagestring
metadataobject
namestring required
status'unspecified' | 'building' | 'ready' | 'failed' | 'rejected' required
tagstring required

Changes

    • breaking

      removed the success response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the success response with the status