Atlassian Bitbucket v5.10.1
I want to use the REST api to get information about comments in all pull requests in a repository. I need to figure out the path through the various apis to get the kind of information I'm looking for.
I can use "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests" to get the pull requests in a repo.
I could use "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments?anchorState&diffType&fromHash&path&toHash" to get comments in each pull request. However, in this api, the "path" parameter is required. I don't know what to do with this.
I imagine you're going to tell me this kind of information is only available in 5.11 or so. That was my answer the last time I tried to get something useful out of this API.