setDebugPreviewBranchMutation
Set the preview branch to route requests to. Pass null (or omit) to clear the pinned preview and route to the main worker. Writes (or augments) the debug claim on the auth cookie; clients reload to pick up the new routing.
Arguments
branchStringReturns
See SetDebugPreviewBranchResult for the full shape.
Try it
Example
Query
mutation SetDebugPreviewBranch($branch: String) {
setDebugPreviewBranch(branch: $branch) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlsetDebugPreviewBranch