deployment_snapshots
Creates, updates, deletes, gets or lists a deployment_snapshots resource.
Overview​
| Name | deployment_snapshots |
| Type | Resource |
| Id | railway.deployments.deployment_snapshots |
Fields​
The following fields are returned by SELECT queries:
- get
One DeploymentSnapshot row.
| Name | Datatype | Description |
|---|---|---|
id | string | |
created_at | string (date-time) | |
updated_at | string (date-time) | |
variables | object |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | deployment_id | Find 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.
| Name | Datatype | Description |
|---|---|---|
deployment_id | string |
SELECT examples​
- get
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
;