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 Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters build_id integer required
Build ID that details you want to fetch
Query Parameters shareExpiryLimit string
Days after which share link will get expired (3,7,10,30)
Response 200▼
application/json successful operation
data object
▶ Hide child attributesdata. build_id number
Example: 1
data. name string
Example: "asdaskjaaa"
data. org_id number
Example: 1246
data. user_id number
Example: 1212
data. username string
Example: "john smith"
data. status_ind string
Example: "completed"
data. create_timestamp string
Example: "2018-12-23T14:30:14.000Z"
data. end_timestamp string
Example: "2018-12-25T12:46:38.000Z"
data. project_id number
Example: 24
data. tags string[]
Example: ["tag1","tag2","tag3"]
data. public_url string
Example: "https://automation.lambdatest.com/share?shareId=asdas"
data. duration number
Example: 156
data. dashboard_url string
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"
}