Releases - GitHub Docs
Skip to main content
Skip to content

Releases

Reference documentation for GraphQL schema types in the Releases category.

Objects

Release

Object

A release contains the content for a release.

Release Implements

Fields for Release

ReleaseAsset

Object

A release asset contains the content for a release asset.

ReleaseAsset Implements

Fields for ReleaseAsset

NameDescription

contentType (String!)

The asset's content-type.

createdAt (DateTime!)

Identifies the date and time when the object was created.

digest (String)

The SHA256 digest of the asset.

downloadCount (Int!)

The number of times this asset was downloaded.

downloadUrl (URI!)

Identifies the URL where you can download the release asset via the browser.

id (ID!)

The Node ID of the ReleaseAsset object.

name (String!)

Identifies the title of the release asset.

release (Release)

Release that the asset is associated with.

size (Int!)

The size (in bytes) of the asset.

updatedAt (DateTime!)

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

uploadedBy (User!)

The user that performed the upload.

url (URI!)

Identifies the URL of the release asset.

ReleaseAssetConnection

Object

The connection type for ReleaseAsset.

Fields for ReleaseAssetConnection

NameDescription

edges ([ReleaseAssetEdge])

A list of edges.

nodes ([ReleaseAsset])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReleaseAssetEdge

Object

An edge in a connection.

Fields for ReleaseAssetEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (ReleaseAsset)

The item at the end of the edge.

ReleaseConnection

Object

The connection type for Release.

Fields for ReleaseConnection

NameDescription

edges ([ReleaseEdge])

A list of edges.

nodes ([Release])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReleaseEdge

Object

An edge in a connection.

Fields for ReleaseEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Release)

The item at the end of the edge.

Enums

ReleaseOrderField

Enum

Properties by which release connections can be ordered.

Values for ReleaseOrderField

NameDescription
CREATED_AT

Order releases by creation time.

NAME

Order releases alphabetically by name.

Input objects

ReleaseOrder

Input object

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

Input fields for ReleaseOrder