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

Get pr diff using oauth1 API returns 401 (BB-11086)

    XMLWordPrintable

Details

    Description

      I'm trying to get the diff of a pull request using one of the links that is returned from:
      https://bitbucket.org/api/2.0/repositories/USER/REPO/pullrequests/ID

      Which returns a link for getting a diff for the pull request:

      https://bitbucket.org/api/2.0/repositories/USER/REPO/pullrequests/ID/diff

      But when I make this request with oauth authentication it returns a 401 status code? This url works fine when I use by bitbucket session from a browser, but not with oauth.

      Thanks!

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: