Hi
I am using this syntax in order to get the list of commits between two commit id
/rest/api/1.0/projects/<project>/repos/<repo>/commits?since=%s&until=%s
But in the result, the list of commits are not all relevant to the branch which i expected.
Any clue?
Note: My default branch is "master", here I am trying to get the list of commits between two commit id of "stable branch"
Hi!
How are you identifying the branch? I believe you should be able to achieve it by using the REST API v2, for more info https://developer.atlassian.com/bitbucket/api/2/reference/.
Hope that helps,
Ana
Hi,
Thanks for the reply. As of now I am not identifying the branch. My goal is to get the list of commits between two commit id's irrespective of any branch.
1. What is the syntax to be used to find the source & destination commit id's belong to which branch?
2. What is the REST API syntax to be used to mention the branch name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.