integration_auths
Creates, updates, deletes, gets or lists an integration_auths resource.
Overview​
| Name | integration_auths |
| Type | Resource |
| Id | railway.integrations.integration_auths |
Fields​
The following fields are returned by SELECT queries:
- get
- list
One IntegrationAuth row.
| Name | Datatype | Description |
|---|---|---|
id | string | |
provider_id | string | |
provider | string |
One row per IntegrationAuth.
| Name | Datatype | Description |
|---|---|---|
id | string | |
provider_id | string | |
provider | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | provider, provider_id | Get an integration auth by provider providerId. Backed by the Railway GraphQL query integrationAuth. | |
list | select | Get all integration auths for a user. Backed by the Railway GraphQL query integrationAuths. |
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 |
|---|---|---|
provider | string | |
provider_id | string |
SELECT examples​
- get
- list
Get an integration auth by provider providerId. Backed by the Railway GraphQL query integrationAuth.
SELECT
id,
provider_id,
provider
FROM railway.integrations.integration_auths
WHERE provider = '{{ provider }}' -- required
AND provider_id = '{{ provider_id }}' -- required
;
Get all integration auths for a user. Backed by the Railway GraphQL query integrationAuths.
SELECT
id,
provider_id,
provider
FROM railway.integrations.integration_auths
;