Create Build V2
Create a build
Path Parameters
team_idstring
ID of team
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
create build body
base_image_tag?stringDeprecated
name of the tag to use, instead update the recipe to use the new base image
recipe_idstring
id of recipe to build
recipe_version_idstring
id of recipe version to build
Response Body
curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/builds" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"recipe_id": "string",
"recipe_version_id": "string"
}'
{
"base_image": {
"cli_image": "string",
"display_image": "string",
"image": "string"
},
"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"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}