search hotlink icon profile hotlink icon

On This Page

Unordered Chunks

Returns the versions of a package, such as Box - DI Container:

curl --request GET \
    --url "https://api.valvoid.com/v1/registry/valvoid%2Fbox/versions"

Request Details

  • GET: HTTP method
  • /registry/:id/versions: Path
  • :id: URL-encoded package ID, such as valvoid/box -> valvoid%2Fbox

Response Details

  • Unordered JSON array format
  • Maximum 50 versions per chunk
  • Link: Optional header containing the URL of the next chunk with rel="next", for example: Link: <https://api.valvoid.com/v1/registry/valvoid%2Fbox/versions?after=123>; rel="next"