Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket REST api compare/changes does not work with files more than 1000

Gourav Puri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2024

I have a branch where lots of commit have happened and now the difference between branches is more than 1000 files (1229 to be precise) 

this Bitbucket api 

https://developer.atlassian.com/server/bitbucket/rest/v819/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-compare-changes-get

has a limitation on retrieving file changes more then 1000 files

When requesting files after 1000 files by setting start=1000&limit=100 
We get below response 

 

{"fromHash":"3f3127446569ca393b0e9c04c4ac0ecfa0500b80","toHash":"refs/heads/release/22.5.0","properties":{},"values":[],"size":0,"isLastPage":false,"start":1000,"limit":100,"nextPageStart":null}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events