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

Downloading zip file with API using Python

    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

      Hello,

      I am building an AWS Lambda function that backs up all my repositories on BitBucket. For authentication, I would like to use the OAuth consumer key/secret so I don't have to put my username/password into the Lambda.

      I have looked at:
      BCLOUD-6548
      But I could not figure out how to do this. I have also looked at the documentation and could not get any wiser.

      I have tried
      https://api.bitbucket.org/2.0/repositories/hstart/testing/get/master.zip\\
      https://bitbucket.org/hstart/testing/get/master.zip

      and others with auth:
      "Authorization":"Bearer ***************" ( being the OAuth consumer secret)
      and also:

      {key}

      :

      {secret}

      Can anyone point me in the right direction?

      Attachments

        Activity

          People

            Unassigned Unassigned
            a437f90a63e5 hstart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: