Read release (GraphQL)

getRelease(releaseReference: String!): Release

Requires project.releases.read.

Arguments

ArgumentTypeRequiredDescription
releaseReferenceString!YesRelease ID, latest, or a version specifier: 1.2.3 for exact, 1.2 for the newest 1.2.x, 1 for the newest 1.x.x. Resolved in the request's project scope; latest and a version need one.

Response

Returns Release. Open the type for its fields and nested types.

FieldTypeDescription
idID!
nameString
versionStringSemver version, for example 1.2.3. Null for releases created before versioning.
projectIdID
userIdIDAccount that created the release.
createdAtDateTimeRFC3339 creation timestamp.
updatedAtDateTimeRFC3339 timestamp of the last status or metadata change.
versions[Version!]!File versions captured by this release, hydrated from the linked version records.

All fields of Release.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query GetRelease($releaseReference: String!) {  getRelease(releaseReference: $releaseReference) {    id    projectId    name    createdAt    updatedAt  }}
variables.json
{  "releaseReference": "example"}