Skip to main content

deployment_snapshots

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

Overview​

Namedeployment_snapshots
TypeResource
Idrailway.deployments.deployment_snapshots

Fields​

The following fields are returned by SELECT queries:

One DeploymentSnapshot row.

NameDatatypeDescription
idstring
created_atstring (date-time)
updated_atstring (date-time)
variablesobject

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeployment_idFind a single DeploymentSnapshot. Backed by the Railway GraphQL query deploymentSnapshot.

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
deployment_idstring

SELECT examples​

Find a single DeploymentSnapshot. Backed by the Railway GraphQL query deploymentSnapshot.

SELECT
id,
created_at,
updated_at,
variables
FROM railway.deployments.deployment_snapshots
WHERE deployment_id = '{{ deployment_id }}' -- required
;