DevZero Logo

DevZero

List Builds V2

Get builds

GET
/v2/teams/{team_id}/builds

Path Parameters

team_idstring

ID of team

Query Parameters

recipe_id?string

ID of recipe

page?integer

The page number to retrieve

Range1 <= value
limit?integer

The number of items to retrieve per page

Range1 <= value <= 100
ascending?boolean

Sort in ascending order based on object creation timestamp

Header Parameters

Authorizationstring

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

Response Body

curl -X GET "https://api.devzero.io/backend/v0/v2/teams/string/builds?recipe_id=string&page=1&limit=1&ascending=true" \
  -H "Authorization: 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"
}