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

Non truncated bitbucket API 1.0 to compare 2 branches and find modified files.

Gayatri Ambati
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!
February 28, 2024

I initially used diff API - 

/REST/API/1.0/PROJECTS/{PROJECTKEY}/REPOS/{REPOSITORYSLUG}/DIFF?CONTEXTLINES&SINCE&SRCPATH&UNTIL&WHITESPACE

But as it is truncated and not paged - I checked other endpoint that says it is paged.

/REST/API/1.0/PROJECTS/{PROJECTKEY}/REPOS/{REPOSITORYSLUG}/COMPARE/DIFF{PATH:.*}?FROM&TO&FROMREPO&SRCPATH&CONTEXTLINES&WHITESPACE

But this as well is not paged and is truncated. Is it really paged or documentation is outdated?

https://docs.atlassian.com/bitbucket-server/rest/5.7.0/bitbucket-rest.html#idm45568366502032

And is there any way to get modified files using existing endpoints in 1.0? We use bitbucket server version.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events