https://platform.codeclimate.com/schemas/review#/properties/pullRequestReview/oneOf/0
A review of a PullRequest.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | PullRequestComment.schema.json* |
object
(Review)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
_type | string |
Required | cannot be null | Review |
id | string |
Required | cannot be null | Review |
self | string |
Required | cannot be null | Review |
pullRequest | Merged | Required | cannot be null | Review |
author | Merged | Required | cannot be null | Review |
state | string |
Required | cannot be null | Review |
body | string |
Optional | cannot be null | Review |
bodyHtml | string |
Optional | cannot be null | Review |
bodyText | string |
Optional | cannot be null | Review |
publishedAt | string |
Optional | cannot be null | Review |
createdAt | string |
Optional | cannot be null | Review |
updatedAt | string |
Optional | cannot be null | Review |
_type
- is required
- Type:
string
- cannot be null
- defined in: Review
string
constant: the value of this property must be equal to:
"Review"
The unique ID of this review
id
- is required
- Type:
string
- cannot be null
- defined in: Review
string
The canonical URI for this record
self
- is required
- Type:
string
- cannot be null
- defined in: Review
string
URI: the string must be a URI, according to RFC 3986
The self
URI of the pull request, or a nested pull request record.
pullRequest
merged type (Details)
one (and only one) of
The self
URI of the author, or a nested author record.
author
merged type (Details)
one (and only one) of
The state of the review
state
- is required
- Type:
string
- cannot be null
- defined in: Review
string
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"APPROVED" |
|
"COMMENTED" |
|
"DISMISSED" |
The body of this review
body
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
The body html of this review
bodyHtml
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
The body text of this review
bodyText
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
The time this review was published
publishedAt
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time this review was created
createdAt
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time this review was updated
updatedAt
- is optional
- Type:
string
- cannot be null
- defined in: Review
string
date time: the string must be a date time string, according to RFC 3339, section 5.6