repository
Submit a pending review to a pull request
post/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
Path parameters
ownerstring required
owner of the repo
repostring required
name of the repo
indexinteger required
index of the pull request
idinteger required
id of the review
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"
}
}
}