Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
List comments for a specific pull request review.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
review_id parameter
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
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
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
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.
review_id parameter
The message for the pull request review dismissal
Example:"APPROVE"
Response
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
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
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
review_id parameter
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
Pull Request Reviews are reviews on pull requests.
Unique identifier of the review
Example:42
Example:MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=
Simple User
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
A commit SHA for the review.
Example:54bb654c9e6025347f57900a4a5c2313a96b8035
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
The expected SHA of the pull request’s HEAD ref. This is the most recent commit on the pull request’s branch. If the expected SHA does not match the pull request’s HEAD, you will receive a 422 Unprocessable Entity
status. You can use the “List commits” endpoint to find the most recent commit SHA. Default: SHA of the pull request’s current HEAD ref.
Response
Note: Accessing this endpoint does not count against your REST API rate limit.
Note: The rate
object is deprecated. If you’re writing new API client code or updating existing code, you should use the core
object instead of the rate
object. The core
object contains the same information that is present in the rate
object.
Response
Rate Limit Overview