Closed dmitshur closed 6 years ago
The root GraphQL endpoint for GitHub Enterprise is custom:
The GraphQL endpoint
The REST API v3 has numerous endpoints; the GraphQL API v4 has a single endpoint:
http(s)://[hostname]/api/graphql
The endpoint remains constant no matter what operation you perform.
(Source: https://developer.github.com/enterprise/2.11/v4/guides/forming-calls/#the-graphql-endpoint.)
So we need to let the user provide it to githubql
library.
Hey I am curious what should I put under host name?
Hello Team, is there any Documentation or video about how to use this feature while creating a GitHub dashboard on grafana (for enterprise GitHub instances)?
GitHub Enterprise has support for GitHub GraphQL API as of 2.10:
Announcement: https://github.com/blog/2373-introducing-github-enterprise-2-10-build-tools-with-the-new-github-graphql-api-organize-with-topics-and-level-up-your-project-management. Documentation: https://developer.github.com/enterprise/2.10/v4/.
(Also see this thread for history behind GitHub GraphQL API support in GitHub Enterprise.)
We should support GitHub Enterprise.