I have a script that uses the ZenHub REST API but was looking at migrating to the GraphQL API. We have GitHub Enterprise and I assume that means requires ZenHub Enterprise also.
What I’m unsure about is … what is the URL for the ZenHub GraphQL endpoint?
The help only says to use https://api.zenhub.com/public/graphql.
I’ve tried formats like the below… https://api.<server_name>.<domain>.com/public/graphql
and https://<server_name>.<domain>.com/graphql
Glad you were able to find it. You’re right – the URL for On Premise installations can differ, depending on how your infrastructure team has deployed the application. In most cases it will be https://<server>.<domain>.com/public/graphql but it’s not guaranteed.