11

In the Rest v3, I could easily query a commit and get the changed files and patch for each file: https://developer.github.com/v3/repos/commits/#get-a-single-commit

I don't seem to be able to retrieve this info using the new v4 graphQL, does anyone have a clue how?

1 Answer 1

9
+25

Currently, it seems that the functionality you are looking for, and much needed in my opinion, isn't supported with GitHub's GraphQL API v4 and it's probably best to stick with the current REST API.

You can refer to the following posts on the official GitHub API support forum and the answers given there by GitHub's staff.

ref1 - 29/5/19

ref2 - 5/11/18

Also, a similar question was posted on SO here

Sign up to request clarification or add additional context in comments.

1 Comment

The 2 reference links are broken

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.