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.

Information for an uploaded package.



versions (PackageVersionConnection!)

list of versions for this package

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy PackageVersionOrder

Ordering of the returned packages.

The default value is {"field"=>"CREATED_AT", "direction"=>"DESC"}.


id (ID!)
latestVersion (PackageVersion)

Find the latest version for the package.

name (String!)

Identifies the name of the package.

packageType (PackageType!)

Identifies the type of the package.

repository (Repository)

The repository this package belongs to.

statistics (PackageStatistics)

Statistics about package activity.

version (PackageVersion)

Find package version by version string.

Argument Type Description
version String!

The package version.