Deployments
Create
Stage or deploy a new deployment.
post/deployments
Query parameters
expandDeploymentExpansion[]
Fields to expand on the deployment resource.
[ "device" ]
Request body
Example request
{
"description": "Deployment for the motion control config instance",
"release_id": "rls_123",
"parent_id": "dpl_123",
"device_id": "dvc_123",
"config_instance_ids": [
"cfg_inst_123"
]
}Response
Successfully created the deployment.
Example response
{
"object": "deployment",
"id": "dpl_123",
"description": "Deployment for the motion control config instance",
"status": "staged",
"activity_status": "staged",
"error_status": "none",
"target_status": "staged",
"device_id": "dvc_123",
"release_id": "rls_123",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}