Get Revision Dependency Components
https://app.fossa.com/api/binary/{revisionLocator}/{dependencyLocator}/componentsGet Binary Decomposition Components for a Dependency of a Binary Decomposition Revision
Path parameters
revisionLocatorstringrequiredBinary Decomposition project revision
dependencyLocatorstringrequiredDependency revision
Query parameters
pageintegerThe specific page of data to return
pageSizeintegerThe number of items to return in each page of results
Responses
200A list of components associated with a dependency of a Binary Decomposition project revision.resultsobject[]componentIdstringThe ID of the component
filePathstringThe filepath of the component
matchCountnumberThe number of matches
pagenumberpagination page
pageSizenumberpagination page page size
totalCountnumbertotal count of components
400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
401UnauthorizeduuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403Forbidden — the Binary Decomposition feature is not enabled for this organization. Every `/api/binary` endpoint is gated behind the `binaryDecomposition` feature flag, so a request from an organization without it returns this error.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
404Not FounduuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.
GET https://app.fossa.com/api/binary/%7BrevisionLocator%7D/%7BdependencyLocator%7D/componentscurl --request GET \ --url 'https://app.fossa.com/api/binary/%7BrevisionLocator%7D/%7BdependencyLocator%7D/components' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Path params
revisionLocatorstringrequiredBinary Decomposition project revision
dependencyLocatorstringrequiredDependency revision
Query params
pageintegerThe specific page of data to return
pageSizeintegerThe number of items to return in each page of results