previewBranchPullRequestQuery
GitHub pull request associated with a preview branch name, used by the debug panel to show PR title/number alongside the branch slug. Returns null when no PR matches the branch or when server-side GitHub lookup is not configured.
Arguments
branchString!Returns
See PreviewBranchPullRequest for the full shape.
Try it
Example
Query
query PreviewBranchPullRequest($branch: String!) {
previewBranchPullRequest(branch: $branch) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlpreviewBranchPullRequest