Gist functionality support in GraphQL api



I am building a lightweight gist client and really, really would like to use GraphQL to access and mutate gist data. It appears that as of today, GraphQL support for gists are:

  • mutations: nothing supported
  • queries: metadata only

I understand internally GitHub is working hard on migrating off RESTv3, however, it seems that over the past 6 months, there has been little to nothing added for Gist functionality.

I guess what i’d like to know is if GitHub can provide me with any indication of when Gists will be supported with GraphQL API. I am not excited about the prospect of wrapping v3 REST API and would appreciate guidance on a roadmap.

Thank you,


Hey @peterschussheim

We’ll be spending a lot of time in the next 6-12 months building out our GraphQL API to include all the functionality of our REST API. There’s a lot to get through though, so it’s hard to give an exact estimate of when a specific feature will ship.

If you have specific endpoint requests, I can do my best to prioritize those :slight_smile:


Hi @d12,

thanks for your quick reply. I would be most appreciative if Gist CREATE/UPDATE/DELETE were prioritized.



Great, I’ve added this to our list of things to prioritize. I’ll ping you here when this ships!


thank you!


It would be great to be able to query Gist contents! At the moment the REST API does not provide a stargazers count for gists, but you can get the content. The GraphQL API shows the stars, but no contents. So I have to make 2 requests at once :sweat:


any progress with this functionality? @d12


@peterschussheim Unfortunately not yet :confused: We’re tackling a lot of the query stuff first before the mutations, so it’s really hard for me to give a timeline on when this will be supported. We’ll be sure to ping you here when it happens though.


Thanks Nathaniel for the quick reply.