Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the api to get the difference between two commits using commit Ids in bitbucket.

Shivansh Kaldaik
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!
October 2, 2024

I am trying to get the difference between two commits using the api. 

I have two commitIds and i want to get those files which are added/updated after my old commit till my new commit. 

Also what role does the user need to perform this action. 

Thanks

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2024

G'day, @Shivansh Kaldaik 

Welcome to the community!

I believe the API endpoint you are looking for is Compare two commits and this require Read permission to view the commits.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events