Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation.

Diese Version von GitHub Enterprise wird eingestellt am Diese Version von GitHub Enterprise wurde eingestellt am 2020-08-20. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. Für eine bessere Leistung, verbesserte Sicherheit und neue Features nimm ein Upgrade auf die neueste Version von GitHub Enterprise vor. Wende Dich an den GitHub Enterprise-Support, um Hilfe beim Upgrade zu erhalten.

Artikelversion: Enterprise Server 2.18

Unions

Inhalt dieses Artikels

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.

Preview notice

AuditEntryActor is available under the Audit log preview. During the preview period, the API may change without notice.

Possible types


Closer

The object which triggered a ClosedEvent.

Possible types


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.


IssueOrPullRequest

Used for return value of Repository.issueOrPullRequest.

Possible types


MilestoneItem

Types that can be inside a Milestone.

Possible types


OrgRestoreMemberAuditEntryMembership

Types of memberships that can be restored for an Organization member.

Preview notice

OrgRestoreMemberAuditEntryMembership is available under the Audit log preview. During the preview period, the API may change without notice.

Possible types


OrganizationAuditEntry

An audit entry in an organization audit log.

Preview notice

OrganizationAuditEntry is available under the Audit log preview. During the preview period, the API may change without notice.

Possible types


PermissionGranter

Types that can grant permissions on a repository to a user.

Possible types


PinnableItem

Types that can be pinned to a profile page.

Possible types


ProjectCardItem

Types that can be inside Project Cards.

Possible types


PullRequestTimelineItems

An item in a pull request timeline.

Possible types


PushAllowanceActor

Types that can be an actor.

Possible types


ReferencedSubject

Any referencable object.

Possible types


RenamedTitleSubject

An object which has a renamable title.

Possible types


RequestedReviewer

Types that can be requested reviewers.

Possible types


ReviewDismissalAllowanceActor

Types that can be an actor.

Possible types


SearchResultItem

The results of a search.


Menschliche Unterstützung einholen

Du kannst das Gesuchte nicht finden?

Kontakt