PackageFile

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the GitHub Packages preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

A file in a package version.

Implements

Fields

id (ID!)
md5 (String)

MD5 hash of the file.

name (String!)

Name of the file.

packageVersion (PackageVersion)

The package version this file belongs to.

sha1 (String)

SHA1 hash of the file.

sha256 (String)

SHA256 hash of the file.

size (Int)

Size of the file in bytes.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI)

URL to download the asset.