I am trying to paginate through the contributor stats API for a repo. However, the API is behaving a bit abruptly. I understand pagination for GitHub API’s. However, the contributor stats is not reaching an end. I am getting the same info again and again for different pages. To be precise, this is the API endpoint
When hitting the same API by incrementing the page param, same response is being returned at page 10 as well.
I am curious is this just happening for me? Or am I doing anything wrong?
I understand that GitHub caches contributor stats. When I first made the call, 202 status was responded. So a job was kicked to calculate stats. After a few mins, I could get the actual response.