Create a review to an pull request
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Owner of the repo
Name of the repo
Index of the pull request
Request Body
Section titled “ Request Body ”CreatePullReviewOptions are options to create a pull review
object
CreatePullReviewComment represent a review comment for creation api
object
Number of additional lines after the commented line (0 = single line comment)
If comment to new file line or 0
If comment to old file line or 0
The tree path
ReviewStateType review state type
Example generated
{ "body": "example", "comments": [ { "body": "example", "extra_lines_count": 1, "new_position": 1, "old_position": 1, "path": "example" } ], "commit_id": "example", "event": "example"}CreatePullReviewOptions are options to create a pull review
object
CreatePullReviewComment represent a review comment for creation api
object
Number of additional lines after the commented line (0 = single line comment)
If comment to new file line or 0
If comment to old file line or 0
The tree path
ReviewStateType review state type
Responses
Section titled “ Responses ”PullReview
PullReview represents a pull request review
object
ReviewStateType review state type
Team represents a team in an organization
object
Organization represents an organization
object
Deprecated
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Example
{ "team": { "permission": "none", "units": [ "repo.code", "repo.issues", "repo.ext_issues", "repo.wiki", "repo.pulls", "repo.releases", "repo.projects", "repo.ext_wiki" ], "units_map": { "repo.actions": "none", "repo.code": "read", "repo.ext_issues": "none", "repo.ext_wiki": "none", "repo.issues": "write", "repo.packages": "none", "repo.projects": "none", "repo.pulls": "owner", "repo.releases": "none", "repo.wiki": "admin" } }, "user": { "login_name": "empty" }}APINotFound is a not found error response
object
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}APIValidationError is error format response related to input validation
object
Example generated
{ "message": "example", "url": "example"}