Resources Pull Request Get Current Builds
Get Current Builds
Http Method
GET
End Point
/~api/pulls/{requestId}/current-builds
Placeholder Description Example
{requestId} Request Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"numberScopeId" : 1 ,
"projectId" : 1 ,
"agentId" : 1 ,
"submitterId" : 1 ,
"cancellerId" : 1 ,
"jobName" : "string" ,
"workspacePath" : "string" ,
"checkoutPaths" : [ "string" ] ,
"refName" : "string" ,
"version" : "string" ,
"description" : "string" ,
"uuid" : "string" ,
"number" : 1 ,
"commitHash" : "string" ,
"status" : "WAITING" ,
"paused" : true ,
"submitDate" : "2024-11-21T10:46:39.934+00:00" ,
"pendingDate" : "2024-11-21T10:46:39.934+00:00" ,
"runningDate" : "2024-11-21T10:46:39.934+00:00" ,
"finishDate" : "2024-11-21T10:46:39.934+00:00" ,
"pendingDuration" : 1 ,
"runningDuration" : 1 ,
"retryDate" : "2024-11-21T10:46:39.934+00:00" ,
"finishTimeGroups" : {
"day" : 1 ,
"week" : 1 ,
"month" : 1
}
,
"submitReason" : "string" ,
"requestId" : 1 ,
"issueId" : 1
}
]
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> https://git.codedune.app/~api/pulls/1/current-builds
Please wait...
Page is in error, reload to recover