Skip to main content

DeploymentEventsPayload

Events delivered by the deploymentEvents subscription.

A single-deployment feed. Fires on creation, every status transition, and every change to the deployment's stash entries. For log content, subscribe to deploymentLogs — log deltas don't travel on this feed.

graphql
union DeploymentEventsPayload = DeploymentEvent | AlphaStashEntryEvent

Possible types​

DeploymentEventsPayload.DeploymentEvent object​

A lifecycle event for a deployment.

Emitted when a deployment is created (CREATED) and each time its status transitions (UPDATED) — e.g., PENDING → RUNNING → COMPLETED. Log deltas are not carried on this event; subscribe to deploymentLogs for streaming log content.

Subscribe via deploymentEvents for a single deployment's feed, or via instanceEvents / environmentEvents to see every deployment in an instance or environment.

On UPDATED, re-select whichever fields you need (typically status and elapsedTime) — Apollo will merge the payload into its cache by Deployment:id.

DeploymentEventsPayload.AlphaStashEntryEvent object​

Alpha: this API can change or be removed at any time, without notice.

A stash entry was set or deleted, sent to projectEvents, environmentEvents, instanceEvents, and deploymentEvents by the entity that holds the entry. The action is UPDATED when the entry is set and DELETED when it is deleted. An entry that expires sends no event.

StashSubscriptions
ProjectprojectEvents
EnvironmentprojectEvents, environmentEvents
ComponentprojectEvents
InstanceenvironmentEvents, instanceEvents
DeploymentenvironmentEvents, instanceEvents, deploymentEvents

Returned By​

deploymentEvents subscription