search hotlink icon profile hotlink icon

On This Page

Production Metadata

Returns the content of production metadata file, such as Box - DI Container:

curl --request GET \
    --url "https://api.valvoid.com/v1/registry/valvoid%2Fbox/2.0.0/fusion.json" \
    --location

Request Details

  • GET: HTTP method
  • /registry/:id/:v: Path
  • :id: URL-encoded package ID, such as valvoid/box -> valvoid%2Fbox
  • :v: URL-encoded package version, such as 1.2.3+build -> 1.2.3%2Bbuild
  • fusion.json: File
  • location: Flag to follow CDN redirects

Response Details

  • JSON format
  • Content-Digest: Header with Base64-encoded SHA-256 hash wrapped in colons : for integrity verification

ZIP Archive

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

curl --request GET \
    --url "https://api.valvoid.com/v1/registry/valvoid%2Fbox/2.0.0/archive.zip" \
    --output "box_archive.zip" \
    --location

Request Details

  • GET: HTTP method
  • /registry/:id/:v: Path
  • :id: URL-encoded package ID, such as valvoid/box -> valvoid%2Fbox
  • :v: URL-encoded package version, such as 1.2.3+build -> 1.2.3%2Bbuild
  • archive.zip: File
  • output: Your local file
  • location: Flag to follow CDN redirects

Response Details

  • Binary format
  • Archive contains a root directory, as with GitHub or GitLab downloads
  • Content-Digest: Header with Base64-encoded SHA-256 hash wrapped in colons : for integrity verification

Production Snapshot

Returns the content of optional production snapshot file, such as Box - DI Container:

curl --request GET \
    --url "https://api.valvoid.com/v1/registry/valvoid%2Fbox/2.0.0/snapshot.json" \
    --location

Request Details

  • GET: HTTP method
  • /registry/:id/:v: Path
  • :id: URL-encoded package ID, such as valvoid/box -> valvoid%2Fbox
  • :v: URL-encoded package version, such as 1.2.3+build -> 1.2.3%2Bbuild
  • snapshot.json: File
  • location: Flag to follow CDN redirects

Response Details

  • JSON format
  • This file is optional and may result in a 404 response
  • Content-Digest: Header with Base64-encoded SHA-256 hash wrapped in colons : for integrity verification