ドキュメントには頻繁に更新が加えられ、その都度公開されています。本ページの翻訳はまだ未完成な部分があることをご了承ください。最新の情報については、英語のドキュメンテーションをご参照ください。本ページの翻訳に問題がある場合はこちらまでご連絡ください。

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2021-03-02. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの改善、新機能のためには、最新バージョンのGitHub Enterpriseにアップグレードしてください。 アップグレードに関する支援については、GitHub Enterprise supportに連絡してください。

ユニオン

ここには以下の内容があります:

ユニオンについて

ユニオンは、多くのオブジェクトを表すオブジェクトの型です。

たとえば、ProjectCardItemとしてマークされたフィールドは、IssueあるいはPullRequestになれます。これは、これらのオブジェクトはどちらもプロジェクトカードの中に置けるためです。 オブジェクトの代わりにユニオンを使うことで柔軟性が得られます。

詳しい情報については「GraphQLの紹介」を参照してください。

Assignee

Types that can be assigned to issues.

取り得る型


AuditEntryActor

Types that can initiate an audit log event.

取り得る型


Closer

The object which triggered a ClosedEvent.

取り得る型


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.


EnterpriseMember

An object that is a member of an enterprise.

取り得る型


IssueOrPullRequest

Used for return value of Repository.issueOrPullRequest.

取り得る型


MilestoneItem

Types that can be inside a Milestone.

取り得る型


OrganizationAuditEntry

An audit entry in an organization audit log.

取り得る型


PermissionGranter

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

取り得る型


PinnableItem

Types that can be pinned to a profile page.

取り得る型


ProjectCardItem

Types that can be inside Project Cards.

取り得る型


PullRequestTimelineItems

An item in a pull request timeline.

取り得る型


PushAllowanceActor

Types that can be an actor.

取り得る型


ReferencedSubject

Any referencable object.

取り得る型


RenamedTitleSubject

An object which has a renamable title.

取り得る型


RequestedReviewer

Types that can be requested reviewers.

取り得る型


ReviewDismissalAllowanceActor

Types that can be an actor.

取り得る型


SearchResultItem

The results of a search.