A version represents one or more files and the associated metadata that have a unique version and platform specifiers for a specific package.
Version object attributes
id string
Unique identifier of the object
name string
Name of the artifact
version string
Version of the artifact
prerelease boolean
Indicates whether the version is a prerelease (true
), or a release(false
).
package_id string
Unique identifier of the parent package.
kind_key string
Package type ID
filename string
Original name of the file as it was uploaded
digests object
Checksums of the uploaded file, with md5
, sha1
, sha256
, and sha512
keys, and their corresponding values in lowercase hexadecimal string encoding.
download_url string
URL to download the file. This URL may expire and thus should not be saved.
created_at timestamp
Time when file was uploaded.
List all package versions
Retrieve a list of versions for a package.
GET https://api.fury.io/1/packages/pkg_eb3c12/versions
GET https://api.fury.io/1/packages/js:express/versions
Path parameters
id string
Unique identifier for the package or “KIND:NAME”
List filtered versions
Retrieve a filtered list of versions.
GET https://api.fury.io/1/versions?name=express&version=1.2.3
Query parameters
name optional string
Package name or “KIND:NAME”.
version optional string
Version of the artifact.
Retrieve version
Retrieve a single version by ID.
GET https://api.fury.io/1/versions/ver_eb3c12
Path parameters
id string
Unique identifier of the version.
Deleting version
Delete a single version by ID.
DELETE https://api.fury.io/1/versions/ver_eb3c12
Path parameters
id string
Unique identifier for a version.