ClosePullRequestPayload [object]
Autogenerated return type of ClosePullRequest
Attributes
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.
A unique identifier for the client performing the mutation.
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.
The pull request that was closed.