Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
@jedfonner

Description

@jedfonner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions