Skip to main content

regions

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

Overview​

Nameregions
TypeResource
Idrailway.platform.regions

Fields​

The following fields are returned by SELECT queries:

One row per Region.

NameDatatypeDescription
idstringRegion ID (airport code)
namestring
workspace_idstring
countrystringRegion country
locationstring
regionstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectproject_idList available regions. Backed by the Railway GraphQL query regions.

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
project_idstring

SELECT examples​

List available regions. Backed by the Railway GraphQL query regions.

SELECT
id,
name,
workspace_id,
country,
location,
region
FROM railway.platform.regions
WHERE project_id = '{{ project_id }}'
;