关于并集
并集是一种表示多个对象的对象类型。
例如,标记为 ProjectCardItem
的字段可能是 Issue
或 PullRequest
,因为每个对象都可能在项目卡内。 使用并集代替对象可以带来灵活性。
更多信息请参阅“GraphQL 简介。”
AuditEntryActor
Types that can initiate an audit log event.
预览通知
AuditEntryActor
is available under the Audit log preview. During the preview period, the API may change without notice.
可能的类型
CreatedIssueOrRestrictedContribution
Represents either a issue the viewer can access or a restricted contribution.
CreatedPullRequestOrRestrictedContribution
Represents either a pull request the viewer can access or a restricted contribution.
CreatedRepositoryOrRestrictedContribution
Represents either a repository the viewer can access or a restricted contribution.
IssueTimelineItems
An item in an issue timeline.
可能的类型
- AddedToProjectEvent
- AssignedEvent
- ClosedEvent
- CommentDeletedEvent
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MentionedEvent
- MilestonedEvent
- MovedColumnsInProjectEvent
- PinnedEvent
- ReferencedEvent
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- SubscribedEvent
- TransferredEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnpinnedEvent
- UnsubscribedEvent
- UserBlockedEvent
OrgRestoreMemberAuditEntryMembership
Types of memberships that can be restored for an Organization member.
预览通知
OrgRestoreMemberAuditEntryMembership
is available under the Audit log preview. During the preview period, the API may change without notice.
可能的类型
OrganizationAuditEntry
An audit entry in an organization audit log.
预览通知
OrganizationAuditEntry
is available under the Audit log preview. During the preview period, the API may change without notice.
可能的类型
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoRemoveMemberAuditEntry
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
PullRequestTimelineItem
An item in an pull request timeline.
可能的类型
- AssignedEvent
- BaseRefForcePushedEvent
- ClosedEvent
- Commit
- CommitCommentThread
- CrossReferencedEvent
- DemilestonedEvent
- DeployedEvent
- DeploymentEnvironmentChangedEvent
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MergedEvent
- MilestonedEvent
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- ReferencedEvent
- RenamedTitleEvent
- ReopenedEvent
- ReviewDismissedEvent
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SubscribedEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnsubscribedEvent
- UserBlockedEvent
PullRequestTimelineItems
An item in a pull request timeline.
可能的类型
- AddedToProjectEvent
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- ClosedEvent
- CommentDeletedEvent
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- DeployedEvent
- DeploymentEnvironmentChangedEvent
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MentionedEvent
- MergedEvent
- MilestonedEvent
- MovedColumnsInProjectEvent
- PinnedEvent
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestReview
- PullRequestReviewThread
- PullRequestRevisionMarker
- ReadyForReviewEvent
- ReferencedEvent
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- ReviewDismissedEvent
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SubscribedEvent
- TransferredEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnpinnedEvent
- UnsubscribedEvent
- UserBlockedEvent