GET /projects/:id/builds
Get the build list of project
Request header
Name |
Type |
Mandatory fields |
Description |
Token |
String |
Yes |
Authentication credentials Token |
Request response
Name |
Type |
Mandatory fields |
Description |
total |
int |
Yes |
total number of the builds |
builds |
array |
Yes |
build list |
∟ id |
int |
Yes |
build ID |
∟ project |
int |
Yes |
affiliated project |
∟ product |
int |
Yes |
affiliated product |
∟ branch |
int |
Yes |
affiliated branch |
∟ execution |
int |
Yes |
affiliated execution |
∟ name |
string |
Yes |
build name |
∟ scmPath |
string |
No |
source code address |
∟ filePath |
string |
No |
download address |
∟ date |
date |
Yes |
licensing date |
∟ builder |
user |
Yes |
builder |
∟ desc |
string |
Yes |
build description |
Response example
{
"total": 1,
"builds": [
{
"id": 2,
"project": 12,
"product": 5,
"branch": 0,
"execution": 40,
"name": "1111111",
"scmPath": "",
"filePath": "",
"date": "2021-12-01",
"stories": [],
"bugs": [],
"builder": "admin",
"desc": "",
"deleted": false,
"executionName": "test execution1111111",
"executionID": 40,
"productName": "test",
"branchName": ""
}
]
}