Get Packages Related to a File
GET/code/api/v1/vulnerabilities/packages/files/:fileMetadataId
Gets all the Packages related to a specific file based on pagination Pagination is required - this endpoint must use the pagination.validate The API accepts a file metadata UUID. There is an option to get the packages sorted by their error count. root-only query parameter is optional - if true, returns only root level packages, in a sense of the file's dependency tree
Request
Responses
- 200
- 422
get packages by file
Request arguments validation error