Get a build of a given app
Get the specified build of a given Bitrise app. You need to provide both an app slug and a build slug. You can get the build slug either by calling the /builds endpoint or by clicking on the build on bitrise.io and copying the slug from the URL. The endpoint returns all the relevant data of the build.
Path parameters
-
app-slug
string Required App slug
-
build-slug
string Required Build slug
GET
/apps/{app-slug}/builds/{build-slug}
curl \
--request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"data": {
"abort_reason": "string",
"branch": "string",
"build_number": 42,
"commit_hash": "string",
"commit_message": "string",
"commit_view_url": "string",
"credit_cost": 42,
"environment_prepare_finished_at": "string",
"finished_at": "string",
"is_on_hold": true,
"is_processed": true,
"is_status_sent": true,
"log_format": "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",
"rebuildable": true,
"slug": "string",
"stack_identifier": "string",
"started_on_worker_at": "string",
"status": 42,
"status_text": "string",
"tag": "string",
"triggered_at": "string",
"triggered_by": "string",
"triggered_workflow": "string"
}
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}