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

API v2.0 doesn't return full list of repositories a user can access

    XMLWordPrintable

Details

    Description

      I'm working on migrating a product which obtains a list of repositories a Bitbucket users has read/write access to. Previously it used the following API request to obtain private, public and team-specific repositories for a user:

      GET /1.0/user/repositories
      

      There is no equivalent for the current API version, the closest looking equivalent endpoint lists private and public, but no team-specific repositories:

      GET /2.0/repositories/<username>
      

      I've tried another endpoint providing something very similar looking, but got redirected to the previous one:

      GET /2.0/users/<username>/repositories
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            d0592dd5395d wasamasa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: