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

/users/:username endpoint fails to return all public data (BB-3729)

    XMLWordPrintable

Details

    Description

      The {{

      {repositories}

      }} hash in responses to authenticated requests to {{

      {/users/:username}

      }} has the following keys:

      {{{
      'created_on', 'description', 'email_mailinglist', 'email_writers', 'fork_of', 'has_issues', 'has_wiki', 'is_fork', 'is_mq', 'is_private', 'language', 'last_updated', 'logo', 'main_branch', 'mq_of', 'name', 'no_public_forks', 'owner', 'read_only', 'resource_uri', 'scm', 'size', 'slug', 'state', 'utc_created_on', 'utc_last_updated', 'website'
      }}}

      Anonymous requests result in a drastically reduced payload:

      {{{
      'description', 'followers_count', 'logo', 'name', 'owner', 'resource_uri', 'scm', 'slug', 'website'
      }}}

      This applies even to public repositories, which is clearly erroneous. Retrieving data readily accessible via Bitbucket's web interface should not require authentication.

      Attachments

        Activity

          People

            Unassigned Unassigned
            b4a707d47842 my
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: