List 1000 archived builds of an app

GET /apps/{app-slug}/archived-builds

List the first 1000 archived builds of a specified Bitrise app. Set parameters to filter builds:

Path parameters

  • app-slug string Required

    App slug

Query parameters

  • after integer Required

    Listed builds should only be the ones which ran after the given date (Unix Timestamp)

  • before integer Required

    Listed builds should only be the ones which ran before the given date (Unix Timestamp)

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes object
      • abort_reason string
      • branch string
      • build_artifacts array[object]
        Hide build_artifacts attributes Show build_artifacts attributes object
        • artifact_meta object

          Additional properties are allowed.

        • artifact_type string
        • created_at string
        • file_size_bytes integer
        • id string
        • is_public_page_enabled boolean
        • public_page_token string
        • title string
      • build_number integer
      • commit_hash string
      • commit_message string
      • credit_cost integer
      • finished_at string
      • machine_type_id string
      • original_build_params object

        Additional properties are allowed.

      • pipeline_workflow_id string
      • pull_request_id integer
      • pull_request_target_branch string
      • pull_request_view_url string
      • slug string
      • stack_identifier string
      • started_on_worker_at string
      • status integer
      • status_text string
      • tag string
      • triggered_by string
      • triggered_workflow string
    • paging object

      pagination

      Additional properties are allowed.

      Hide paging attributes Show paging attributes object
      • next string

        Next is the "anchor" for pagination. This value should be passed to the same endpoint to get the next page. Empty/not included if there's no "next" page. Stop paging when there's no "Next" item in the response!

      • page_item_limit integer

        PageItemLimit - per-page item count. A given page might include less items if there's not enough items. This value is the "max item count per page".

      • total_item_count integer

        TotalItemCount - total item count, through "all pages"

  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
GET /apps/{app-slug}/archived-builds
curl \
 --request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/archived-builds?after=42&before=42' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": [
    {
      "abort_reason": "string",
      "branch": "string",
      "build_artifacts": [
        {
          "artifact_meta": {},
          "artifact_type": "string",
          "created_at": "string",
          "file_size_bytes": 42,
          "id": "string",
          "is_public_page_enabled": true,
          "public_page_token": "string",
          "title": "string"
        }
      ],
      "build_number": 42,
      "commit_hash": "string",
      "commit_message": "string",
      "credit_cost": 42,
      "finished_at": "string",
      "machine_type_id": "string",
      "original_build_params": {},
      "pipeline_workflow_id": "string",
      "pull_request_id": 42,
      "pull_request_target_branch": "string",
      "pull_request_view_url": "string",
      "slug": "string",
      "stack_identifier": "string",
      "started_on_worker_at": "string",
      "status": 42,
      "status_text": "string",
      "tag": "string",
      "triggered_by": "string",
      "triggered_workflow": "string"
    }
  ],
  "paging": {
    "next": "string",
    "page_item_limit": 42,
    "total_item_count": 42
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}