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

Download tar / zip with oauth api token

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      I have a project that requires allowing members of an organisation to download the contents of a private repository via a script, I was hoping I would be able to use bitbucket and access the download links with oauth credentials, but this does not appear to be possible currently.

      I would like to use my oauth credentials to access the following uri's on private repositories.

      https://bitbucket.org/

      {user}

      /

      {repo}

      /get/

      {branch,tag}

      .

      {zip,tar.gz,tar.bz}

      github currently supports this feature and their API docs for it can be found here, but as a mercurial user thats not really an option for me:

      http://developer.github.com/v3/repos/contents/

      they appear to have an endpoint that generates short lived token with access to the download.

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            b3cb0e310f6b danielknell
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: