PullRequestReviewThread

A threaded list of comments for a given pull request.

Implements

Connections

comments (PullRequestReviewCommentConnection!)

A list of pull request comments associated with the thread.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

skip Int

Skips the first n elements in the list.

Fields

diffSide (DiffSide!)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The side of the diff on which this thread was placed.

id (ID!)
isResolved (Boolean!)

Whether this thread has been resolved

line (Int)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The line in the file to which this thread refers

originalLine (Int)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The original line in the file to which this thread refers.

originalStartLine (Int)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The original start line in the file to which this thread refers (multi-line only).

pullRequest (PullRequest!)

Identifies the pull request associated with this thread.

repository (Repository!)

Identifies the repository associated with this thread.

resolvedBy (User)

The user who resolved this thread

startDiffSide (DiffSide)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The side of the diff that the first line of the thread starts on (multi-line only)

startLine (Int)

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Multi-Line Comments Preview preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

The start line in the file to which this thread refers (multi-line only)

viewerCanResolve (Boolean!)

Whether or not the viewer can resolve this thread

viewerCanUnresolve (Boolean!)

Whether or not the viewer can unresolve this thread