Skip to main content
PUT
Request a reviewer on a pull request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pullRequestID
string<uuid>
required
kind
enum<string>
required

user names a GitHub user by login; team names an organization team by slug.

Available options:
user,
team
name
string
required

The user's login or the team's slug, as GitHub spells it.

Maximum string length: 100
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*(\[bot\])?$

Query Parameters

org_id
string<uuid>

The pull request's owning organization to act in: the org_id the PullRequest carries. Omitted, getPullRequest and the review page's operations (its review, file, head snapshot and stack) act in the owning organization getPullRequest ranks first, and a console operation refuses with 422 org_id_required when more than one of the caller's organizations owns the pull request.

Response

OK

checks
object[]
required
merge_box
object
required
reviewers
object[]
required
reviews
object[]
required