DevZero Logo
DevZero

Create Build V2

Create a build

POST
/v2/teams/{team_id}/builds
/v2/teams/{team_id}/builds

Request Body

application/jsonRequired

create build body

base_image_tagstring

name of the build

recipe_id
Required
string

id of recipe to build

recipe_version_id
Required
string

id of recipe version to build

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

Path Parameters

team_id
Required
string

ID of team

curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/builds" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "base_image_tag": "string",
    "recipe_id": "string",
    "recipe_version_id": "string"
  }'

created build

{
  "build_step_checks": [
    {
      "command": "string",
      "completed_at": "string",
      "error": "string",
      "is_cached": true,
      "is_user_step": true,
      "last_updated": "string",
      "logsrv_id": "string",
      "name": "string",
      "start_time": "string",
      "status": "pending",
      "step_id": "string"
    }
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "modified_at": "2019-08-24T14:15:22Z",
  "recipe_id": "string",
  "recipe_name": "string",
  "recipe_version_id": "string",
  "status": "Not Started",
  "team_id": "string",
  "user_id": "string"
}