Closed
Description
Schema Inaccuracy
The /repos/{owner}/{repo}/compare/{base}...{head} endpoint has an undocumented limit on the number of files it returns (300).
Expected
There would either be no limit on the number of files returned, or there would be a way to paginate them.
Reproduction Steps
For example, see facebook/react@v16.10.2...v16.12.0 - there are 366 files changes between these 2 tags.
If you access the API:
$ curl -sS https://api.github.com/repos/facebook/react/compare/v16.10.2...v16.12.0 | jq -r '.files | length'
outputs
300
Only the first 300 files affected are returned in the response.