path query param is not working for Bitbucket Server REST API for retrieving comments Edited

I tried to get all the comments for a PR and saw I had to put a path param. I suppose its for location of the file?

I left a comment on a file name README.md in root folder for the repo, so I put path=/README.md or path="/README.md" even there is a comment on the file, returned result is zero.

 

Response is 
{
"size": 0,
"limit": 25,
"isLastPage": true,
"values": [],
"start": 0
}

What I did

https://bitbucket.com/rest/api/latest/projects/AIR/repos/my-repo/pull-requests/36/comments?path="/README.md"

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

451 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you