Unreject snippet matches
https://app.fossa.com/api/revisions/{locator}/snippets/unrejectRemove rejection status from snippets matching the specified filter criteria.
Path parameters
locatorstringrequiredThe revision locator
Request body (required) · application/json
pathstringrequiredThe path to filter snippets by
idsstring[]Filter by specific snippet IDs
packageIdsstring[]Filter by specific snippet package IDs
searchstringSearch term for filtering snippets
rejectionStatusenum[]Filter by rejection status
packageLabelsstring[]Filter by package labels
vendoredMatchenum[]Filter by vendored/converted match status
Responses
204Snippets unrejected successfully400Bad 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
403ForbiddenuuidstringUnique 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
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.
POST https://app.fossa.com/api/revisions/%7Blocator%7D/snippets/unrejectcurl --request POST \ --url 'https://app.fossa.com/api/revisions/%7Blocator%7D/snippets/unreject' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data '{ "path": "string"}'Real request. Mutating methods can change data.
Path params
locatorstringrequiredThe revision locator