DevZero Logo

DevZero

Upsert status for a workspace deploy step

POST
/workspaces/runtime/deploy/{step_id}

Path Parameters

step_idstring

ID of step

Header Parameters

tokenstring

Authorization token

workspace deploy step body

name?string

human readable name for the deploy step

statusRuntimeStatus

status of deploy step (note 'started' is a synonym for 'running')

Value in"pending" | "running" | "started" | "success" | "failure"

Response Body

curl -X POST "https://api.devzero.io/backend/v0/workspaces/runtime/deploy/string" \
  -H "token: string" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "pending"
  }'
{
  "logsrv_id": "string",
  "name": "string",
  "status": "pending",
  "step_id": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}