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

private repositories not visible via bitbucket API (BB-797)

    XMLWordPrintable

Details

    Description

      I'm trying to list my repositories via the bitbucket API, but I only ever get public repositories, even if I am authenticated.

      For example, the command:

      {{{
      #!sh

      $ curl https://api.bitbucket.org/1.0/users/rbroemeling/\\
      }}}

      gives all of the public repositories, but the command:

      {{{
      #!sh

      $ curl https://api.bitbucket.org/1.0/users/rbroemeling/ --basic --user rbroemeling:PASSWORDHERE
      }}}

      ... shows just the same repositories. None of my private repositories are displayed.

      I've tried this a variety of ways and have never been able to get the bitbucket API to display private repositories. Is this a bug in the API, or is it something that I am doing wrong?

      Thanks.

      Attachments

        Activity

          People

            18103154f924 jespern
            59a1a7f539a7 rbroemeling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: