Lookup for vulnerable packages by Package URL.

GET /api/packages/56944?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/56944?format=api",
    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%2B1",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezpublish-legacy",
    "version": "2017.12.4+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2017.12.7.4",
    "latest_non_vulnerable_version": "2019.03.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%252B1"
}