Get Revision Component Matches
https://app.fossa.com/api/binary/{revisionLocator}/{componentId}/matchesGet Matches for a Binary Decomposition Component for a Revision
Path parameters
revisionLocatorstringrequiredBinary Decomposition project revision
componentIdstringrequiredThe ID of the component
Query parameters
pageintegerThe specific page of data to return
pageSizeintegerThe number of items to return in each page of results
Responses
200A list of matches associated with a component of a Binary Decomposition project revision.resultsobject[]matchStringstringThe string the match occurred on
countnumberThe number occurences of match string
pagenumberpagination page
pageSizenumberpagination page page size
totalCountnumbertotal count of component matches
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/%7BcomponentId%7D/matchescurl --request GET \ --url 'https://app.fossa.com/api/binary/%7BrevisionLocator%7D/%7BcomponentId%7D/matches' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Path params
revisionLocatorstringrequiredBinary Decomposition project revision
componentIdstringrequiredThe ID of the component
Query params
pageintegerThe specific page of data to return
pageSizeintegerThe number of items to return in each page of results