review_id parameter
Update a review for a pull request
Update the review summary comment with new text.
Path Parameters
Body
application/json
Body
The body text of the pull request review.
Response
application/json
Response
Response
Pull Request Review
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
Show Child Parameters
The text of the review.
Example:This looks great.
Example:CHANGES_REQUESTED
Example:https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80
Example:https://api.github.com/repos/octocat/Hello-World/pulls/12
Show Child Parameters
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Path Parameters
Body
Delete a pending review for a pull request
Path Parameters
review_id parameter
Response
application/json
Response
Response
Pull Request Review
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
Show Child Parameters
The text of the review.
Example:This looks great.
Example:CHANGES_REQUESTED
Example:https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80
Example:https://api.github.com/repos/octocat/Hello-World/pulls/12
Show Child Parameters
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Path Parameters
List comments for a pull request review
List comments for a specific pull request review.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
review_id parameter
Response
application/json
Response
Response
Legacy Review Comment
Example:https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
Example:42
Example:10
Example:MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw
Example:@@ -16,33 +16,40 @@ public class Connection : IConnection...
Example:file1.txt
Example:1
Example:4
Example:6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840
Example:8
Simple User
Show Child Parameters
Example:Great stuff
Example:2011-04-14T16:00:49Z
Example:2011-04-14T16:00:49Z
Example:https://github.com/octocat/Hello-World/pull/1#discussion-diff-1
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Show Child Parameters
Show Child Parameters
The side of the first line of the range for a multi-line comment.
Allowed values:LEFTRIGHT
Default:RIGHT
The side of the first line of the range for a multi-line comment.
Allowed values:LEFTRIGHT
Default:RIGHT
The line of the blob to which the comment applies. The last line of the range for a multi-line comment
Example:2
The original line of the blob to which the comment applies. The last line of the range for a multi-line comment
Example:2
The first line of the range for a multi-line comment.
Example:2
The original first line of the range for a multi-line comment.
Example:2
Path Parameters
Query Parameters
Dismiss a review for a pull request
Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
Path Parameters
review_id parameter
Body
application/json
Body
The message for the pull request review dismissal
Example:"APPROVE"
Response
application/json
Response
Response
Pull Request Review
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
Show Child Parameters
The text of the review.
Example:This looks great.
Example:CHANGES_REQUESTED
Example:https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80
Example:https://api.github.com/repos/octocat/Hello-World/pulls/12
Show Child Parameters
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Path Parameters
Body
Submit a review for a pull request
Path Parameters
review_id parameter
Body
application/json
Body
The body text of the pull request review
The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. When you leave this blank, the API returns HTTP 422 (Unrecognizable entity) and sets the review action state to PENDING
, which means you will need to re-submit the pull request review using a review action.
Allowed values:APPROVEREQUEST_CHANGESCOMMENT
Response
application/json
Response
Response
Pull Request Review
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
Show Child Parameters
The text of the review.
Example:This looks great.
Example:CHANGES_REQUESTED
Example:https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80
Example:https://api.github.com/repos/octocat/Hello-World/pulls/12
Show Child Parameters
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER