OSS Index Helpclose
An open index of open source

REST API V2 Documentation

This documentation describes version 2 of the simplified REST API. In the near future several endpoints will be removed from the published API. For more advanced use which may be available including access to deprecated methods and specialized API options, please contact ossindex@sonatype.com

GET /v2.0/package/:pm/:package/:version

POST /v2.0/package

Updated by OSS-Index on February 10, 2018

:pm package manager name
:package package name
:version package version

Searches for packages in the database by package manager name and package version.

Returns a list of packages, each containing a vulnerability list and some basic data for the named package.

More details...

GET /v2.0/package/:pm/:package

POST /v2.0/package

Posted by OSS-Index on July 24, 2016

:pm package manager name
:package package name

Searches for packages in the database by package manager name.

Returns a list of packages, each containing a vulnerability list and some basic data for the named package.

More details...

GET /v2.0/pm/:pm/update

Updated by OSS-Index on February 10, 2018

This endpoint is deprecated and will not be supported in the next release.

GET /v2.0/vulnerability/pm/:pm/fromtill/:from/:till

Updated by OSS-Index on February 10, 2018

This endpoint is deprecated and will not be supported in the next release.

POST /v2.0/package/request

Updated by OSS-Index on February 10, 2018

This endpoint is deprecated and will not be supported in the next release.

GET /v2.0/vulnerability/pm/:pm/since/:timestamp

Updated by OSS-Index on February 10, 2018

This endpoint is deprecated and will not be supported in the next release.

POST /v2.0/package/request

Updated by OSS-Index on February 10, 2018

This endpoint is deprecated and will not be supported in the next release.