Comparing commits in API v3 gives maximum files of 300 instead of 3000

Github version: GitHub Enterprise Server 2.19.14
API version: v3
Using: API reference
Reference: Github help page
Received only alphabetically first 300 files in the response instead of 700 files. Though in the above mentioned help page limit is 3000. And the rest of the constraints also are in the limits. I have tried on different commits, which all gave exactly 300, the limit of previous enterprise versions.
Someone please help!!