Get Revision Attribution Full V2
https://app.fossa.com/api/v2/revisions/{locator}/attribution/full/{format}Generate and stream a revision's attribution report in the given format with **all** report options enabled (V2). Intended for the `fossa report attribution` CLI flow.
Path parameters
locatorstringrequiredThe URL-encoded locator of the revision
formatenumrequiredThe format of the report
HTMLMDPDFCSVTXTSPDXSPDX_JSONCYCLONEDX_JSONCYCLONEDX_XMLResponses
200The generated full report, streamed as a file. The response sets
`Content-Disposition: inline` and a `Content-Type` matching the path `format`.
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
404NotFounduuidstringUnique 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/v2/revisions/%7Blocator%7D/attribution/full/HTMLcurl --request GET \ --url 'https://app.fossa.com/api/v2/revisions/%7Blocator%7D/attribution/full/HTML' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Path params
locatorstringrequiredThe URL-encoded locator of the revision
formatenumrequiredThe format of the report