Basilisk
API referenceReference

Windowed deduplicated canonical advisory history for one package.

GET
/v1/packages/{name}/history/advisories

Path Parameters

name*string

Package name

Query Parameters

view?string

Canonical advisory history view. Omitted means all.

Value in

  • "all"
  • "confirmed"
  • "unconfirmed"
offset?integer

Zero-based row offset into the sorted canonical advisory history.

Formatint64
limit?integer

Window size. Omitted callers get a bounded default, never the full list.

Formatint64

Response Body

application/json

curl -X GET "https://example.com/v1/packages/pillow/history/advisories"
{  "items": [    {      "active_on_latest": true,      "advisory_kind": "string",      "affected_version_count": 0,      "affected_version_preview": [        "string"      ],      "applicability": "string",      "canonical_id": "string",      "confirmed": true,      "fix_version": "string",      "off_universe_version_hints": [        "string"      ],      "severity": null,      "source_advisory_id": "string",      "summary": "string"    }  ],  "limit": 0,  "offset": 0,  "total": 0,  "view_totals": {    "all": 0,    "confirmed": 0,    "unconfirmed": 0  }}