A pretty limited selection of mutations, are more coming later?


#1

Hi there,

After seeing the announcement at https://github.com/blog/2359-introducing-github-marketplace-and-more-tools-to-customize-your-workflow that “the GitHub GraphQL API is out of its Early Access program,” I’ve started to look more into it.

From what I can see so far, there is excellent coverage when it comes to queries, compared to the REST API v3. I don’t see anything that’s not possible to query for, and in fact, there are many additional fields that the GraphQL API v4 exposes that v3 did not (for example, the “editor” field in comments).

However, the number of mutations available is lacking. For example, I’m not seeing any way to create a new issue. Or edit an existing comment. The list at https://developer.github.com/v4/reference/mutation/ is quite short.

Really, this is just a quick question, but is the above the case because v4 API mutations are still being developed and more will be added over time? Or am I missing something and the mutations are available elsewhere?

Thanks!


#2

Really, this is just a quick question, but is the above the case because v4 API mutations are still being developed and more will be added over time? Or am I missing something and the mutations are available elsewhere?

Hi @shurcooL! Great questions.

After speaking with the team, we’ll be adding way more mutations as our Engineers do it. Also, https://developer.github.com/v4/reference/mutation/ is the only reference for GitHub’s GraphQL API mutations. Hope that helps, but let me know if you have any other questions!


#3

Do you have any timeline for this?


#4

Do you have any timeline for this?

Not at the moment, no. But if there are particular mutations that you would find valuable, please feel free to make a schema request and we can prioritize them accordingly.


#5

Thanks for the reply, after talking with github support, I was told of the experimental issue importer api which is really what I needed so anyone who reaches here in research in converting to github should be sure to ask support about it.