repository
Create a review to a pull request
post/repos/{owner}/{repo}/pulls/{index}/reviews
Path parameters
ownerstring required
owner of the repo
repostring required
name of the repo
indexinteger required
index of the pull request
Request body
Response
PullReview
Example response
{
"team": {
"units": [
"repo.code",
"repo.issues",
"repo.ext_issues",
"repo.wiki",
"repo.pulls",
"repo.releases",
"repo.projects",
"repo.ext_wiki"
],
"units_map": {
"repo.code": "read",
"repo.ext_issues": "none",
"repo.ext_wiki": "none",
"repo.issues": "write",
"repo.projects": "none",
"repo.pulls": "owner",
"repo.releases": "none",
"repo.wiki": "admin"
}
}
}