Skip to main content

custom_domain_availability

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

Overview​

Namecustom_domain_availability
TypeResource
Idrailway.networking.custom_domain_availability

Fields​

The following fields are returned by SELECT queries:

One DomainAvailable row.

NameDatatypeDescription
availableboolean
messagestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainChecks if a custom domain is available. Backed by the Railway GraphQL query customDomainAvailable.

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
domainstring

SELECT examples​

Checks if a custom domain is available. Backed by the Railway GraphQL query customDomainAvailable.

SELECT
available,
message
FROM railway.networking.custom_domain_availability
WHERE domain = '{{ domain }}' -- required
;