Skip to content
Discussion options

You must be logged in to vote

This is mostly expected behavior and not a bug in the API.

GitHub’s REST API has some practical limits when listing very large datasets, even if you don’t hit a rate limit. When a repository has a huge number of comments, the “list” endpoints don’t always let you paginate forever, which is why you often see a ceiling around ~30,000 issue comments in practice.

For pull request comments, there’s also a common confusion. GitHub has two different types of PR comments:
Review comments on code diffs → returned by
/repos/{owner}/{repo}/pulls/comments
Regular discussion comments on a PR → these are actually issue comments, returned by
/repos/{owner}/{repo}/issues/comments

So if you’re calling /pu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hsteinmetz
Comment options

Answer selected by hsteinmetz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage
2 participants