Import Watchlist

Load a whole dependency tree at once: the body is a CycloneDX JSON or SPDX JSON document (up to 5 MB). Every component with a pkg:npm, pkg:pypi, pkg:cargo or pkg:github purl is normalised and matched against the archive's entities; matches are added to the watchlist up to the plan's cap, and the ones that did not fit are reported as over_cap rather than refused, so a Free account still gets its three and sees what Pro would unlock. Supported names with no entity yet are remembered per account (watchlist_pending) and listed under unmatched. With ?dry_run=true nothing is written. A document that cannot be read is a 400 with the reason; the whole import either applies or does not.

post/v1/me/watchlist/import

Request

  • Base URL: https://api.anteproof.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.anteproof.com/v1/me/watchlist/import
  • Auth: HTTP bearer

Query parameters

dry_runboolean

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.