Extracting changes of a file using GitHub's graphql api #110253
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Problem
Question
Explanation
I have recently shifted from github's REST API to graphql api. The problem I am facing is that if I am using this: Link, then I am gettting a files field in this in which number of additions, deletions and changes that has been done on a every file is shown in REST api but I am trying to do this in the graphql api then no such information can be extracted. Like the schema doesn't provide changes field plus only I am able to extract only total number of additions and deletions performed in the commit. Can some one help me out in extracting the same information that I getting through the REST api but using graphql api instead?
The current query I am using is:
Variables are:
Beta Was this translation helpful? Give feedback.
All reactions