OBJECT
PullRequest
A repository pull request.
link GraphQL Schema definition
- type PullRequest implements Node, Comment, Issueish, Reactable, RepositoryNode, Timeline, UniformResourceLocatable {
- # A list of Users assigned to the Issue or Pull Request.
- #
- # 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.
- (: Int, : String, : Int, : String): UserConnection!
- # The author of the issue or pull request.
- : Author
- # Identifies the base Ref associated with the pull request.
- : Ref
- # Identifies the name of the base Ref associated with the pull request, even if
- # the ref has been deleted.
- : String!
- # Identifies the body of the pull request.
- : String!
- # Identifies the body of the pull request rendered to HTML.
- : HTML!
- # Identifies the body of the pull request rendered to text.
- : String!
- # A list of comments associated with the pull request.
- #
- # 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.
- (: Int, : String, : Int, : String): IssueCommentConnection!
- # A list of commits present in this pull request's head branch not present in the
- # base branch.
- #
- # 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.
- (: Int, : String, : Int, : String): CommitConnection!
- # Identifies the date and time when the object was created.
- : DateTime!
- # Check if this comment was created via an email reply.
- : Boolean!
- # Identifies the primary key from the database.
- : Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." )
- # The editor of this pull request's body.
- : Author
- # Identifies the head Ref associated with the pull request.
- : Ref
- # Identifies the name of the head Ref associated with the pull request, even if
- # the ref has been deleted.
- : String!
- # The repository associated with this pull request's head Ref.
- : Repository
- # The owner of the repository associated with this pull request's head Ref.
- : RepositoryOwner!
- : ID!
- # A list of labels associated with the Issue or Pull Request.
- #
- # 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.
- (: Int, : String, : Int, : String): LabelConnection
- # The moment the editor made the last edit
- : DateTime
- # Are reaction live updates enabled for this subject.
- : Boolean!
- # The commit that was created when this pull request was merged.
- : Commit
- # Identifies the pull request number.
- : Int!
- # The HTTP path for this issue
- : URI!
- # A list of reactions grouped by content left on the subject.
- : [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.
- (
- : Int,
- : String,
- : Int,
- : String,
- : ReactionContent,
- : ReactionOrder
- ): ReactionConnection!
- # The websocket channel ID for reaction live updates.
- : String!
- # The repository associated with this pull request.
- : Repository!
- # A list of review requests associated with the pull request.
- #
- # 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.
- (: Int, : String, : Int, : String): ReviewRequestConnection
- # A list of reviews associated with the pull request.
- #
- # 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.
- # states: A list of states to filter the reviews.
- (
- : Int,
- : String,
- : Int,
- : String,
- : [PullRequestReviewState!]
- ): PullRequestReviewConnection
- # Identifies the state of the pull request.
- : PullRequestState!
- # A list of events associated with an Issue or PullRequest.
- #
- # 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.
- # since: Allows filtering timeline events by a `since` timestamp.
- (: Int, : String, : Int, : String, : String): IssueTimelineConnection!
- # Identifies the pull request title.
- : String!
- # Identifies the date and time when the object was last updated.
- : DateTime!
- # The HTTP url for this issue
- : URI!
- # Check if the current viewer can delete this issue.
- : Boolean!
- # Check if the current viewer edit this comment.
- : Boolean!
- # Can user react to this subject
- : Boolean!
- # Errors why the current viewer can not edit this comment.
- : [CommentCannotEditReason!]!
- # Did the viewer author this comment.
- : Boolean!
- # The websocket channel ID for live updates.
- #
- # Arguments
- # channel: The channel to use.
- (: PullRequestPubSubTopic!): String!
- }
link Require by
- ProjectCardItemTypes that can be inside Project Cards.
- PullRequestConnectionThe connection type for PullRequest.
- PullRequestEdgeAn edge in a connection.
- PullRequestReviewA review object for a given pull request.
- PullRequestReviewCommentA review comment associated with a given repository pull request.
- PullRequestReviewThreadA threaded list of comments for a given pull request.
- RepositoryA repository contains the content for a project.
- RequestReviewsPayloadAutogenerated return type of RequestReviews
- ReviewRequestA request for a user to review a pull request.
- SearchResultItemThe results of a search.