The maximum number of files in a single diff is limited to 3,000


Im using github API to collect commit details of a particular commit, but the API gives only 300 files per commit.

According to the GitHub forum, it says diff is limited to 3000 files in a single diff. Is there a way to get these all diffs instead of 300 ? 

Thank you.

The commit and diff limitations are a bit more complicated than what you’re describing. You can find the exact limitations in our help documentation. If you want to receive the commit details in a diff format, you can use the appropriate media type as described in the API documentation.

I hope that helps!