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

Bitbucket Cloud REST API to list all commit changes

Ashwani Pratap February 24, 2021

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2021

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

Ashwani Pratap March 1, 2021

Thanks @Theodora Boudale 

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events