List all project dependencies
GET
/api/v4/projects/{id}/dependencies
Lists all dependencies for a specified project. This operation partially mirrors the dependency list feature, which is available only for languages and package managers supported by Gemnasium. Responses are paginated and return 20 results by default.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” package_manager
Array<string>
Returns dependencies belonging to specified package managers: bundler, yarn, npm, pnpm, bun, maven, composer, pip, conan, go, nuget, sbt, gradle, pipenv, poetry, setuptools, apk, conda, pub, cargo.
Example
?package_manager=maven,yarn page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20Responses
Section titled “ Responses ”OK
Media type application/json
object
name
string
version
string
package_manager
string
dependency_file_path
string
vulnerabilities
object
severity
string
id
string
name
string
url
string
licenses
object
spdx_identifier
string
name
string
url
string
malware
Malware status: true if a GLAM identifier is present, false if the SSCS add-on is active but none found, null if the SSCS add-on is inactive.
boolean
Example generated
{ "name": "example", "version": "example", "package_manager": "example", "dependency_file_path": "example", "vulnerabilities": { "severity": "example", "id": "example", "name": "example", "url": "example" }, "licenses": { "spdx_identifier": "example", "name": "example", "url": "example" }, "malware": true}Bad Request
Unauthorized
Not found