Resources Build Get Dependencies
Get Dependencies
Http Method
GET
End Point
/api/builds/{buildId}/dependencies
Placeholder Description Example
{buildId} Build Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"dependentId" : 2 ,
"dependencyId" : 1 ,
"requireSuccessful" : true ,
"artifacts" : "string"
}
]
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://code.onedev.io/api/builds/1/dependencies
Please wait...
Page is in error, reload to recover