Is there any way to fetch commits done across all branches in a given repository, using Rest api?


We are looking for a Rest api which can return all commits done in a given repository, in master or in any of branch. For example, if I commited C1 in master and C2 in one of branch then api can return C1 and C2 both without specifying branch name.

We don’t know branch name in this case as user is creating branch for every user story at run time and committing in that branch.

Alternatively, is there any way (through rest API) to get all branches in which recently some commit is done?



1 Like

Hi Aparna, and welcome!

Since  your question doesn’t seem to be related to Pages, I’ve gone ahead and moved it over to this board so it gets the right eyes on it.