Forums

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

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 Champion
August 24, 2020

Good, if you fix it :) 

0 votes
Gonchik Tsymzhitov
Community Champion
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