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

User's repositories list getting via API (BB-797)

    XMLWordPrintable

Details

    Description

      http://confluence.atlassian.com/display/BBDEV/Repositories in that reference said that the command below will get all repositories (even if they are private if you provide http authorization), but in fact it does not.

      {{{
      #!bash

      $ curl https://api.bitbucket.org/1.0/users/mennanov/ -u mennanov:mypass
      {
      "repositories": [],
      "user": {
      "username": "mennanov",
      "first_name": "Renat",
      "last_name": "Mennanov",
      "resource_uri": "/1.0/users/mennanov/"
      }
      }
      }}}

      The point is that this user does not have public repos, but has a couple of private repos wich are not shown even with authorization.

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            0eb4ceaa1f15 mennanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: