Skip to main content

deployment_events

Creates, updates, deletes, gets or lists a deployment_events resource.

Overview​

Namedeployment_events
TypeResource
Idrailway.deployments.deployment_events

Fields​

The following fields are returned by SELECT queries:

One row per DeploymentEvent.

NameDatatypeDescription
idstring
completed_atstring (date-time)
created_atstring (date-time)
payloadobjectDeploymentEventPayload object
stepstring (BUILD_IMAGE, CONFIGURE_NETWORK, CREATE_CONTAINER, DRAIN_INSTANCES, HEALTHCHECK, MIGRATE_VOLUMES, PRE_DEPLOY_COMMAND, PUBLISH_IMAGE, SNAPSHOT_CODE, WAIT_FOR_DEPENDENCIES)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidGet the deployment events for a deployment. Backed by the Railway GraphQL query deploymentEvents.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstring

SELECT examples​

Get the deployment events for a deployment. Backed by the Railway GraphQL query deploymentEvents.

SELECT
id,
completed_at,
created_at,
payload,
step
FROM railway.deployments.deployment_events
WHERE id = '{{ id }}' -- required
;