github_pr_info_results
Creates, updates, deletes, gets or lists a github_pr_info_results resource.
Overview​
| Name | github_pr_info_results |
| Type | Resource |
| Id | railway.integrations.github_pr_info_results |
Fields​
The following fields are returned by SELECT queries:
- get
One GitHubPRInfoResult row.
| Name | Datatype | Description |
|---|---|---|
error | string | |
pr_info | object | GitHubPRInfo object |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | pr_number, service_id | Get info for a GitHub pull request, including fetch errors. Backed by the Railway GraphQL query githubPRInfoResult. |
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 |
|---|---|---|
pr_number | integer | |
service_id | string |
SELECT examples​
- get
Get info for a GitHub pull request, including fetch errors. Backed by the Railway GraphQL query githubPRInfoResult.
SELECT
error,
pr_info
FROM railway.integrations.github_pr_info_results
WHERE pr_number = '{{ pr_number }}' -- required
AND service_id = '{{ service_id }}' -- required
;