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 asvalvoid/box->valvoid%2Fbox:v: URL-encoded package version, such as1.2.3+build->1.2.3%2Bbuildfusion.json: Filelocation: 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 asvalvoid/box->valvoid%2Fbox:v: URL-encoded package version, such as1.2.3+build->1.2.3%2Bbuildarchive.zip: Fileoutput: Your local filelocation: 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 asvalvoid/box->valvoid%2Fbox:v: URL-encoded package version, such as1.2.3+build->1.2.3%2Bbuildsnapshot.json: Filelocation: Flag to follow CDN redirects
Response Details
- JSON format
- This file is optional and may result in a
404response -
Content-Digest: Header with Base64-encoded SHA-256 hash wrapped in colons:for integrity verification