Skip to main content

Deployment

A deployment with its full details and related resources.

type Deployment {
id: ID!
status: DeploymentStatus!
action: DeploymentAction!
version: String!
message: String
createdAt: DateTime!
updatedAt: DateTime!
lastTransitionedAt: DateTime
elapsedTime: Int!
deployedBy: String
package: Package
}

Fields

Deployment.id ● ID! non-null scalar {#id}

Deployment.status ● DeploymentStatus! non-null enum {#status}

Current state of the deployment

Deployment.action ● DeploymentAction! non-null enum {#action}

Type of operation

Deployment.version ● String! non-null scalar {#version}

Bundle version being deployed

Deployment.message ● String scalar {#message}

Deployment message or commit info

Deployment.createdAt ● DateTime! non-null scalar {#created-at}

When this deployment started (UTC)

Deployment.updatedAt ● DateTime! non-null scalar {#updated-at}

When this deployment was last updated (UTC)

Deployment.lastTransitionedAt ● DateTime scalar {#last-transitioned-at}

When the status last changed (UTC)

Deployment.elapsedTime ● Int! non-null scalar {#elapsed-time}

How long the deployment has been running, in seconds.

Deployment.deployedBy ● String scalar {#deployed-by}

Who started this deployment.

Deployment.package ● Package object {#package}

The package being deployed.

Returned By

deployment query