Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for listing Review Comments on a Pull Request #403

Open
jedfonner opened this issue Nov 25, 2016 · 2 comments
Open

Add support for listing Review Comments on a Pull Request #403

jedfonner opened this issue Nov 25, 2016 · 2 comments

Comments

@jedfonner
Copy link

Currently it's only possible with this library to list comments on an issue, but those are not the same as "Review Comments" on a PR.

See Github's documentation on Review Comments vs Comments:

Pull Request Review Comments are comments on a portion of the unified diff. These are separate from Commit Comments (which are applied directly to a commit, outside of the Pull Request view), and Issue Comments (which do not reference a portion of the unified diff).

In order to list review comments on a Pull Request, you need to make a call to
GET /repos/:owner/:repo/pulls/:number/comments

versus the call for regular issue comments which is
GET /repos/:owner/:repo/issues/:number/comments

@kyheng
Copy link

kyheng commented Dec 20, 2016

GET/rwpos/:owner/:repo/pulls/:number/comments

@kyheng
Copy link

kyheng commented Dec 20, 2016

GET/rwpos/:owner/:repo/issues/:number/comments

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants