Skip to main content
Schema1.1.4object

pull-request-review-comment

Pull Request Review Comments are comments on a portion of the Pull Request's diff.

Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Pull Request Review Comment

object

Pull Request Review Comments are comments on a portion of the Pull Request's diff.

_links object
required
author_association
string<author_association>
required

How the author is associated with the repository.

body string
required

The text of the comment.

body_html string
optional
body_text string
optional
commit_id string
required

The SHA of the commit to which the comment applies.

created_at string (date-time)
required
diff_hunk string
required

The diff of the line that the comment refers to.

html_url string (uri)
required

HTML URL for the pull request review comment.

id integer
required

The ID of the pull request review comment.

in_reply_to_id integer
optional

The comment ID to reply to.

line integer
optional

The line of the blob to which the comment applies. The last line of the range for a multi-line comment

node_id string
required

The node ID of the pull request review comment.

original_commit_id string
required

The SHA of the original commit to which the comment applies.

original_line integer
optional

The line of the blob to which the comment applies. The last line of the range for a multi-line comment

original_position integer
required

The index of the original line in the diff to which the comment applies.

original_start_line integer
optionalnullable

The first line of the range for a multi-line comment.

path string
required

The relative path of the file to which the comment applies.

position integer
required

The line index in the diff to which the comment applies.

pull_request_review_id integer
requirednullable

The ID of the pull request review to which the comment belongs.

pull_request_url string (uri)
required

URL for the pull request that the review comment belongs to.

side string
optional

The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment

start_line integer
optionalnullable

The first line of the range for a multi-line comment.

start_side string
optionalnullable

The side of the first line of the range for a multi-line comment.

updated_at string (date-time)
required
url string
required

URL for the pull request review comment