curl --location --request GET 'https://open.teambition.com/api/code/pipeline/platforms//pipelines//builds/' \
--header 'X-Tenant-Id;' \
--header 'X-Tenant-Id;' \
--header 'X-Tenant-Type;' \
--header 'X-Tenant-Type;' \
--header 'Authorization;'
{
"result": {
"cause": {
"causeType": "string",
"userId": "string",
"userName": "string"
},
"repo": {
"type": "git",
"remoteUrl": "string",
"branch": {
"SHA1": "string",
"name": "string",
"id": "string"
}
},
"id": "string",
"code": "string",
"organizationId": "string",
"pipelineId": "string",
"version": "string",
"number": 0,
"status": "BuildStatusList",
"createdAt": "string",
"updatedAt": "string",
"duration": 0,
"timestamp": 0,
"url": "string",
"log": "string",
"changeSetIds": [
"string"
],
"stages": [
{
"code": "string",
"name": "string",
"status": "string",
"timestamp": 0,
"duration": 0,
"pauseDuration": 0,
"errorType": "string",
"errorMessage": "string",
"subStages": [
{
"code": "string",
"name": "string",
"status": "string",
"timestamp": 0,
"duration": 0,
"pauseDuration": 0,
"errorType": "string",
"errorMessage": "string",
"log": "string"
}
]
}
],
"counts": {
"task": 0,
"commit": 0
}
},
"code": 0,
"errorMessage": "string",
"requestId": "string"
}