Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
Trying to use a event endpoint for a public repository-
https://bitbucket.org/api/1.0/repositories/
{accountName}/
{repo Slug}/events/
returns response with a count 30 even if more than 30 event are available.
As per the api docs and comments mentioned below the event resource docs,solution would have been to look for an exact event count in one call to the endpoint and making next calls for fetching events in batches of 30 by providing 'start' and 'limit' params.
But it looks like event count itself does not go beyond 30.
Either the count is wrong or bitbucket does not have an API to fetch entire event history for a user/repo