Mutations
addAssigneesToAssignable
Adds assignees to an assignable object.
输入 addAssigneesToAssignable 字段
input(AddAssigneesToAssignableInput!)
返回 addAssigneesToAssignable 字段
| 名称 | 说明 |
|---|---|
| The item that was assigned. |
| A unique identifier for the client performing the mutation. |
addBlockedBy
Adds a 'blocked by' relationship to an issue.
输入 addBlockedBy 字段
input(AddBlockedByInput!)
返回 addBlockedBy 字段
| 名称 | 说明 |
|---|---|
| The issue that is blocking the given issue. |
| A unique identifier for the client performing the mutation. |
| The issue that is blocked. |
addComment
Adds a comment to an Issue or Pull Request.
输入 addComment 字段
input(AddCommentInput!)
返回 addComment 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The edge from the subject's comment connection. |
| The subject. |
| The edge from the subject's timeline connection. |
addLabelsToLabelable
Adds labels to a labelable object.
输入 addLabelsToLabelable 字段
input(AddLabelsToLabelableInput!)
返回 addLabelsToLabelable 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item that was labeled. |
addSubIssue
Adds a sub-issue to a given issue.
输入 addSubIssue 字段
input(AddSubIssueInput!)
返回 addSubIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The parent issue that the sub-issue was added to. |
| The sub-issue of the parent. |
clearLabelsFromLabelable
Clears all labels from a labelable object.
输入 clearLabelsFromLabelable 字段
input(ClearLabelsFromLabelableInput!)
返回 clearLabelsFromLabelable 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item that was unlabeled. |
closeIssue
Close an issue.
输入 closeIssue 字段
input(CloseIssueInput!)
返回 closeIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue that was closed. |
createIssue
Creates a new issue.
输入 createIssue 字段
input(CreateIssueInput!)
返回 createIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new issue. |
createIssueType
Creates a new issue type.
输入 createIssueType 字段
input(CreateIssueTypeInput!)
返回 createIssueType 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The newly created issue type. |
createLabel
Creates a new label.
输入 createLabel 字段
input(CreateLabelInput!)
返回 createLabel 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new label. |
createLinkedBranch
Create a branch linked to an issue.
输入 createLinkedBranch 字段
input(CreateLinkedBranchInput!)
返回 createLinkedBranch 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue that was linked to. |
| The new branch issue reference. |
deleteIssue
Deletes an Issue object.
输入 deleteIssue 字段
input(DeleteIssueInput!)
返回 deleteIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The repository the issue belonged to. |
deleteIssueComment
Deletes an IssueComment object.
输入 deleteIssueComment 字段
input(DeleteIssueCommentInput!)
返回 deleteIssueComment 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
deleteIssueType
Delete an issue type.
输入 deleteIssueType 字段
input(DeleteIssueTypeInput!)
返回 deleteIssueType 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the deleted issue type. |
deleteLabel
Deletes a label.
输入 deleteLabel 字段
input(DeleteLabelInput!)
返回 deleteLabel 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
deleteLinkedBranch
Unlink a branch from an issue.
输入 deleteLinkedBranch 字段
input(DeleteLinkedBranchInput!)
返回 deleteLinkedBranch 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue the linked branch was unlinked from. |
lockLockable
Lock a lockable object.
输入 lockLockable 字段
input(LockLockableInput!)
返回 lockLockable 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| A unique identifier for the client performing the mutation. |
| The item that was locked. |
minimizeComment
Minimizes a comment on an Issue, Commit, Pull Request, or Gist.
输入 minimizeComment 字段
input(MinimizeCommentInput!)
返回 minimizeComment 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The comment that was minimized. |
pinIssue
Pin an issue to a repository.
输入 pinIssue 字段
input(PinIssueInput!)
返回 pinIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue that was pinned. |
removeAssigneesFromAssignable
Removes assignees from an assignable object.
输入 removeAssigneesFromAssignable 字段
返回 removeAssigneesFromAssignable 字段
| 名称 | 说明 |
|---|---|
| The item that was unassigned. |
| A unique identifier for the client performing the mutation. |
removeBlockedBy
Removes a 'blocked by' relationship from an issue.
输入 removeBlockedBy 字段
input(RemoveBlockedByInput!)
返回 removeBlockedBy 字段
| 名称 | 说明 |
|---|---|
| The previously blocking issue. |
| A unique identifier for the client performing the mutation. |
| The previously blocked issue. |
removeLabelsFromLabelable
Removes labels from a Labelable object.
输入 removeLabelsFromLabelable 字段
input(RemoveLabelsFromLabelableInput!)
返回 removeLabelsFromLabelable 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Labelable the labels were removed from. |
removeSubIssue
Removes a sub-issue from a given issue.
输入 removeSubIssue 字段
input(RemoveSubIssueInput!)
返回 removeSubIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The parent of the sub-issue. |
| The sub-issue of the parent. |
reopenIssue
Reopen a issue.
输入 reopenIssue 字段
input(ReopenIssueInput!)
返回 reopenIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue that was opened. |
replaceActorsForAssignable
Replaces all actors for assignable object.
输入 replaceActorsForAssignable 字段
input(ReplaceActorsForAssignableInput!)
返回 replaceActorsForAssignable 字段
| 名称 | 说明 |
|---|---|
| The item that was assigned. |
| A unique identifier for the client performing the mutation. |
reprioritizeSubIssue
Reprioritizes a sub-issue to a different position in the parent list.
输入 reprioritizeSubIssue 字段
input(ReprioritizeSubIssueInput!)
返回 reprioritizeSubIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The parent issue that the sub-issue was reprioritized in. |
transferIssue
Transfer an issue to a different repository.
输入 transferIssue 字段
input(TransferIssueInput!)
返回 transferIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue that was transferred. |
unlockLockable
Unlock a lockable object.
输入 unlockLockable 字段
input(UnlockLockableInput!)
返回 unlockLockable 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| A unique identifier for the client performing the mutation. |
| The item that was unlocked. |
unmarkIssueAsDuplicate
Unmark an issue as a duplicate of another issue.
输入 unmarkIssueAsDuplicate 字段
input(UnmarkIssueAsDuplicateInput!)
返回 unmarkIssueAsDuplicate 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The issue or pull request that was marked as a duplicate. |
unminimizeComment
Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.
输入 unminimizeComment 字段
input(UnminimizeCommentInput!)
返回 unminimizeComment 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The comment that was unminimized. |
unpinIssue
Unpin a pinned issue from a repository.
输入 unpinIssue 字段
input(UnpinIssueInput!)
返回 unpinIssue 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The id of the pinned issue that was unpinned. |
| The issue that was unpinned. |
updateIssue
Updates an Issue.
输入 updateIssue 字段
input(UpdateIssueInput!)
返回 updateIssue 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| A unique identifier for the client performing the mutation. |
| The issue. |
updateIssueComment
Updates an IssueComment object.
输入 updateIssueComment 字段
input(UpdateIssueCommentInput!)
返回 updateIssueComment 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated comment. |
updateIssueIssueType
Updates the issue type on an issue.
输入 updateIssueIssueType 字段
input(UpdateIssueIssueTypeInput!)
返回 updateIssueIssueType 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated issue. |
updateIssueType
Update an issue type.
输入 updateIssueType 字段
input(UpdateIssueTypeInput!)
返回 updateIssueType 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated issue type. |
updateLabel
Updates an existing label.
输入 updateLabel 字段
input(UpdateLabelInput!)
返回 updateLabel 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated label. |
Objects
AssignedEvent
Represents anassignedevent on any assignable object.
AssignedEvent 实现
AssignedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the assignable associated with the event. |
| Identifies the user or mannequin that was assigned. |
| Identifies the date and time when the object was created. |
| The Node ID of the AssignedEvent object. |
| Identifies the user who was assigned. 警告
Assignees can now be mannequins. Use the |
AssigneeConnection
The connection type for Assignee.
AssigneeConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
AssigneeEdge
An edge in a connection.
AssigneeEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
BlockedByAddedEvent
Represents ablocked_by_addedevent on a given issue.
BlockedByAddedEvent 实现
BlockedByAddedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The blocking issue that was added. |
| Identifies the date and time when the object was created. |
| The Node ID of the BlockedByAddedEvent object. |
BlockedByRemovedEvent
Represents ablocked_by_removedevent on a given issue.
BlockedByRemovedEvent 实现
BlockedByRemovedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The blocking issue that was removed. |
| Identifies the date and time when the object was created. |
| The Node ID of the BlockedByRemovedEvent object. |
BlockingAddedEvent
Represents ablocking_addedevent on a given issue.
BlockingAddedEvent 实现
BlockingAddedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The blocked issue that was added. |
| Identifies the date and time when the object was created. |
| The Node ID of the BlockingAddedEvent object. |
BlockingRemovedEvent
Represents ablocking_removedevent on a given issue.
BlockingRemovedEvent 实现
BlockingRemovedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The blocked issue that was removed. |
| Identifies the date and time when the object was created. |
| The Node ID of the BlockingRemovedEvent object. |
ClosedEvent
Represents aclosedevent on any Closable.
ClosedEvent 实现
ClosedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Object that was closed. |
| Object which triggered the creation of this event. |
| Identifies the date and time when the object was created. |
| The issue or pull request that this issue was marked as a duplicate of. |
| The Node ID of the ClosedEvent object. |
| The HTTP path for this closed event. |
| The reason the issue state was changed to closed. |
| The HTTP URL for this closed event. |
CommentDeletedEvent
Represents acomment_deletedevent on a given issue or pull request.
CommentDeletedEvent 实现
CommentDeletedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The user who authored the deleted comment. |
| The Node ID of the CommentDeletedEvent object. |
ConnectedEvent
Represents aconnectedevent on a given issue or pull request.
ConnectedEvent 实现
ConnectedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the ConnectedEvent object. |
| Reference originated in a different repository. |
| Issue or pull request that made the reference. |
| Issue or pull request which was connected. |
ConvertedNoteToIssueEvent
Represents aconverted_note_to_issueevent on a given issue or pull request.
ConvertedNoteToIssueEvent 实现
ConvertedNoteToIssueEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The Node ID of the ConvertedNoteToIssueEvent object. |
| Project referenced by event. 警告
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| Project card referenced by this project event. 警告
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| Column name referenced by this project event. |
ConvertedToDiscussionEvent
Represents aconverted_to_discussionevent on a given issue.
ConvertedToDiscussionEvent 实现
ConvertedToDiscussionEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The discussion that the issue was converted into. |
| The Node ID of the ConvertedToDiscussionEvent object. |
CrossReferencedEvent
Represents a mention made by one issue or pull request to another.
CrossReferencedEvent 实现
CrossReferencedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the CrossReferencedEvent object. |
| Reference originated in a different repository. |
| Identifies when the reference was made. |
| The HTTP path for this pull request. |
| Issue or pull request that made the reference. |
| Issue or pull request to which the reference was made. |
| The HTTP URL for this pull request. |
| Checks if the target will be closed when the source is merged. |
DemilestonedEvent
Represents ademilestonedevent on a given issue or pull request.
DemilestonedEvent 实现
DemilestonedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the DemilestonedEvent object. |
| Identifies the milestone title associated with the |
| Object referenced by event. |
DisconnectedEvent
Represents adisconnectedevent on a given issue or pull request.
DisconnectedEvent 实现
DisconnectedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the DisconnectedEvent object. |
| Reference originated in a different repository. |
| Issue or pull request from which the issue was disconnected. |
| Issue or pull request which was disconnected. |
Issue
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
Issue 实现
AssignableClosableCommentDeletableLabelableLockableNodeProjectV2OwnerReactableRepositoryNodeSubscribableSubscribableThreadUniformResourceLocatableUpdatableUpdatableComment
Issue 字段
| 名称 | 说明 |
|---|---|
| Reason that the conversation was locked. |
| A list of actors assigned to this object. |
| A list of Users assigned to this object. |
| The actor who authored the comment. |
| Author's association with the subject of the comment. |
| A list of issues that are blocking this issue.
|
| A list of issues that this issue is blocking.
|
| Identifies the body of the issue. |
| The body rendered to HTML. |
| The http path for this issue body. |
| Identifies the body of the issue rendered to text. |
| The http URL for this issue body. |
| Indicates if the object is closed (definition of closed may depend on type). |
| Identifies the date and time when the object was closed. |
| List of open pull requests referenced from this issue.
|
| A list of comments associated with the Issue.
|
| 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. |
| A reference to the original issue that this issue has been marked as a duplicate of. |
| The actor who edited the comment. |
| Identifies the primary key from the database as a BigInt. |
| The hovercard information for this issue.
|
| The Node ID of the Issue object. |
| Check if this comment was edited and includes an edit with the creation data. |
| Indicates whether or not this issue is currently pinned to the repository issues list. |
| Is this issue read by the viewer. |
| Summary of the state of an issue's dependencies. |
| The issue type for this Issue. |
| A list of labels associated with the object.
|
| The moment the editor made the last edit. |
| Branches linked to this issue. |
|
|
| Identifies the milestone associated with the issue. |
| Identifies the issue number. |
| The parent entity of the issue. |
| A list of Users that are participating in the Issue conversation. |
| List of project cards associated with this issue. 警告
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.
|
| List of project items associated with this issue.
|
| 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 issue. |
| Identifies the state of the issue. |
| Identifies the reason for the issue state.
|
| A list of sub-issues associated with the Issue. |
| Summary of the state of an issue's sub-issues. |
| A list of suggested actors to assign to this object.
|
| A list of events, comments, commits, etc. associated with the issue. 警告
|
| A list of events, comments, commits, etc. associated with the issue.
|
| Identifies the issue title. |
| Identifies the issue title rendered to HTML. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this issue. |
| A list of edits to this content. |
| Indicates if the object can be closed by the viewer. |
| Check if the current viewer can delete this object. |
| Indicates if the viewer can edit labels for this object. |
| Can user react to this subject. |
| Indicates if the object can be reopened by the viewer. |
| Check if the current viewer can set fields on the issue. |
| Check if the viewer is able to change their subscription status for the repository. |
| Check if the current viewer can update this object. |
| Reasons why the current viewer can not update this comment. |
| Did the viewer author this comment. |
| Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. |
| Identifies the viewer's thread subscription form action. |
| Identifies the viewer's thread subscription status. |
IssueComment
Represents a comment on an Issue.
IssueComment 实现
IssueComment 字段
| 名称 | 说明 |
|---|---|
| The actor who authored the comment. |
| Author's association with the subject of the comment. |
| The body as Markdown. |
| The body rendered to HTML. |
| The body rendered to text. |
| 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 actor who edited the comment. |
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the IssueComment object. |
| Check if this comment was edited and includes an edit with the creation data. |
| Returns whether or not a comment has been minimized. |
| Identifies the issue associated with the comment. |
| The moment the editor made the last edit. |
| Returns why the comment was minimized. One of |
| Identifies when the comment was published at. |
| Returns the pull request associated with the comment, if this comment was made on a pull request. |
| 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 issue comment. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this issue comment. |
| A list of edits to this content. |
| Check if the current viewer can delete this object. |
| Check if the current viewer can minimize this object. |
| Can user react to this subject. |
| Check if the current viewer can unminimize this object. |
| Check if the current viewer can update this object. |
| Reasons why the current viewer can not update this comment. |
| Did the viewer author this comment. |
IssueCommentConnection
The connection type for IssueComment.
IssueCommentConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
IssueCommentEdge
An edge in a connection.
IssueCommentEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
IssueConnection
The connection type for Issue.
IssueConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
IssueContributionsByRepository
This aggregates issues opened by a user within one repository.
IssueContributionsByRepository 字段
| 名称 | 说明 |
|---|---|
| The issue contributions.
|
| The repository in which the issues were opened. |
IssueDependenciesSummary
Summary of the state of an issue's dependencies.
IssueDependenciesSummary 字段
| 名称 | 说明 |
|---|---|
| Count of issues this issue is blocked by. |
| Count of issues this issue is blocking. |
| Total count of issues this issue is blocked by (open and closed). |
| Total count of issues this issue is blocking (open and closed). |
IssueEdge
An edge in a connection.
IssueEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
IssueTemplate
A repository issue template.
IssueTemplate 字段
| 名称 | 说明 |
|---|---|
| The template purpose. |
| The suggested assignees. |
| The suggested issue body. |
| The template filename. |
| The suggested issue labels.
|
| The template name. |
| The suggested issue title. |
| The suggested issue type. |
IssueTimelineConnection
The connection type for IssueTimelineItem.
IssueTimelineConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
IssueTimelineItemEdge
An edge in a connection.
IssueTimelineItemEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
IssueTimelineItemsConnection
The connection type for IssueTimelineItems.
IssueTimelineItemsConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| Identifies the count of items after applying |
| A list of nodes. |
| Identifies the count of items after applying |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
| Identifies the date and time when the timeline was last updated. |
IssueTimelineItemsEdge
An edge in a connection.
IssueTimelineItemsEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
IssueType
Represents the type of Issue.
IssueType 实现
IssueType 字段
| 名称 | 说明 |
|---|---|
| The issue type's color. |
| The issue type's description. |
| The Node ID of the IssueType object. |
| The issue type's enabled state. |
| Whether the issue type is publicly visible. 警告
Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC. |
| The issues with this issue type in the given repository.
|
| The issue type's name. |
IssueTypeAddedEvent
Represents aissue_type_addedevent on a given issue.
IssueTypeAddedEvent 实现
IssueTypeAddedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the IssueTypeAddedEvent object. |
| The issue type added. |
IssueTypeChangedEvent
Represents aissue_type_changedevent on a given issue.
IssueTypeChangedEvent 实现
IssueTypeChangedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the IssueTypeChangedEvent object. |
| The issue type added. |
| The issue type removed. |
IssueTypeConnection
The connection type for IssueType.
IssueTypeConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
IssueTypeEdge
An edge in a connection.
IssueTypeEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
IssueTypeRemovedEvent
Represents aissue_type_removedevent on a given issue.
IssueTypeRemovedEvent 实现
IssueTypeRemovedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the IssueTypeRemovedEvent object. |
| The issue type removed. |
Label
A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.
Label 实现
Label 字段
| 名称 | 说明 |
|---|---|
| Identifies the label color. |
| Identifies the date and time when the label was created. |
| A brief description of this label. |
| The Node ID of the Label object. |
| Indicates whether or not this is a default label. |
| A list of issues associated with this label.
|
| Identifies the label name. |
| A list of pull requests associated with this label.
|
| The repository associated with this label. |
| The HTTP path for this label. |
| Identifies the date and time when the label was last updated. |
| The HTTP URL for this label. |
LabelConnection
The connection type for Label.
LabelConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
LabeledEvent
Represents alabeledevent on a given issue or pull request.
LabeledEvent 实现
LabeledEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the LabeledEvent object. |
| Identifies the label associated with the |
| Identifies the |
LabelEdge
An edge in a connection.
LabelEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
LinkedBranch
A branch linked to an issue.
LinkedBranch 实现
LinkedBranch 字段
| 名称 | 说明 |
|---|---|
| The Node ID of the LinkedBranch object. |
| The branch's ref. |
LinkedBranchConnection
A list of branches linked to an issue.
LinkedBranchConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
LinkedBranchEdge
An edge in a connection.
LinkedBranchEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
LockedEvent
Represents alockedevent on a given issue or pull request.
LockedEvent 实现
LockedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the LockedEvent object. |
| Reason that the conversation was locked (optional). |
| Object that was locked. |
MarkedAsDuplicateEvent
Represents amarked_as_duplicateevent on a given issue or pull request.
MarkedAsDuplicateEvent 实现
MarkedAsDuplicateEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The authoritative issue or pull request which has been duplicated by another. |
| Identifies the date and time when the object was created. |
| The issue or pull request which has been marked as a duplicate of another. |
| The Node ID of the MarkedAsDuplicateEvent object. |
| Canonical and duplicate belong to different repositories. |
MentionedEvent
Represents amentionedevent on a given issue or pull request.
MentionedEvent 实现
MentionedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The Node ID of the MentionedEvent object. |
Milestone
Represents a Milestone object on a given repository.
Milestone 实现
Milestone 字段
| 名称 | 说明 |
|---|---|
| Indicates if the object is closed (definition of closed may depend on type). |
| Identifies the date and time when the object was closed. |
| Identifies the number of closed issues associated with the milestone. |
| Identifies the date and time when the object was created. |
| Identifies the actor who created the milestone. |
| Identifies the description of the milestone. |
| The HTML rendered description of the milestone using GitHub Flavored Markdown. |
| Identifies the due date of the milestone. |
| The Node ID of the Milestone object. |
| A list of issues associated with the milestone.
|
| Identifies the number of the milestone. |
| Identifies the number of open issues associated with the milestone. |
| Identifies the percentage complete for the milestone. |
| A list of pull requests associated with the milestone.
|
| The repository associated with this milestone. |
| The HTTP path for this milestone. |
| Identifies the state of the milestone. |
| Identifies the title of the milestone. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this milestone. |
| Indicates if the object can be closed by the viewer. |
| Indicates if the object can be reopened by the viewer. |
MilestoneConnection
The connection type for Milestone.
MilestoneConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
MilestonedEvent
Represents amilestonedevent on a given issue or pull request.
MilestonedEvent 实现
MilestonedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the MilestonedEvent object. |
| Identifies the milestone title associated with the |
| Object referenced by event. |
MilestoneEdge
An edge in a connection.
MilestoneEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ParentIssueAddedEvent
Represents aparent_issue_addedevent on a given issue.
ParentIssueAddedEvent 实现
ParentIssueAddedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the ParentIssueAddedEvent object. |
| The parent issue added. |
ParentIssueRemovedEvent
Represents aparent_issue_removedevent on a given issue.
ParentIssueRemovedEvent 实现
ParentIssueRemovedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the ParentIssueRemovedEvent object. |
| The parent issue removed. |
PinnedEvent
Represents apinnedevent on a given issue or pull request.
PinnedEvent 实现
PinnedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the PinnedEvent object. |
| Identifies the issue associated with the event. |
PinnedIssue
A Pinned Issue is a issue pinned to a repository's index page.
PinnedIssue 实现
PinnedIssue 字段
| 名称 | 说明 |
|---|---|
| Identifies the primary key from the database. |
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the PinnedIssue object. |
| The issue that was pinned. |
| The actor that pinned this issue. |
| The repository that this issue was pinned to. |
PinnedIssueConnection
The connection type for PinnedIssue.
PinnedIssueConnection 字段
| 名称 | 说明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
PinnedIssueEdge
An edge in a connection.
PinnedIssueEdge 字段
| 名称 | 说明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ReferencedEvent
Represents areferencedevent on a given ReferencedSubject.
ReferencedEvent 实现
ReferencedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the commit associated with the |
| Identifies the repository associated with the |
| Identifies the date and time when the object was created. |
| The Node ID of the ReferencedEvent object. |
| Reference originated in a different repository. |
| Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. |
| Object referenced by event. |
RenamedTitleEvent
Represents arenamedevent on a given issue or pull request.
RenamedTitleEvent 实现
RenamedTitleEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| Identifies the current title of the issue or pull request. |
| The Node ID of the RenamedTitleEvent object. |
| Identifies the previous title of the issue or pull request. |
| Subject that was renamed. |
ReopenedEvent
Represents areopenedevent on any Closable.
ReopenedEvent 实现
ReopenedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Object that was reopened. |
| Identifies the date and time when the object was created. |
| The Node ID of the ReopenedEvent object. |
| The reason the issue state was changed to open. |
SubIssueAddedEvent
Represents asub_issue_addedevent on a given issue.
SubIssueAddedEvent 实现
SubIssueAddedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the SubIssueAddedEvent object. |
| The sub-issue added. |
SubIssueRemovedEvent
Represents asub_issue_removedevent on a given issue.
SubIssueRemovedEvent 实现
SubIssueRemovedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the SubIssueRemovedEvent object. |
| The sub-issue removed. |
SubIssuesSummary
Summary of the state of an issue's sub-issues.
SubIssuesSummary 字段
| 名称 | 说明 |
|---|---|
| Count of completed sub-issues. |
| Percent of sub-issues which are completed. |
| Count of total number of sub-issues. |
SubscribedEvent
Represents asubscribedevent on a given Subscribable.
SubscribedEvent 实现
SubscribedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the SubscribedEvent object. |
| Object referenced by event. |
TransferredEvent
Represents atransferredevent on a given issue or pull request.
TransferredEvent 实现
TransferredEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The repository this came from. |
| The Node ID of the TransferredEvent object. |
| Identifies the issue associated with the event. |
UnassignedEvent
Represents anunassignedevent on any assignable object.
UnassignedEvent 实现
UnassignedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the assignable associated with the event. |
| Identifies the user or mannequin that was unassigned. |
| Identifies the date and time when the object was created. |
| The Node ID of the UnassignedEvent object. |
| Identifies the subject (user) who was unassigned. 警告
Assignees can now be mannequins. Use the |
UnlabeledEvent
Represents anunlabeledevent on a given issue or pull request.
UnlabeledEvent 实现
UnlabeledEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the UnlabeledEvent object. |
| Identifies the label associated with the |
| Identifies the |
UnlockedEvent
Represents anunlockedevent on a given issue or pull request.
UnlockedEvent 实现
UnlockedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the UnlockedEvent object. |
| Object that was unlocked. |
UnmarkedAsDuplicateEvent
Represents anunmarked_as_duplicateevent on a given issue or pull request.
UnmarkedAsDuplicateEvent 实现
UnmarkedAsDuplicateEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| The authoritative issue or pull request which has been duplicated by another. |
| Identifies the date and time when the object was created. |
| The issue or pull request which has been marked as a duplicate of another. |
| The Node ID of the UnmarkedAsDuplicateEvent object. |
| Canonical and duplicate belong to different repositories. |
UnpinnedEvent
Represents anunpinnedevent on a given issue or pull request.
UnpinnedEvent 实现
UnpinnedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the UnpinnedEvent object. |
| Identifies the issue associated with the event. |
UnsubscribedEvent
Represents anunsubscribedevent on a given Subscribable.
UnsubscribedEvent 实现
UnsubscribedEvent 字段
| 名称 | 说明 |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the UnsubscribedEvent object. |
| Object referenced by event. |
Interfaces
Assignable
An object that can have users assigned to it.
Assignable 的实现方式
Assignable 字段
| 名称 | 说明 |
|---|---|
| A list of actors assigned to this object. |
| A list of Users assigned to this object. |
| A list of suggested actors to assign to this object.
|
Closable
An object that can be closed.
Closable 的实现方式
Closable 字段
| 名称 | 说明 |
|---|---|
| Indicates if the object is closed (definition of closed may depend on type). |
| Identifies the date and time when the object was closed. |
| Indicates if the object can be closed by the viewer. |
| Indicates if the object can be reopened by the viewer. |
Comment
Represents a comment.
Comment 的实现方式
CommitCommentDiscussionDiscussionCommentGistCommentIssueIssueCommentPullRequestPullRequestReviewPullRequestReviewCommentTeamDiscussionTeamDiscussionComment
Comment 字段
| 名称 | 说明 |
|---|---|
| The actor who authored the comment. |
| Author's association with the subject of the comment. |
| The body as Markdown. |
| The body rendered to HTML. |
| The body rendered to text. |
| Identifies the date and time when the object was created. |
| Check if this comment was created via an email reply. |
| The actor who edited the comment. |
| The Node ID of the Comment object. |
| Check if this comment was edited and includes an edit with the creation data. |
| The moment the editor made the last edit. |
| Identifies when the comment was published at. |
| Identifies the date and time when the object was last updated. |
| A list of edits to this content. |
| Did the viewer author this comment. |
Deletable
Entities that can be deleted.
Deletable 的实现方式
CommitCommentDiscussionDiscussionCommentGistCommentIssueIssueCommentPullRequestReviewPullRequestReviewCommentTeamDiscussionTeamDiscussionComment
Deletable 字段
| 名称 | 说明 |
|---|---|
| Check if the current viewer can delete this object. |
Labelable
An object that can have labels assigned to it.
Labelable 的实现方式
Labelable 字段
| 名称 | 说明 |
|---|---|
| A list of labels associated with the object.
|
| Indicates if the viewer can edit labels for this object. |
Lockable
An object that can be locked.
Lockable 的实现方式
Lockable 字段
| 名称 | 说明 |
|---|---|
| Reason that the conversation was locked. |
|
|
Minimizable
Entities that can be minimized.
Minimizable 的实现方式
Minimizable 字段
| 名称 | 说明 |
|---|---|
| Returns whether or not a comment has been minimized. |
| Returns why the comment was minimized. One of |
| Check if the current viewer can minimize this object. |
| Check if the current viewer can unminimize this object. |
Updatable
Entities that can be updated.
Updatable 的实现方式
CommitCommentDiscussionDiscussionCommentGistCommentIssueIssueCommentProjectV2ProjectPullRequestPullRequestReviewPullRequestReviewCommentTeamDiscussionTeamDiscussionComment
Updatable 字段
| 名称 | 说明 |
|---|---|
| Check if the current viewer can update this object. |
UpdatableComment
Comments that can be updated.
UpdatableComment 的实现方式
CommitCommentDiscussionCommentGistCommentIssueIssueCommentPullRequestPullRequestReviewPullRequestReviewCommentTeamDiscussionTeamDiscussionComment
UpdatableComment 字段
| 名称 | 说明 |
|---|---|
| Reasons why the current viewer can not update this comment. |
Enums
CommentAuthorAssociation
A comment author association with repository.
CommentAuthorAssociation 的值
| 名称 | 说明 |
|---|---|
COLLABORATOR | Author has been invited to collaborate on the repository. |
CONTRIBUTOR | Author has previously committed to the repository. |
FIRST_TIMER | Author has not previously committed to GitHub. |
FIRST_TIME_CONTRIBUTOR | Author has not previously committed to the repository. |
MANNEQUIN | Author is a placeholder for an unclaimed user. |
MEMBER | Author is a member of the organization that owns the repository. |
NONE | Author has no association with the repository. |
OWNER | Author is the owner of the repository. |
CommentCannotUpdateReason
The possible errors that will prevent a user from updating a comment.
CommentCannotUpdateReason 的值
| 名称 | 说明 |
|---|---|
ARCHIVED | Unable to create comment because repository is archived. |
DENIED | You cannot update this comment. |
INSUFFICIENT_ACCESS | You must be the author or have write access to this repository to update this comment. |
LOCKED | Unable to create comment because issue is locked. |
LOGIN_REQUIRED | You must be logged in to update this comment. |
MAINTENANCE | Repository is under maintenance. |
VERIFIED_EMAIL_REQUIRED | At least one email address must be verified to update this comment. |
IssueClosedStateReason
The possible state reasons of a closed issue.
IssueClosedStateReason 的值
| 名称 | 说明 |
|---|---|
COMPLETED | An issue that has been closed as completed. |
DUPLICATE | An issue that has been closed as a duplicate. |
NOT_PLANNED | An issue that has been closed as not planned. |
IssueCommentOrderField
Properties by which issue comment connections can be ordered.
IssueCommentOrderField 的值
| 名称 | 说明 |
|---|---|
UPDATED_AT | Order issue comments by update time. |
IssueDependencyOrderField
Properties by which issue dependencies can be ordered.
IssueDependencyOrderField 的值
| 名称 | 说明 |
|---|---|
CREATED_AT | Order issue dependencies by the creation time of the dependent issue. |
DEPENDENCY_ADDED_AT | Order issue dependencies by time of when the dependency relationship was added. |
IssueOrderField
Properties by which issue connections can be ordered.
IssueOrderField 的值
| 名称 | 说明 |
|---|---|
COMMENTS | Order issues by comment count. |
CREATED_AT | Order issues by creation time. |
UPDATED_AT | Order issues by update time. |
IssueState
The possible states of an issue.
IssueState 的值
| 名称 | 说明 |
|---|---|
CLOSED | An issue that has been closed. |
OPEN | An issue that is still open. |
IssueStateReason
The possible state reasons of an issue.
IssueStateReason 的值
| 名称 | 说明 |
|---|---|
COMPLETED | An issue that has been closed as completed. |
DUPLICATE | An issue that has been closed as a duplicate. |
NOT_PLANNED | An issue that has been closed as not planned. |
REOPENED | An issue that has been reopened. |
IssueTypeColor
The possible color for an issue type.
IssueTypeColor 的值
| 名称 | 说明 |
|---|---|
BLUE | blue. |
GRAY | gray. |
GREEN | green. |
ORANGE | orange. |
PINK | pink. |
PURPLE | purple. |
RED | red. |
YELLOW | yellow. |
IssueTypeOrderField
Properties by which issue type connections can be ordered.
IssueTypeOrderField 的值
| 名称 | 说明 |
|---|---|
CREATED_AT | Order issue types by creation time. |
NAME | Order issue types by name. |
LabelOrderField
Properties by which label connections can be ordered.
LabelOrderField 的值
| 名称 | 说明 |
|---|---|
CREATED_AT | Order labels by creation time. |
ISSUE_COUNT | Order labels by issue count. |
NAME | Order labels by name. |
LockReason
The possible reasons that an issue or pull request was locked.
LockReason 的值
| 名称 | 说明 |
|---|---|
OFF_TOPIC | The issue or pull request was locked because the conversation was off-topic. |
RESOLVED | The issue or pull request was locked because the conversation was resolved. |
SPAM | The issue or pull request was locked because the conversation was spam. |
TOO_HEATED | The issue or pull request was locked because the conversation was too heated. |
MilestoneOrderField
Properties by which milestone connections can be ordered.
MilestoneOrderField 的值
| 名称 | 说明 |
|---|---|
CREATED_AT | Order milestones by when they were created. |
DUE_DATE | Order milestones by when they are due. |
NUMBER | Order milestones by their number. |
UPDATED_AT | Order milestones by when they were last updated. |
MilestoneState
The possible states of a milestone.
MilestoneState 的值
| 名称 | 说明 |
|---|---|
CLOSED | A milestone that has been closed. |
OPEN | A milestone that is still open. |
Unions
Assignee
Types that can be assigned to issues.
Assignee 可能类型
Closer
The object which triggered a ClosedEvent.
Closer 可能类型
IssueOrPullRequest
Used for return value of Repository.issueOrPullRequest.
IssueOrPullRequest 可能类型
IssueTimelineItem
An item in an issue timeline.
IssueTimelineItem 可能类型
AssignedEventClosedEventCommitCrossReferencedEventDemilestonedEventIssueCommentLabeledEventLockedEventMilestonedEventReferencedEventRenamedTitleEventReopenedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnsubscribedEventUserBlockedEvent
IssueTimelineItems
An item in an issue timeline.
IssueTimelineItems 可能类型
AddedToProjectEventAddedToProjectV2EventAssignedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertedFromDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueCommentIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabeledEventLockedEventMarkedAsDuplicateEventMentionedEventMilestonedEventMovedColumnsInProjectEventParentIssueAddedEventParentIssueRemovedEventPinnedEventProjectV2ItemStatusChangedEventReferencedEventRemovedFromProjectEventRemovedFromProjectV2EventRenamedTitleEventReopenedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventUserBlockedEvent
MilestoneItem
Types that can be inside a Milestone.
MilestoneItem 可能类型
ReferencedSubject
Any referencable object.
ReferencedSubject 可能类型
RenamedTitleSubject
An object which has a renamable title.
RenamedTitleSubject 可能类型
Input objects
AddAssigneesToAssignableInput
Autogenerated input type of AddAssigneesToAssignable.
输入 AddAssigneesToAssignableInput 字段
| 名称 | 说明 |
|---|---|
| The id of the assignable object to add assignees to. |
| The ids of actors (users or bots) to add as assignees. |
| A unique identifier for the client performing the mutation. |
AddBlockedByInput
Autogenerated input type of AddBlockedBy.
输入 AddBlockedByInput 字段
| 名称 | 说明 |
|---|---|
| The ID of the issue that blocks the given issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the issue to be blocked. |
AddCommentInput
Autogenerated input type of AddComment.
输入 AddCommentInput 字段
| 名称 | 说明 |
|---|---|
| The contents of the comment. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the subject to modify. |
AddLabelsToLabelableInput
Autogenerated input type of AddLabelsToLabelable.
输入 AddLabelsToLabelableInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ids of the labels to add. |
| The id of the labelable object to add labels to. |
AddSubIssueInput
Autogenerated input type of AddSubIssue.
输入 AddSubIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The id of the issue. |
| Option to replace parent issue if one already exists. |
| The id of the sub-issue. |
| The url of the sub-issue. |
ClearLabelsFromLabelableInput
Autogenerated input type of ClearLabelsFromLabelable.
输入 ClearLabelsFromLabelableInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The id of the labelable object to clear the labels from. |
CloseIssueInput
Autogenerated input type of CloseIssue.
输入 CloseIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue that this is a duplicate of. |
| ID of the issue to be closed. |
| The reason the issue is to be closed. |
CreateIssueInput
Autogenerated input type of CreateIssue.
输入 CreateIssueInput 字段
| 名称 | 说明 |
|---|---|
| The Node ID of assignees for this issue. |
| The body for the issue description. |
| A unique identifier for the client performing the mutation. |
| The name of an issue template in the repository, assigns labels and assignees from the template to the issue. |
| The Node ID of the issue type for this issue. |
| An array of Node IDs of labels for this issue. |
| The Node ID of the milestone for this issue. |
| The Node ID of the parent issue to add this new issue to. |
| An array of Node IDs for projects associated with this issue. |
| An array of Node IDs for Projects V2 associated with this issue. |
| The Node ID of the repository. |
| The title for the issue. |
CreateIssueTypeInput
Autogenerated input type of CreateIssueType.
输入 CreateIssueTypeInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Color for the issue type. |
| Description of the new issue type. |
| Whether or not the issue type is enabled on the org level. |
| Name of the new issue type. |
| The ID for the organization on which the issue type is created. |
CreateLabelInput
Autogenerated input type of CreateLabel.
输入 CreateLabelInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| A 6 character hex code, without the leading #, identifying the color of the label. |
| A brief description of the label, such as its purpose. |
| The name of the label. |
| The Node ID of the repository. |
CreateLinkedBranchInput
Autogenerated input type of CreateLinkedBranch.
输入 CreateLinkedBranchInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue to link to. |
| The name of the new branch. Defaults to issue number and title. |
| The commit SHA to base the new branch on. |
| ID of the repository to create the branch in. Defaults to the issue repository. |
DeleteIssueCommentInput
Autogenerated input type of DeleteIssueComment.
输入 DeleteIssueCommentInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the comment to delete. |
DeleteIssueInput
Autogenerated input type of DeleteIssue.
输入 DeleteIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the issue to delete. |
DeleteIssueTypeInput
Autogenerated input type of DeleteIssueType.
输入 DeleteIssueTypeInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the issue type to delete. |
DeleteLabelInput
Autogenerated input type of DeleteLabel.
输入 DeleteLabelInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the label to be deleted. |
DeleteLinkedBranchInput
Autogenerated input type of DeleteLinkedBranch.
输入 DeleteLinkedBranchInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the linked branch. |
IssueCommentOrder
Ways in which lists of issue comments can be ordered upon return.
输入 IssueCommentOrder 字段
| 名称 | 说明 |
|---|---|
| The direction in which to order issue comments by the specified field. |
| The field in which to order issue comments by. |
IssueDependencyOrder
Ordering options issue dependencies.
输入 IssueDependencyOrder 字段
| 名称 | 说明 |
|---|---|
| The ordering direction. |
| The field to order issue dependencies by. |
IssueFilters
Ways in which to filter lists of issues.
输入 IssueFilters 字段
| 名称 | 说明 |
|---|---|
| List issues assigned to given name. Pass in |
| List issues created by given name. |
| List issues where the list of label names exist on the issue. |
| List issues where the given name is mentioned in the issue. |
| List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its database ID. Pass in
|
| List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its number field. Pass in
|
| List issues that have been updated at or after the given date. |
| List issues filtered by the list of states given. |
| List issues filtered by the type given, only supported by searches on repositories. |
| List issues subscribed to by viewer. |
IssueOrder
Ways in which lists of issues can be ordered upon return.
输入 IssueOrder 字段
| 名称 | 说明 |
|---|---|
| The direction in which to order issues by the specified field. |
| The field in which to order issues by. |
IssueTypeOrder
Ordering options for issue types connections.
输入 IssueTypeOrder 字段
| 名称 | 说明 |
|---|---|
| The ordering direction. |
| The field to order issue types by. |
LabelOrder
Ways in which lists of labels can be ordered upon return.
输入 LabelOrder 字段
| 名称 | 说明 |
|---|---|
| The direction in which to order labels by the specified field. |
| The field in which to order labels by. |
LockLockableInput
Autogenerated input type of LockLockable.
输入 LockLockableInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| A reason for why the item will be locked. |
| ID of the item to be locked. |
MilestoneOrder
Ordering options for milestone connections.
输入 MilestoneOrder 字段
| 名称 | 说明 |
|---|---|
| The ordering direction. |
| The field to order milestones by. |
MinimizeCommentInput
Autogenerated input type of MinimizeComment.
输入 MinimizeCommentInput 字段
| 名称 | 说明 |
|---|---|
| The classification of comment. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the subject to modify. |
PinIssueInput
Autogenerated input type of PinIssue.
输入 PinIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the issue to be pinned. |
RemoveAssigneesFromAssignableInput
Autogenerated input type of RemoveAssigneesFromAssignable.
输入 RemoveAssigneesFromAssignableInput 字段
| 名称 | 说明 |
|---|---|
| The id of the assignable object to remove assignees from. |
| The ids of actors to remove as assignees. |
| A unique identifier for the client performing the mutation. |
RemoveBlockedByInput
Autogenerated input type of RemoveBlockedBy.
输入 RemoveBlockedByInput 字段
| 名称 | 说明 |
|---|---|
| The ID of the blocking issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the blocked issue. |
RemoveLabelsFromLabelableInput
Autogenerated input type of RemoveLabelsFromLabelable.
输入 RemoveLabelsFromLabelableInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ids of labels to remove. |
| The id of the Labelable to remove labels from. |
RemoveSubIssueInput
Autogenerated input type of RemoveSubIssue.
输入 RemoveSubIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The id of the issue. |
| The id of the sub-issue. |
ReopenIssueInput
Autogenerated input type of ReopenIssue.
输入 ReopenIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the issue to be opened. |
ReplaceActorsForAssignableInput
Autogenerated input type of ReplaceActorsForAssignable.
输入 ReplaceActorsForAssignableInput 字段
| 名称 | 说明 |
|---|---|
| The ids of the actors to replace the existing assignees. |
| The id of the assignable object to replace the assignees for. |
| A unique identifier for the client performing the mutation. |
ReprioritizeSubIssueInput
Autogenerated input type of ReprioritizeSubIssue.
输入 ReprioritizeSubIssueInput 字段
| 名称 | 说明 |
|---|---|
| The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). |
| The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). |
| A unique identifier for the client performing the mutation. |
| The id of the parent issue. |
| The id of the sub-issue to reprioritize. |
TransferIssueInput
Autogenerated input type of TransferIssue.
输入 TransferIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Whether to create labels if they don't exist in the target repository (matched by name). |
| The Node ID of the issue to be transferred. |
| The Node ID of the repository the issue should be transferred to. |
UnlockLockableInput
Autogenerated input type of UnlockLockable.
输入 UnlockLockableInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the item to be unlocked. |
UnmarkIssueAsDuplicateInput
Autogenerated input type of UnmarkIssueAsDuplicate.
输入 UnmarkIssueAsDuplicateInput 字段
| 名称 | 说明 |
|---|---|
| ID of the issue or pull request currently considered canonical/authoritative/original. |
| A unique identifier for the client performing the mutation. |
| ID of the issue or pull request currently marked as a duplicate. |
UnminimizeCommentInput
Autogenerated input type of UnminimizeComment.
输入 UnminimizeCommentInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the subject to modify. |
UnpinIssueInput
Autogenerated input type of UnpinIssue.
输入 UnpinIssueInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the issue to be unpinned. |
UpdateIssueCommentInput
Autogenerated input type of UpdateIssueComment.
输入 UpdateIssueCommentInput 字段
| 名称 | 说明 |
|---|---|
| The updated text of the comment. |
| A unique identifier for the client performing the mutation. |
| The ID of the IssueComment to modify. |
UpdateIssueInput
Autogenerated input type of UpdateIssue.
输入 UpdateIssueInput 字段
| 名称 | 说明 |
|---|---|
| An array of Node IDs of users or bots for this issue. |
| The body for the issue description. |
| A unique identifier for the client performing the mutation. |
| The ID of the Issue to modify. |
| The ID of the Issue Type for this issue. |
| An array of Node IDs of labels for this issue. |
| The Node ID of the milestone for this issue. |
| An array of Node IDs for projects associated with this issue. |
| The desired issue state. |
| The title for the issue. |
UpdateIssueIssueTypeInput
Autogenerated input type of UpdateIssueIssueType.
输入 UpdateIssueIssueTypeInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the issue to update. |
| The ID of the issue type to update on the issue. |
UpdateIssueTypeInput
Autogenerated input type of UpdateIssueType.
输入 UpdateIssueTypeInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Color for the issue type. |
| The description of the issue type. |
| Whether or not the issue type is enabled for the organization. |
| The ID of the issue type to update. |
| The name of the issue type. |
UpdateLabelInput
Autogenerated input type of UpdateLabel.
输入 UpdateLabelInput 字段
| 名称 | 说明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| A 6 character hex code, without the leading #, identifying the updated color of the label. |
| A brief description of the label, such as its purpose. |
| The Node ID of the label to be updated. |
| The updated name of the label. |