bitbucket api /diff endpoint responding with empty string

XMLWordPrintable

      Hello,

      So I am using bitbucket api to get the diff of files in a PR. Somehow, its responding an empty string even though the PR has file changes. The issue seems to be reproducible, tried it in multiple repos from multiple accounts.

      This is the command I am using to access this.

      curl --user USERNAME:PASSWORD -s -XGET "https://api.bitbucket.org/2.0/repositories/

      {OWNER}/{REPO_SLUG}/pullrequests/{PR_ID}/diff"

      When I try this command, it works.

      curl --user USERNAME:PASSWORD -s -XGET "https://api.bitbucket.org/2.0/repositories/{OWNER}

      /

      {REPO_SLUG}

      /pullrequests/

      {PR_ID}

      /comments"

      Can someone please help me here.?

              Assignee:
              Unassigned
              Reporter:
              rupeshbansal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: