v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

List all reviews for a pull request

get/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

Query parameters

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

PullReviewList

bodystring
comments_countinteger
commit_idstring
dismissedboolean
html_urlstring

HTMLURL is the web URL for viewing the review

idinteger
officialboolean
pull_request_urlstring

HTMLPullURL is the web URL for the pull request

staleboolean
state'APPROVED' | 'PENDING' | 'COMMENT' | 'REQUEST_CHANGES' | 'REQUEST_REVIEW'
submitted_atstring date-time
updated_atstring date-time

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"
      }
    }
  }
]