I'm looking to work with the GitHub API, but I'm having trouble finding what I need in the documentation.
There's two things I can't find.
- I see that I can list all the commits in a repository, but I'm not sure how to get each commit's details without calling the single commit endpoint a bunch of times.
Specifically, the amount ofchanges
in each file. - The other thing I can't seem to figure out is how I can get a webhook/event sent to my application whenever a commit is made on a repository. I've made it to the webhooks page, but can't seem to find the event I'm looking for.
Is what I need even possible? Or am I just missing something in the docs?