This endpoint supports the following custom media types. For more information, see “Media types.”
application/vnd.github-commitcomment.raw+json: Returns the raw markdown body. Response will include body. This is the default if you do not pass any specific media type.
application/vnd.github-commitcomment.text+json: Returns a text only representation of the markdown body. Response will include body_text.
application/vnd.github-commitcomment.html+json: Returns HTML rendered from the body’s markdown. Response will include body_html.
application/vnd.github-commitcomment.full+json: Returns raw, text, and HTML representations. Response will include body, body_text, and body_html.
Pull Request Reviews are reviews on pull requests.
object
id
required
Unique identifier of the review
integerformat: int64
node_id
required
string
user
required
Simple User
A GitHub user.
object
name
string
nullable
email
string
nullable
login
required
string
id
required
integerformat: int64
node_id
required
string
avatar_url
required
stringformat: uri
gravatar_id
required
string
nullable
url
required
stringformat: uri
html_url
required
stringformat: uri
followers_url
required
stringformat: uri
following_url
required
string
gists_url
required
string
starred_url
required
string
subscriptions_url
required
stringformat: uri
organizations_url
required
stringformat: uri
repos_url
required
stringformat: uri
events_url
required
string
received_events_url
required
stringformat: uri
type
required
string
site_admin
required
boolean
starred_at
string
user_view_type
string
body
required
The text of the review.
string
state
required
string
html_url
required
stringformat: uri
pull_request_url
required
stringformat: uri
_links
required
object
html
required
object
href
required
string
pull_request
required
object
href
required
string
submitted_at
stringformat: date-time
commit_id
required
A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be null.