OBJECT

PullRequestReview

A review object for a given pull request.

link GraphQL Schema definition

  • type PullRequestReview implements Node, Comment, RepositoryNode {
  • # The author of the comment.
  • author: Author
  • # Identifies the pull request review body.
  • body: String!
  • # The body of this review rendered to HTML.
  • bodyHTML: HTML!
  • # The body of this review rendered as plain text.
  • bodyText: String!
  • # A list of review comments for the current pull request review.
  • #
  • # Arguments
  • # first: Returns the first _n_ elements from the list.
  • # after: Returns the elements in the list that come after the
  • # specified global ID.
  • # last: Returns the last _n_ elements from the list.
  • # before: Returns the elements in the list that come before the
  • # specified global ID.
  • comments(first: Int, after: String, last: Int, before: String): PullRequestReviewCommentConnection!
  • # Identifies the commit associated with this pull request review.
  • commit: Commit
  • # Identifies the date and time when the object was created.
  • createdAt: DateTime!
  • # Check if this comment was created via an email reply.
  • createdViaEmail: Boolean!
  • # Identifies the primary key from the database.
  • databaseId: Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." )
  • # The editor of the comment.
  • editor: Author
  • id: ID!
  • # The moment the editor made the last edit
  • lastEditedAt: DateTime
  • # The HTTP URL permalink for this PullRequestReview.
  • path: URI!
  • # Identifies the pull request associated with this pull request review.
  • pullRequest: PullRequest!
  • # The repository associated with this node.
  • repository: Repository!
  • # Identifies the current state of the pull request review.
  • state: PullRequestReviewState!
  • # Identifies when the Pull Request Review was submitted
  • submittedAt: DateTime
  • # Identifies the date and time when the object was last updated.
  • updatedAt: DateTime!
  • # The HTTP URL permalink for this PullRequestReview.
  • url: URI!
  • # Check if the current viewer can delete this comment.
  • viewerCanDelete: Boolean!
  • # Check if the current viewer edit this comment.
  • viewerCanEdit: Boolean!
  • # Errors why the current viewer can not edit this comment.
  • viewerCannotEditReasons: [CommentCannotEditReason!]!
  • # Did the viewer author this comment.
  • viewerDidAuthor: Boolean!
  • }