GitHub API Single Commit does not extract all files

According to the GitHub Api V3 document, to get one commit you use this

https://api.github.com/repos:owner/repo:commits/sha

I can access the api but did not give me the correct result

I should get 373 files, but I only have 300?

what's wrong, github also has limitations when getting data about a single commit?

Note:

I already checked my page and look with a commit im message linking to this. It shows that 373 files have been modified.

Thanks for any help!

+4
source share
1 answer

GitHub API , 300 ; , API -:

: 300 .

docs:

GitHub Enterprise API.


diffs , diffs , :

  • 3000 100 diff. diff 20 000 1 .

  • 300.

  • ...

300 Stackoverflow :

, GitHub, :

diffs, , . :

  • 300 ,
  • diff 1MB,
  • diff 100KB.

, diff. , .

+2

Source: https://habr.com/ru/post/1671201/


All Articles