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

How to get branch wise commits?

Deleted user December 1, 2020

Hi,

I want to get the commit logs from a specific branch using API.

Do we have any such provision? along with filters?

 

Please help.

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2020

Hi @[deleted] ,

I can see in our system that you have a Bitbucket Cloud account, so I assume your question is about repos hosted in Bitbucket Cloud (https://bitbucket.org/)?

In Bitbucket Cloud this is possible with the following API endpoint:

If you check the examples there, it is possible to specify in the URL a certain branch.

At the moment, I'm afraid that it is not possible to add any other filters in that endpoint.

We do have a feature request about this in our issue tracker that you can vote for and watch:

If you have any other questions, please feel free to let us know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events