PullRequestReviewThread [object]
A threaded list of comments for a given pull request.
Implements
Attributes
PullRequestReviewCommentConnection [object]
The connection type for PullRequestReviewComment.
Attributes
A list of edges.
A list of nodes.
Information to aid in pagination.
Identifies the total count of items in the connection.
A list of pull request comments associated with the thread.
DiffSide [enum]
The possible sides of a diff.
Possible values
The left side of the diff.
The right side of the diff.
The side of the diff on which this thread was placed.
ID [scalar]
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
The Node ID of the PullRequestReviewThread object
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether or not the thread has been collapsed (resolved)
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates whether this thread was outdated by newer changes.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether this thread has been resolved
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The line in the file to which this thread refers
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The original line in the file to which this thread refers.
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The original start line in the file to which this thread refers (multi-line only).
String [scalar]
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Identifies the file path of this thread.
PullRequest [object]
A repository pull request.
Implements
Attributes
Reason that the conversation was locked.
The number of additions in this pull request.
A list of Users assigned to this object.
The actor who authored the comment.
Author's association with the subject of the comment.
Returns the auto-merge request object if one exists for this pull request.
Identifies the base Ref associated with the pull request.
Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.
The repository associated with this pull request's base Ref.
The body as Markdown.
The body rendered to HTML.
The body rendered to text.
Whether or not the pull request is rebaseable.
The number of changed files in this pull request.
The HTTP path for the checks of this pull request.
The HTTP URL for the checks of this pull request.
true
if the pull request is closed
Identifies the date and time when the object was closed.
List of issues that were may be closed by this pull request
A list of comments associated with the pull request.
A list of commits present in this pull request's head branch not present in the base branch.
Identifies the date and time when the object was created.
Check if this comment was created via an email reply.
Identifies the primary key from the database.
The number of deletions in this pull request.
The actor who edited this pull request's body.
Lists the files changed within this pull request.
Identifies the primary key from the database as a BigInt.
Identifies the head Ref associated with the pull request.
Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.
The repository associated with this pull request's head Ref.
The owner of the repository associated with this pull request's head Ref.
The hovercard information for this issue
The Node ID of the PullRequest object
Check if this comment was edited and includes an edit with the creation data
The head and base repositories are different.
Identifies if the pull request is a draft.
Indicates whether the pull request is in a merge queue
Indicates whether the pull request's base ref has a merge queue enabled.
Is this pull request read by the viewer
A list of labels associated with the object.
The moment the editor made the last edit
A list of latest reviews per user associated with the pull request.
A list of latest reviews per user associated with the pull request that are not also pending review.
true
if the pull request is locked
Indicates whether maintainers can modify the pull request.
The commit that was created when this pull request was merged.
The merge queue for the pull request's base branch
The merge queue entry of the pull request in the base branch's merge queue
Detailed information about the current pull request merge state status.
Whether or not the pull request can be merged based on the existence of merge conflicts.
Whether or not the pull request was merged.
The date and time that the pull request was merged.
The actor who merged the pull request.
Identifies the milestone associated with the pull request.
Identifies the pull request number.
A list of Users that are participating in the Pull Request conversation.
The permalink to the pull request.
The commit that GitHub automatically generated to test if this pull request
could be merged. This field will not return a value if the pull request is
merged, or if the test merge commit is still being generated. See themergeable
field for more details on the mergeability of the pull request.
List of project cards associated with this pull request.
List of project items associated with this pull request.
Find a project by number.
A list of projects under the owner.
Identifies when the comment was published at.
A list of reactions grouped by content left on the subject.
A list of Reactions left on the Issue.
The repository associated with this node.
The HTTP path for this pull request.
The HTTP path for reverting this pull request.
The HTTP URL for reverting this pull request.
The current status of this pull request with respect to code review.
A list of review requests associated with the pull request.
The list of all review threads for this pull request.
A list of reviews associated with the pull request.
Identifies the state of the pull request.
A list of reviewer suggestions based on commit history and past review comments.
A list of events, comments, commits, etc. associated with the pull request.
A list of events, comments, commits, etc. associated with the pull request.
Identifies the pull request title.
Identifies the pull request title rendered to HTML.
Returns a count of how many comments this pull request has received.
Identifies the date and time when the object was last updated.
The HTTP URL for this pull request.
A list of edits to this content.
Whether or not the viewer can apply suggestion.
Indicates if the object can be closed by the viewer.
Check if the viewer can restore the deleted head ref.
Whether or not the viewer can disable auto-merge
Can the viewer edit files within this pull request.
Whether or not the viewer can enable auto-merge
Indicates whether the viewer can bypass branch protections and merge the pull request immediately
Can user react to this subject
Indicates if the object can be reopened by the viewer.
Check if the viewer is able to change their subscription status for the repository.
Check if the current viewer can update this object.
Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref.
If the head ref is up to date or unable to be updated by this user, this will return false.
Reasons why the current viewer can not update this comment.
Did the viewer author this comment.
The latest review given from the viewer.
The person who has requested the viewer for review on this pull request.
The merge body text for the viewer and method.
The merge headline text for the viewer and method.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Identifies the pull request associated with this thread.
Repository [object]
A repository contains the content for a project.
Implements
Attributes
Whether or not a pull request head branch that is behind its base branch can
always be updated even if it is not required to be up to date before merging.
Identifies the date and time when the repository was archived.
A list of users that can be assigned to issues in this repository.
Whether or not Auto-merge can be enabled on pull requests in this repository.
A list of branch protection rules for this repository.
Returns the code of conduct for this repository
Information extracted from the repository's CODEOWNERS
file.
A list of collaborators associated with the repository.
A list of commit comments associated with the repository.
Returns a list of contact links associated to the repository
Returns the contributing guidelines for this repository.
Identifies the date and time when the object was created.
Identifies the primary key from the database.
The Ref associated with the repository's default branch.
Whether or not branches are automatically deleted when merged in this repository.
A list of dependency manifests contained in the repository
A list of deploy keys that are on this repository.
Deployments associated with the repository
The description of the repository.
The description of the repository rendered to HTML.
Returns a single discussion from the current repository by number.
A list of discussion categories that are available in the repository.
A discussion category by slug.
A list of discussions that have been opened in the repository.
The number of kilobytes this repository occupies on disk.
Returns a single active environment from the current repository by name.
A list of environments that are in this repository.
Returns how many forks there are of this repository in the whole network.
Whether this repository allows forks.
A list of direct forked repositories.
The funding links for this repository
Indicates if the repository has the Discussions feature enabled.
Indicates if the repository has issues feature enabled.
Indicates if the repository has the Projects feature enabled.
Indicates if the repository displays a Sponsor button for financial contributions.
Whether vulnerability alerts are enabled for the repository.
Indicates if the repository has wiki feature enabled.
The repository's URL.
The Node ID of the Repository object
The interaction ability settings for this repository.
Indicates if the repository is unmaintained.
Returns true if blank issue creation is allowed
Returns whether or not this repository disabled.
Returns whether or not this repository is empty.
Identifies if the repository is a fork.
Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
Indicates if the repository has been locked or not.
Identifies if the repository is a mirror.
Identifies if the repository is private or internal.
Returns true if this repository has a security policy
Identifies if the repository is a template that can be used to generate new repositories.
Is this repository a user configuration repository?
Returns a single issue from the current repository by number.
Returns a single issue-like object from the current repository by number.
Returns a list of issue templates associated to the repository
A list of issues that have been opened in the repository.
Returns a single label by name
A list of labels associated with the repository.
A list containing a breakdown of the language composition of the repository.
Get the latest release for the repository if one exists.
The license associated with the repository
The reason the repository has been locked.
A list of Users that can be mentioned in the context of the repository.
Whether or not PRs are merged with a merge commit on this repository.
How the default commit message will be generated when merging a pull request.
How the default commit title will be generated when merging a pull request.
The merge queue for a specified branch, otherwise the default branch if not provided.
Returns a single milestone from the current repository by number.
A list of milestones associated with the repository.
The repository's original mirror URL.
The name of the repository.
The repository's name with owner.
A Git object in the repository
The image used to represent this repository in Open Graph data.
The User owner of the repository.
A list of packages under the owner.
The repository parent, if this is a fork.
A list of discussions that have been pinned in this repository.
A list of pinned issues for this repository.
The primary language of the repository's code.
Find project by number.
Finds and returns the Project according to the provided Project number.
A list of projects under the owner.
The HTTP path listing the repository's projects
The HTTP URL listing the repository's projects
List of projects linked to this repository.
Returns a single pull request from the current repository by number.
Returns a list of pull request templates associated to the repository
A list of pull requests that have been opened in the repository.
Identifies the date and time when the repository was last pushed to.
Whether or not rebase-merging is enabled on this repository.
Recent projects that this user has modified in the context of the owner.
Fetch a given ref from the repository
Fetch a list of refs from the repository
Lookup a single release given various criteria.
List of releases which are dependent on this repository.
A list of applied repository-topic associations for this repository.
The HTTP path for this repository
Returns a single ruleset from the current repository by ID.
A list of rulesets for this repository.
The security policy URL.
A description of the repository, rendered to HTML without any links in it.
Whether or not squash-merging is enabled on this repository.
How the default commit message will be generated when squash merging a pull request.
How the default commit title will be generated when squash merging a pull request.
Whether a squash merge commit can use the pull request title as default.
The SSH URL to clone this repository
Returns a count of how many stargazers there are on this object
A list of users who have starred this starrable.
Returns a list of all submodules in this repository parsed from the
.gitmodules file as of the default branch's HEAD commit.
Temporary authentication token for cloning this repository.
The repository from which this repository was generated, if any.
Identifies the date and time when the object was last updated.
The HTTP URL for this repository
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
Indicates whether the viewer has admin permissions on this repository.
Can the current viewer create new projects on this owner.
Check if the viewer is able to change their subscription status for the repository.
Indicates whether the viewer can update the topics of this repository.
The last commit email for the viewer.
The last used merge method by the viewer or the default for the repository.
Returns a boolean indicating whether the viewing user has starred this starrable.
The users permission level on the repository. Will return null if authenticated as an GitHub App.
A list of emails this viewer can commit with.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Indicates the repository's visibility level.
Returns a single vulnerability alert from the current repository by number.
A list of vulnerability alerts that are on this repository.
A list of users watching the repository.
Whether contributors are required to sign off on web-based commits in this repository.
Identifies the repository associated with this thread.
User [object]
A user is an individual's account on GitHub that owns repositories and can make new content.
Implements
Attributes
Determine if this repository owner has any items that can be pinned to their profile.
A URL pointing to the user's public avatar.
The user's public profile bio.
The user's public profile bio as HTML.
Could this user receive email notifications, if the organization had notification restrictions enabled?
A list of commit comments made by this user.
The user's public profile company.
The user's public profile company as HTML.
The collection of contributions this user has made to different repositories.
Identifies the date and time when the object was created.
Identifies the primary key from the database.
The user's publicly visible profile email.
A list of enterprises that the user belongs to.
The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
A list of users the given user is followed by.
A list of users the given user is following.
Find gist by repo name.
A list of gist comments made by this user.
A list of the Gists the user has created.
True if this user/organization has a GitHub Sponsors listing.
The hovercard information for this user in a given context
The Node ID of the User object
The interaction ability settings for this user.
Whether or not this user is a participant in the GitHub Security Bug Bounty.
Whether or not this user is a participant in the GitHub Campus Experts Program.
Whether or not this user is a GitHub Developer Program member.
Whether or not this user is a GitHub employee.
Whether or not this user is following the viewer. Inverse of viewerIsFollowing
Whether or not this user is a member of the GitHub Stars Program.
Whether or not the user has marked themselves as for hire.
Whether or not this user is a site administrator.
Whether the given account is sponsoring this user/organization.
True if the viewer is sponsored by this user/organization.
Whether or not this user is the viewing user.
A list of issue comments made by this user.
A list of issues associated with this user.
Showcases a selection of repositories and gists that the profile owner has
either curated or that have been selected automatically based on popularity.
Calculate how much each sponsor has ever paid total to this maintainer via
GitHub Sponsors. Does not include sponsorships paid via Patreon.
A user-curated list of repositories
The user's public profile location.
The username used to login.
The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
The user's public profile name.
Find an organization by its login that the user belongs to.
Verified email addresses that match verified domains for a specified organization the user is a member of.
A list of organizations the user belongs to.
A list of packages under the owner.
A list of repositories and gists this profile owner can pin to their profile.
A list of repositories and gists this profile owner has pinned to their profile
Returns how many more items this profile owner can pin to their profile.
Find project by number.
Find a project by number.
A list of projects under the owner.
The HTTP path listing user's projects
The HTTP URL listing user's projects
A list of projects under the owner.
The user's profile pronouns
A list of public keys associated with this user.
A list of pull requests associated with this user.
Recent projects that this user has modified in the context of the owner.
A list of repositories that the user owns.
A list of repositories that the user recently contributed to.
Find Repository.
Discussion comments this user has authored.
Discussions this user has started.
The HTTP path for this user
Replies this user has saved
The user's social media accounts, ordered as they appear on the user's profile.
List of users and organizations this entity is sponsoring.
List of sponsors for this user or organization.
Events involving this sponsorable, such as new sponsorships.
The GitHub Sponsors listing for this user or organization.
The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
List of sponsorship updates sent from this sponsorable to sponsors.
The sponsorships where this user or organization is the maintainer receiving the funds.
The sponsorships where this user or organization is the funder.
Repositories the user has starred.
The user's description of what they're currently doing.
Suggested names for user lists
Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created
The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has
spent on GitHub to fund sponsorships. Only returns a value when viewed by the
user themselves or by a user who can manage sponsorships for the requested organization.
The user's Twitter username.
Identifies the date and time when the object was last updated.
The HTTP URL for this user
Can the viewer pin repositories and gists to the profile?
Can the current viewer create new projects on this owner.
Whether or not the viewer is able to follow the user.
Whether or not the viewer is able to sponsor this user/organization.
Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.
True if the viewer is sponsoring this user/organization.
A list of repositories the given user is watching.
A URL pointing to the user's public website/blog.
The user who resolved this thread
DiffSide [enum]
The possible sides of a diff.
Possible values
The left side of the diff.
The right side of the diff.
The side of the diff that the first line of the thread starts on (multi-line only)
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The start line in the file to which this thread refers (multi-line only)
PullRequestReviewThreadSubjectType [enum]
The possible subject types of a pull request review comment.
Possible values
A comment that has been made against the file of a pull request
A comment that has been made against the line of a pull request
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates whether the current viewer can reply to this thread.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether or not the viewer can resolve this thread
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether or not the viewer can unresolve this thread