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​

Deployment.status ● DeploymentStatus! non-null enum​

Current state of the deployment

Deployment.action ● DeploymentAction! non-null enum​

Type of operation

Deployment.version ● String! non-null scalar​

Bundle version being deployed

Deployment.message ● String scalar​

Deployment message or commit info

Deployment.createdAt ● DateTime! non-null scalar​

When this deployment started (UTC)

Deployment.updatedAt ● DateTime! non-null scalar​

When this deployment was last updated (UTC)

Deployment.lastTransitionedAt ● DateTime scalar​

When the status last changed (UTC)

Deployment.elapsedTime ● Int! non-null scalar​

How long the deployment has been running, in seconds.

Deployment.deployedBy ● String scalar​

Who started this deployment.

Deployment.package ● Package object​

The package being deployed.

Returned By​

deployment query