Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10493

REST API: Event resource returns a wrong event count(does not go beyond 30) (BB-11421)

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            6b3fa71b21fb shruti514
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: