Get Basic Info
- Http Method
- GET
- End Point
-
/api/builds/{buildId}
Placeholder Description Example {buildId} Build 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" ,"jobWorkspace" : "string" ,"refName" : "string" ,"version" : "string" ,"description" : "string" ,"uuid" : "string" ,"number" : 1 ,"commitHash" : "string" ,"pipeline" : "string" ,"submitReason" : "string" ,"requestId" : 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.crazyhackgut.ru/api/builds/1