My company/team has quite a few repositories on bitbucket and I am trying to fetch the logged in user's commits for a particular day.
According to the current bitbucket API, the only way to do this is by
- Fetching all teams for the authenticated user
- Fetching all repos for each of the teams, the user is a part of
- Then fetching all the commits for each repo
Even after these three API calls,I end up with a lot of data (all commits from all branches of all the repositories the user is a part of). Then I have to filter all the commits by user and date to arrive at my final data set.
It would be great if there was a way to get commits for a start-date and end-date value. For example