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

How to compare two commit Ids of a particular repository with python REST api for bitbucket

Yokeshwaran95 August 24, 2020

Giving an example url syntax would be helpful. Thanks in Advance

2 answers

0 votes
Yokeshwaran95 August 24, 2020

Thanks for the update, I gave 'from' and 'to' commit ids wrongly. 

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2020

Good, if you fix it :) 

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2020

Do you mean that one ? url = 'rest/api/2.0/projects/{project}/repos/{repository}/compare/diff/{path}

 

Just get commit diff ?

https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket.py#L1363

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events