custom_domain_availability
Creates, updates, deletes, gets or lists a custom_domain_availability resource.
Overview​
| Name | custom_domain_availability |
| Type | Resource |
| Id | railway.networking.custom_domain_availability |
Fields​
The following fields are returned by SELECT queries:
- get
One DomainAvailable row.
| Name | Datatype | Description |
|---|---|---|
available | boolean | |
message | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | domain | Checks 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.
| Name | Datatype | Description |
|---|---|---|
domain | string |
SELECT examples​
- get
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
;