I've tried the following endpoint but it just returns the latest commit. I want to get a list of all the commits in which my file has been involved. Is there any way to do that using github apis?
Endpoint I've tried: https://api.github.com/repos/:owner/:repo/commits/heads/:branch_name?path=file/path.py