Branch compare results

Murali
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!
March 6, 2024

I would like to get only the newly or modifed files or folders between two branches of a repository using the bitbucket rest api 1.0

I am using the endpoint 

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

but this api returns only truncated results  as it includes all the changes like code etc. I need only the files or folders newly added or modifed nothing else.

What is the api to get this?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events