Skip to content

Comment on Tell HN: GitHub's Dependabot REST API is silently returning incomplete results

Comments

I believe you've always been supposed to handle pagination for this API: https://docs.github.com/en/rest/using-the-rest-api/using-pag...

Paginated-by-default APIs are an annoying pattern, like GitLab CI suddenly breaking after 20 builds, etc. I wish they would start making the pagination parameters required.

Indeed this API requires pagination but the behavior we are seeing is that even the first page miss entries. A few days ago my test repo was showing 9 open issues in the API and in the UI. Today it's 1 in the API and 9 in the UI :( !

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.