... read the whole story at developer.github.com.
GitHub GraphQL API
Why is GitHub using GraphQL?
GitHub is moving to GraphQL for v4 of our API because it offers significantly more flexibility for our integrators. The ability to define precisely the data you want—and only the data you want—is a powerful advantage over the REST API v3 endpoints.
GraphQL is a new way to think about building and querying APIs. Rather than construct several REST requests to fetch data that you're interested in, you can often make a single call to fetch the information you need.
For reference information autogenerated from GitHub's GraphQL schema, explore the links in the sidebar.