Github GraphQL API / PullRequest
A repository pull request.
Implements
- Node
- Assignable
- Closable
- Comment
- Updatable
- UpdatableComment
- Labelable
- Lockable
- Reactable
- RepositoryNode
- Subscribable
- UniformResourceLocatable
- ProjectNextOwner
Fields
activeLockReason : LockReason
additions : Int!
assignees
(
String: String
String: String
Int: Int
Int: Int
)
:
UserConnection!
author : Actor
authorAssociation : CommentAuthorAssociation!
autoMergeRequest : AutoMergeRequest
baseRef : Ref
baseRefName : String!
baseRefOid : GitObjectID!
baseRepository : Repository
body : String!
bodyHTML : HTML!
bodyText : String!
changedFiles : Int!
checksResourcePath : URI!
checksUrl : URI!
closed : Boolean!
closedAt : DateTime
closingIssuesReferences
(
String: String
String: String
Int: Int
Int: Int
IssueOrder: IssueOrder
)
:
IssueConnection
comments
(
IssueCommentOrder: IssueCommentOrder
String: String
String: String
Int: Int
Int: Int
)
:
IssueCommentConnection!
commits
(
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestCommitConnection!
createdAt : DateTime!
createdViaEmail : Boolean!
databaseId : Int
deletions : Int!
editor : Actor
files
(
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestChangedFileConnection
headRef : Ref
headRefName : String!
headRefOid : GitObjectID!
headRepository : Repository
headRepositoryOwner : RepositoryOwner
hovercard
(
Boolean: Boolean
)
:
Hovercard!
id : ID!
includesCreatedEdit : Boolean!
isCrossRepository : Boolean!
isDraft : Boolean!
isReadByViewer : Boolean
labels
(
LabelOrder: LabelOrder
String: String
String: String
Int: Int
Int: Int
)
:
LabelConnection
lastEditedAt : DateTime
latestOpinionatedReviews
(
String: String
String: String
Int: Int
Int: Int
Boolean: Boolean
)
:
PullRequestReviewConnection
latestReviews
(
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestReviewConnection
locked : Boolean!
maintainerCanModify : Boolean!
mergeCommit : Commit
mergeable : MergeableState!
merged : Boolean!
mergedAt : DateTime
mergedBy : Actor
milestone : Milestone
number : Int!
participants
(
String: String
String: String
Int: Int
Int: Int
)
:
UserConnection!
permalink : URI!
potentialMergeCommit : Commit
projectCards
(
String: String
String: String
Int: Int
Int: Int
ProjectCardArchivedState: [ProjectCardArchivedState]
)
:
ProjectCardConnection!
projectNext
(
Int: Int!
)
:
ProjectNext
projectsNext
(
String: String
String: String
Int: Int
Int: Int
String: String
ProjectNextOrderField: ProjectNextOrderField
)
:
ProjectNextConnection!
publishedAt : DateTime
reactionGroups : [ReactionGroup!]
reactions
(
String: String
String: String
Int: Int
Int: Int
ReactionContent: ReactionContent
ReactionOrder: ReactionOrder
)
:
ReactionConnection!
repository : Repository!
resourcePath : URI!
revertResourcePath : URI!
revertUrl : URI!
reviewDecision : PullRequestReviewDecision
reviewRequests
(
String: String
String: String
Int: Int
Int: Int
)
:
ReviewRequestConnection
reviewThreads
(
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestReviewThreadConnection!
reviews
(
String: String
String: String
Int: Int
Int: Int
PullRequestReviewState: [PullRequestReviewState!]
String: String
)
:
PullRequestReviewConnection
state : PullRequestState!
suggestedReviewers : [SuggestedReviewer]!
timeline
(
DateTime: DateTime
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestTimelineConnection!
timelineItems
(
DateTime: DateTime
Int: Int
PullRequestTimelineItemsItemType: [PullRequestTimelineItemsItemType!]
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestTimelineItemsConnection!
title : String!
titleHTML : HTML!
updatedAt : DateTime!
url : URI!
userContentEdits
(
String: String
String: String
Int: Int
Int: Int
)
:
UserContentEditConnection
viewerCanApplySuggestion : Boolean!
viewerCanDeleteHeadRef : Boolean!
viewerCanDisableAutoMerge : Boolean!
viewerCanEnableAutoMerge : Boolean!
viewerCanReact : Boolean!
viewerCanSubscribe : Boolean!
viewerCanUpdate : Boolean!
viewerCannotUpdateReasons : [CommentCannotUpdateReason!]!
viewerDidAuthor : Boolean!
viewerLatestReview : PullRequestReview
viewerLatestReviewRequest : ReviewRequest
viewerMergeBodyText
(
PullRequestMergeMethod: PullRequestMergeMethod
)
:
String!
viewerMergeHeadlineText
(
PullRequestMergeMethod: PullRequestMergeMethod
)
:
String!
viewerSubscription : SubscriptionState