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

Bitbucket : How to get modified files of a commit in JSON format from REST API

Yuvam Jain January 12, 2018

I'm using Bitbucket cloud edition and wanted to fetch all modified files of a commit for one of my respository.

I prepared the API but receving output in text format instead of JSON.

I used following API<MyTeamName>/<My_Repo_Name>/patch/4b2cc72

here 4b2cc72 is commit ID (Hash)
 I'm getting response in Text format.

Please share the extact API for getting the modified files of a commit(s) through REST API.

1 answer

0 votes
Alastair Wilkes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2018
Deleted user June 27, 2019

Knowing that the 1.0 API is officially deprecated or Bitbucket Cloud, what should we use now?

Like # people like this
Fleetwood Young May 15, 2020
Like # people like this
shani.feldboy March 12, 2024

i can find a way to do it with API.. 
tried also

what can be done here? 
i need the names of files that changed

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events