deployment_events
Creates, updates, deletes, gets or lists a deployment_events resource.
Overview​
| Name | deployment_events |
| Type | Resource |
| Id | railway.deployments.deployment_events |
Fields​
The following fields are returned by SELECT queries:
- list
One row per DeploymentEvent.
| Name | Datatype | Description |
|---|---|---|
id | string | |
completed_at | string (date-time) | |
created_at | string (date-time) | |
payload | object | DeploymentEventPayload object |
step | string | (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | id | Get 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.
| Name | Datatype | Description |
|---|---|---|
id | string |
SELECT examples​
- list
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
;