OBJECT

PullRequestReviewComment

A review comment associated with a given repository pull request.

link GraphQL Schema definition

  • type PullRequestReviewComment implements Node, Comment, Reactable, RepositoryNode {
  • # The author of the comment.
  • author: Author
  • # The comment body of this review comment.
  • body: String!
  • # The comment body of this review comment rendered to HTML.
  • bodyHTML: HTML!
  • # The comment body of this review comment rendered as plain text.
  • bodyText: String!
  • # Identifies the commit associated with the comment.
  • commit: Commit!
  • # Identifies when the comment 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 diff hunk to which the comment applies.
  • diffHunk: String!
  • # The editor of the comment.
  • editor: Author
  • id: ID!
  • # The moment the editor made the last edit
  • lastEditedAt: DateTime
  • # Are reaction live updates enabled for this subject.
  • liveReactionUpdatesEnabled: Boolean!
  • # Identifies the original commit associated with the comment.
  • originalCommit: Commit!
  • # The original line index in the diff to which the comment applies.
  • originalPosition: Int!
  • # The path to which the comment applies.
  • path: String!
  • # The line index in the diff to which the comment applies.
  • position: Int
  • # The pull request associated with this review comment.
  • pullRequest: PullRequest!
  • # The pull request review associated with this review comment.
  • pullRequestReview: PullRequestReview!
  • # A list of reactions grouped by content left on the subject.
  • reactionGroups: [ReactionGroup!]
  • # A list of Reactions left on the Issue.
  • #
  • # 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.
  • # content: Allows filtering Reactions by emoji.
  • # orderBy: Allows specifying the order in which reactions are
  • # returned.
  • reactions(
  • first: Int,
  • after: String,
  • last: Int,
  • before: String,
  • content: ReactionContent,
  • orderBy: ReactionOrder
  • ): ReactionConnection!
  • # The websocket channel ID for reaction live updates.
  • reactionsWebsocket: String!
  • # The repository associated with this review comment.
  • repository: Repository!
  • # Identifies when the comment was last updated.
  • updatedAt: DateTime!
  • # The HTTP URL permalink for this review comment.
  • url: URI!
  • # Check if the current viewer can delete this comment.
  • viewerCanDelete: Boolean!
  • # Check if the current viewer edit this comment.
  • viewerCanEdit: Boolean!
  • # Can user react to this subject
  • viewerCanReact: Boolean!
  • # Errors why the current viewer can not edit this comment.
  • viewerCannotEditReasons: [CommentCannotEditReason!]!
  • # Did the viewer author this comment.
  • viewerDidAuthor: Boolean!
  • # The websocket channel ID for live updates.
  • #
  • # Arguments
  • # channel: The channel to use.
  • websocket(channel: PullRequestPubSubTopic!): String!
  • }