Files
git-touch/lib/graphql/gh_watch.graphql
Rongjian Zhang 42c733fe4c feat: repo watch
2020-01-20 14:18:45 +08:00

10 lines
219 B
GraphQL

mutation GhWatch($id: ID!, $state: SubscriptionState!) {
updateSubscription(input: { subscribableId: $id, state: $state }) {
subscribable {
... on Repository {
viewerSubscription
}
}
}
}