About unions
A union is a type of object representing many objects.
For example, a field marked as an ProjectCardItem
could be an Issue
or a PullRequest
because each of those objects can be inside a project card. Using a union instead of an object gives you flexibility.
For more information, see "Introduction to GraphQL."
AuditEntryActor
Types that can initiate an audit log event.
Aviso de pré-visualização
AuditEntryActor
is available under the Audit log preview. During the preview period, the API may change without notice.
Tipos possíveis
CreatedIssueOrRestrictedContribution
Represents either a issue the viewer can access or a restricted contribution.
Tipos possíveis
CreatedPullRequestOrRestrictedContribution
Represents either a pull request the viewer can access or a restricted contribution.
Tipos possíveis
CreatedRepositoryOrRestrictedContribution
Represents either a repository the viewer can access or a restricted contribution.
Tipos possíveis
IssueTimelineItems
An item in an issue timeline.
Tipos possíveis
- 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.
Aviso de pré-visualização
OrgRestoreMemberAuditEntryMembership
is available under the Audit log preview. During the preview period, the API may change without notice.
Tipos possíveis
OrganizationAuditEntry
An audit entry in an organization audit log.
Aviso de pré-visualização
OrganizationAuditEntry
is available under the Audit log preview. During the preview period, the API may change without notice.
Tipos possíveis
- 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.
Tipos possíveis
- 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.
Tipos possíveis
- 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