If there’s a better place to report this please let me know.
I noticed this doesn’t work on either API v4 neither v3.
If I execute this GraphQL query on a repository I’m watching:
{
repository(owner: "myusername", name:"reponame") {
viewerCanSubscribe
viewerSubscription
}
}
It returns correctly: “viewerSubscription: SUBSCRIBED”.
But if I change my subscription to “Releases Only”, the same query returns: “viewerSubscription: null”.
And the rest api returns not found.
Please make it support something like “viewerSubscription: RELEASES”.
Also update the UpdateSubscription mutation accordingly.
This is for the DevHub app.
Thanks,
Bruno.