GET /repos/:owner/:repo/pulls has wrong response.

I am using the API to get “Pull request list”. (https://developer.github.com/v3/pulls/#list-pull-requests)

There is a member variable in the response:
* _links.comments
* _links.review_comments

But the real response is very weird.

“comments”:{
“href”:“https://hostname/api/v3/repos/{owner}/{repo}/issues/{pr#}/comments
},
“review_comments”:{
“href”:“https://hostname/api/v3/repos/{owner}/{repo}/pulls/{pr#}/comments
},

I think “comments” url should be “/pulls/{pr#}/comments” (Not “issues”)
And “review_comments” url should be “/pulls/{pr#}/reviews” (Not “comments”).

Could you check this please?

(This happen same in github public repo)

See this other topic for a breakdown of the various types of “comments” that can exist on a PR and the API URLs to retrieve them.