Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch Lines added and deleted using commits api #7

Open
SANDESHSOBARAD opened this issue Feb 23, 2024 · 1 comment
Open

Fetch Lines added and deleted using commits api #7

SANDESHSOBARAD opened this issue Feb 23, 2024 · 1 comment
Assignees

Comments

@SANDESHSOBARAD
Copy link
Collaborator

The API I used is not fetching lines added and deleted.
There is a similar API for commits in the GitHub api documentation: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28

Screenshot 2024-02-23 at 3 42 44 PM 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.
@kbuffardi
Copy link
Contributor

Note: resolving this issue will also close #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants