List Pull Request Reviewers
Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the List reviews for a pull request operation.
External Documentation
To learn more, visit the GitHub documentation.
Parameters
Parameter | Description |
---|---|
Owner | The organization or person who owns the repository. github.com/{owner}/{repo} |
Pull Number | Pull number can be found in the pull request's URL. |
Repo | Name of the repository owned by the owner. github.com/{owner}/{repo} |
Example Output
{
"value": {
"teams": [
{
"description": "A great team.",
"html_url": "https://github.com/orgs/github/teams/justice-league",
"id": 1,
"members_url": "https://api.github.com/teams/1/members{/member}",
"name": "Justice League",
"node_id": "MDQ6VGVhbTE=",
"parent": null,
"permission": "admin",
"privacy": "closed",
"repositories_url": "https://api.github.com/teams/1/repos",
"slug": "justice-league",
"url": "https://api.github.com/teams/1"
}
],
"users": [
{
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/octocat",
"id": 1,
"login": "octocat",
"node_id": "MDQ6VXNlcjE=",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"repos_url": "https://api.github.com/users/octocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/octocat"
}
]
}
}
Workflow Library Example
List Pull Request Reviewers with Github and Send Results Via Email
Preview this Workflow on desktop