You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can go through this page I believe you will find an api that looks like: await octokit.request('GET /repos/{owner}/{repo}/commits/{ref}'.
I believe we can fetch the lines added and deleted using this but we have to figure out the {ref} part in the api.
The text was updated successfully, but these errors were encountered:
The API I used is not fetching lines added and deleted.
If you can go through this page I believe you will find an api that looks like: await octokit.request('GET /repos/{owner}/{repo}/commits/{ref}'. I believe we can fetch the lines added and deleted using this but we have to figure out the {ref} part in the api.There is a similar API for commits in the GitHub api documentation: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28
The text was updated successfully, but these errors were encountered: