DevZero Logo
DevZero

List Builds V2

Get builds

GET
/v2/teams/{team_id}/builds
/v2/teams/{team_id}/builds

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

Query Parameters

recipe_idstring

ID of recipe

pageinteger

The page number to retrieve

Minimum: 1

limitinteger

The number of items to retrieve per page

Minimum: 1Maximum: 100

ascendingboolean

Sort in ascending order based on object creation timestamp

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"

OK

[
  {
    "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"
  }
]