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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Cloud REST API to list all commit changes

Hi Team,

I need to know how to retrieve the commit changes from Bitbucket Cloud REST API as we do in Bitbucket Server using rest resource 

/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/changes

1 answer

0 votes

Hi @Ashwani Pratap ,

I understand that the above endpoint for Bitbucket Server provides info on the files that were modified on a certain commit.

You can find similar info for a Bitbucket Cloud commit with the following endpoint:

Please note that the API for each product is different, so the object returned from the Bitbucket Cloud endpoint is different than the Server one. However, I believe the info that is returned is the closest one to the Server endpoint you provided.

In case you are looking to retrieve some other info, please feel free to let us know.

Kind regards,
Theodora

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,827 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you