Details
-
Bug
-
Resolution: Handled by Support
-
Medium
Description
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.?