Build›Fetch specified build details
Build
Fetch specified build details
To fetch build details of the buildid specified by the user.
Fetch specified build details curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/builds/{build_id}" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"build_id": 1,
"name": "asdaskjaaa",
"org_id": 1246,
"user_id": 1212,
"username": "john smith",
"status_ind": "completed",
"create_timestamp": "2018-12-23T14:30:14.000Z",
"end_timestamp": "2018-12-25T12:46:38.000Z",
"project_id": 24,
"tags": [
"tag1",
"tag2",
"tag3"
],
"public_url": "https://automation.lambdatest.com/share?shareId=asdas",
"duration": 156,
"dashboard_url": "https://automation.lambdatest.com/build?&build=1"
},
"message": "Retrieve build list was successful",
"status": "success"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
build_idintegerrequired
Build ID that details you want to fetch
Query Parameters
shareExpiryLimitstring
Days after which share link will get expired (3,7,10,30)
Response
application/jsonsuccessful operation
dataobject
data.build_idnumber
Example: 1
data.namestring
Example: "asdaskjaaa"
data.org_idnumber
Example: 1246
data.user_idnumber
Example: 1212
data.usernamestring
Example: "john smith"
data.status_indstring
Example: "completed"
data.create_timestampstring
Example: "2018-12-23T14:30:14.000Z"
data.end_timestampstring
Example: "2018-12-25T12:46:38.000Z"
data.project_idnumber
Example: 24
data.tagsstring[]
Example:["tag1","tag2","tag3"]
data.public_urlstring
Example: "https://automation.lambdatest.com/share?shareId=asdas"
data.durationnumber
Example: 156
data.dashboard_urlstring
Example: "https://automation.lambdatest.com/build?&build=1"
Fetch specified build details curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/builds/{build_id}" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"build_id": 1,
"name": "asdaskjaaa",
"org_id": 1246,
"user_id": 1212,
"username": "john smith",
"status_ind": "completed",
"create_timestamp": "2018-12-23T14:30:14.000Z",
"end_timestamp": "2018-12-25T12:46:38.000Z",
"project_id": 24,
"tags": [
"tag1",
"tag2",
"tag3"
],
"public_url": "https://automation.lambdatest.com/share?shareId=asdas",
"duration": 156,
"dashboard_url": "https://automation.lambdatest.com/build?&build=1"
},
"message": "Retrieve build list was successful",
"status": "success"
}