I'm trying to build reporting around branches' relative histories, so that we can:
Basically I want the same ahead/behind info that's shown in the Web UI's Branches page for a repo, but I need to automate reporting on it for multiple repositories at once.
Right now I have a working process via:
This works, but rapidly hits the 1k/hr rate limit on calls to the commits route, and it's horribly slow with more than a handful of repos & branches, and worse yet with multiple pages of commits as the paginated commits API does not provide a full result set count. I understand the rate limits, and for the performance on both ends I would much rather a cleaner way of doing this, but I can't find any other option anywhere in the SDK docs. Have I missed something?
+1
Same question, same problem.
Why this feature available on Web UI is not available into API.
Debugging front end I've found an internal API that is callable with OAuth:
https://bitbucket.org/api/internal/repositories/<repo>/branch-list/?q=name != "master" AND (ahead = 0 OR ahead = null)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1 here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.