Skip to main content

Reference documentation for GraphQL schema types in the Packages category.

Mutations

deletePackageVersion

Mutation

Delete a package version.

Eingabefelder für deletePackageVersion

Rückgabefelder für deletePackageVersion

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Whether or not the operation succeeded.

Objects

Package

Object

Information for an uploaded package.

Package Wird implementiert

Felder für Package

NameBESCHREIBUNG

id (ID!)

The Node ID of the Package object.

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.

Argumente für version

  • version (String!)

    The package version.

versions (PackageVersionConnection!)

list of versions for this package.

Argumente für versions

  • 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.

PackageConnection

Object

The connection type for Package.

Felder für PackageConnection

NameBESCHREIBUNG

edges ([PackageEdge])

A list of edges.

nodes ([Package])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageEdge

Object

An edge in a connection.

Felder für PackageEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (Package)

The item at the end of the edge.

PackageFile

Object

A file in a package version.

PackageFile Wird implementiert

Felder für PackageFile

NameBESCHREIBUNG

id (ID!)

The Node ID of the PackageFile object.

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.

PackageFileConnection

Object

The connection type for PackageFile.

Felder für PackageFileConnection

NameBESCHREIBUNG

edges ([PackageFileEdge])

A list of edges.

nodes ([PackageFile])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageFileEdge

Object

An edge in a connection.

Felder für PackageFileEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (PackageFile)

The item at the end of the edge.

PackageStatistics

Object

Represents a object that contains package activity statistics such as downloads.

Felder für PackageStatistics

NameBESCHREIBUNG

downloadsTotalCount (Int!)

Number of times the package was downloaded since it was created.

PackageTag

Object

A version tag contains the mapping between a tag name and a version.

PackageTag Wird implementiert

Felder für PackageTag

NameBESCHREIBUNG

id (ID!)

The Node ID of the PackageTag object.

name (String!)

Identifies the tag name of the version.

version (PackageVersion)

Version that the tag is associated with.

PackageVersion

Object

Information about a specific package version.

PackageVersion Wird implementiert

Felder für PackageVersion

NameBESCHREIBUNG

files (PackageFileConnection!)

List of files associated with this package version.

Argumente für files

  • 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.

id (ID!)

The Node ID of the PackageVersion object.

package (Package)

The package associated with this version.

platform (String)

The platform this version was built for.

preRelease (Boolean!)

Whether or not this version is a pre-release.

readme (String)

The README of this package version.

release (Release)

The release associated with this package version.

statistics (PackageVersionStatistics)

Statistics about package activity.

summary (String)

The package version summary.

version (String!)

The version string.

PackageVersionConnection

Object

The connection type for PackageVersion.

Felder für PackageVersionConnection

NameBESCHREIBUNG

edges ([PackageVersionEdge])

A list of edges.

nodes ([PackageVersion])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageVersionEdge

Object

An edge in a connection.

Felder für PackageVersionEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (PackageVersion)

The item at the end of the edge.

PackageVersionStatistics

Object

Represents a object that contains package version activity statistics such as downloads.

Felder für PackageVersionStatistics

NameBESCHREIBUNG

downloadsTotalCount (Int!)

Number of times the package was downloaded since it was created.

Interfaces

PackageOwner

Interface

Represents an owner of a package.

PackageOwner wird implementiert von

Felder für PackageOwner

NameBESCHREIBUNG

id (ID!)

The Node ID of the PackageOwner object.

packages (PackageConnection!)

A list of packages under the owner.

Argumente für packages

  • 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.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

Enums

PackageFileOrderField

Enum

Properties by which package file connections can be ordered.

Werte für PackageFileOrderField

NameBESCHREIBUNG
CREATED_AT

Order package files by creation time.

PackageOrderField

Enum

Properties by which package connections can be ordered.

Werte für PackageOrderField

NameBESCHREIBUNG
CREATED_AT

Order packages by creation time.

PackageType

Enum

The possible types of a package.

Werte für PackageType

NameBESCHREIBUNG
DEBIAN

A debian package.

DOCKER

A docker image.

MAVEN

A maven package.

NPM

An npm package.

NUGET

A nuget package.

PYPI

A python package.

RUBYGEMS

A rubygems package.

PackageVersionOrderField

Enum

Properties by which package version connections can be ordered.

Werte für PackageVersionOrderField

NameBESCHREIBUNG
CREATED_AT

Order package versions by creation time.

Input objects

DeletePackageVersionInput

Input object

Autogenerated input type of DeletePackageVersion.

Eingabefelder für DeletePackageVersionInput

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

packageVersionId (ID!)

The ID of the package version to be deleted.

PackageFileOrder

Input object

Ways in which lists of package files can be ordered upon return.

Eingabefelder für PackageFileOrder

NameBESCHREIBUNG

direction (OrderDirection)

The direction in which to order package files by the specified field.

field (PackageFileOrderField)

The field in which to order package files by.

PackageOrder

Input object

Ways in which lists of packages can be ordered upon return.

Eingabefelder für PackageOrder

NameBESCHREIBUNG

direction (OrderDirection)

The direction in which to order packages by the specified field.

field (PackageOrderField)

The field in which to order packages by.

PackageVersionOrder

Input object

Ways in which lists of package versions can be ordered upon return.

Eingabefelder für PackageVersionOrder

NameBESCHREIBUNG

direction (OrderDirection)

The direction in which to order package versions by the specified field.

field (PackageVersionOrderField)

The field in which to order package versions by.