Schema Previews
- Deployments
- Checks
- Team discussions
- Protected Branch: Required Signatures
- Hovercards
- Protected Branch: Multiple Required Approving Reviews
- MergeInfoPreview - More detailed information about a pull request's merge state.
- Access to a Repositories Dependency Graph
- Repository Vulnerability Alerts
- Temporary Cloning Token for Private Repositories
- Resolvable Threads Preview
- Project Event Details
- Issues Preview
- Minimize Comments Preview
- Pull Requests Preview
- Create content attachments
- Pinned Issues Preview
- Unified business identity
Schema previews let you try out new features and changes to our GraphQL schema before they become part of the official GitHub API.
During the preview period, we may change some features based on developer feedback. If we do make changes, we'll announce them on the developer blog without advance notice.
To access a schema preview, you'll need to provide a custom media type in the Accept header for your requests. Feature documentation for each preview specifies which custom media type to provide.
Note: The GraphQL schema members under preview cannot be accessed via the Explorer at this time.
Deployments
This preview adds support for deployments mutations and new deployments features.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.flash-preview+json
Previewed schema members:
DeploymentStatus.environmentMutation.createDeploymentStatusMutation.createDeploymentDeploymentState.IN_PROGRESSDeploymentState.QUEUED
Checks
This preview adds support for reading checks created by GitHub Apps.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.antiope-preview+json
Previewed schema members:
CheckAnnotationRangeCheckAnnotationPositionCheckAnnotationSpanCheckAnnotationCheckAnnotationConnection.nodesCheckAnnotationDataCheckAnnotationEdge.nodeCheckAnnotationLevelCheckConclusionStateCheckStatusStateCheckSuiteAutoTriggerPreferenceCheckRunCheckRunConnection.nodesCheckRunEdge.nodeCheckRunActionCheckRunFilterCheckRunOutputCheckRunOutputImageCheckRunTypeCheckSuiteCheckSuiteConnection.nodesCheckSuiteEdge.nodeCheckSuiteFilterCommit.checkSuitesMutation.createCheckRunMutation.createCheckSuiteMutation.rerequestCheckSuiteMutation.updateCheckRunMutation.updateCheckSuitePreferencesPushRequestableCheckStatusState
Team discussions
Adds support for reading and managing discussions within teams.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.echo-preview+json
Previewed schema members:
Mutation.createTeamDiscussionMutation.createTeamDiscussionCommentMutation.deleteTeamDiscussionMutation.deleteTeamDiscussionCommentMutation.updateTeamDiscussionMutation.updateTeamDiscussionCommentTeam.discussionTeam.discussionsTeam.discussionsResourcePathTeam.discussionsUrlTeamDiscussionTeamDiscussionCommentTeamDiscussionCommentConnectionTeamDiscussionCommentEdgeTeamDiscussionCommentOrderTeamDiscussionCommentOrderFieldTeamDiscussionConnectionTeamDiscussionEdgeTeamDiscussionOrderTeamDiscussionOrderField
Protected Branch: Required Signatures
This preview adds support for reading the required signatures settings of a protected branch.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.zzzax-preview+json
Previewed schema members:
ProtectedBranch.hasRequiredSignatures
Hovercards
This preview adds support for reading hovercard contextual data
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.hagar-preview+json
Previewed schema members:
Issue.hovercardPullRequest.hovercardUser.hovercardHovercardContextGenericHovercardContextHovercardOrganizationTeamsHovercardContextOrganizationsHovercardContextReviewStatusHovercardContextViewerHovercardContext
Protected Branch: Multiple Required Approving Reviews
This preview adds support for reading the approving reviews count settings of a protected branch.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.luke-cage-preview+json
Previewed schema members:
ProtectedBranch.requiredApprovingReviewCount
MergeInfoPreview - More detailed information about a pull request's merge state.
This preview adds support for accessing fields that provide more detailed information about a pull request's merge state.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.merge-info-preview+json
Previewed schema members:
PullRequest.canBeRebasedPullRequest.mergeStateStatus
Access to a Repositories Dependency Graph
This preview adds support for reading a dependency graph for a repository.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.hawkgirl-preview+json
Previewed schema members:
DependencyGraphManifestRepository.dependencyGraphManifestsDependencyGraphManifestEdgeDependencyGraphManifestConnectionDependencyGraphDependencyDependencyGraphDependencyEdgeDependencyGraphDependencyConnectionDependencyGraphPackageRelease.dependencies
Repository Vulnerability Alerts
This preview adds support for viewing vulnerability alerts for a repository.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.vixen-preview+json
Previewed schema members:
RepositoryVulnerabilityAlertRepository.vulnerabilityAlertsRepositoryVulnerabilityAlertConnectionRepositoryVulnerabilityAlertEdge
Temporary Cloning Token for Private Repositories
This preview adds support for accessing a temporary token field for cloning private repositories.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.daredevil-preview+json
Previewed schema members:
Repository.tempCloneToken
Resolvable Threads Preview
This preview adds support for resolvable threads when interacting with pull request review threads.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.cateye-preview+json
Previewed schema members:
Mutation.resolveReviewThreadMutation.unresolveReviewThreadPullRequestReviewThread.isResolvedPullRequestReviewThread.resolvedByPullRequestReviewThread.viewerCanResolvePullRequestReviewThread.viewerCanUnresolve
Project Event Details
This preview adds project, project card, and project column details to project-related issue events.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.starfox-preview+json
Previewed schema members:
AddedToProjectEvent.projectAddedToProjectEvent.projectCardAddedToProjectEvent.projectColumnNameConvertedNoteToIssueEvent.projectConvertedNoteToIssueEvent.projectCardConvertedNoteToIssueEvent.projectColumnNameMovedColumnsInProjectEvent.projectMovedColumnsInProjectEvent.projectCardMovedColumnsInProjectEvent.projectColumnNameMovedColumnsInProjectEvent.previousProjectColumnNameRemovedFromProjectEvent.projectRemovedFromProjectEvent.projectColumnName
Issues Preview
This preview adds support for a more complete workflow when interacting with issues.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.starfire-preview+json
Previewed schema members:
Mutation.addAssigneesToAssignableMutation.addLabelsToLabelableMutation.clearLabelsFromLabelableMutation.removeAssigneesFromAssignableMutation.removeLabelsFromLabelableMutation.updateIssueMutation.updateIssueCommentMutation.createIssueIssueFiltersLabel.issues.filterByRepository.issues.filterByMilestone.issues.filterByUser.issues.filterByMutation.closeIssueMutation.reopenIssueIssue.timelineItemsPullRequest.timelineItemsPullRequestCommitCommentThreadPullRequestRevisionMarkerMutation.deleteIssueCommentMutation.unmarkIssueAsDuplicateMutation.convertProjectCardNoteToIssueMutation.deleteIssue
Minimize Comments Preview
This preview adds support for minimizing comments on issues, pull requests, commits, and gists.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.queen-beryl-preview+json
Previewed schema members:
Mutation.minimizeCommentMutation.unminimizeCommentMinimizable
Pull Requests Preview
This preview adds support for a more complete workflow when interacting with pull requests.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.ocelot-preview+json
Previewed schema members:
Mutation.closePullRequestMutation.createPullRequestMutation.deletePullRequestReviewCommentMutation.mergePullRequestMutation.reopenPullRequestMutation.updatePullRequestPullRequest.reviewThreadsPullRequest.filesPullRequestChangedFilePullRequestChangedFileConnectionPullRequestChangedFileEdge
Create content attachments
This preview adds support for creating content attachments.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.corsair-preview+json
Previewed schema members:
Mutation.createContentAttachment
Pinned Issues Preview
This preview adds support for pinned issues.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.elektra-preview+json
Previewed schema members:
Repository.pinnedIssuesPinnedIssuePinnedIssueEdgePinnedIssueConnectionMutation.pinIssueMutation.unpinIssue
Unified business identity
This preview allows customers participating in the unified business identity early access program to manage business accounts.
To toggle this preview and access the following schema members, you must provide a custom media type in the Accept header:
application/vnd.github.gwenpool-preview+json
Previewed schema members:
BusinessBusinessAdminInfoBusinessBillingInfoBusinessIdentityProviderBusinessMemberInvitationBusinessRepositoryInfoBusinessMemberEdgeBusinessOutsideCollaboratorEdgeBusinessPendingCollaboratorEdgeBusinessPendingMemberInvitationConnectionBusinessDefaultRepositoryPermissionSettingValueBusinessEnabledDisabledSettingValueBusinessEnabledSettingValueBusinessMemberInvitationRoleBusinessMembersCanCreateRepositoriesSettingValueOrganizationMembersCanCreateRepositoriesSettingValueOrganizationOrderFieldSamlSignatureAlgorithmSamlDigestAlgorithmOrganizationOrderMutation.acceptBusinessMemberInvitationMutation.cancelBusinessAdminInvitationMutation.cancelBusinessBillingManagerInvitationMutation.inviteBusinessAdminMutation.inviteBusinessBillingManagerMutation.regenerateBusinessIdentityProviderRecoveryCodesMutation.removeBusinessAdminMutation.removeBusinessBillingManagerMutation.removeBusinessIdentityProviderMutation.setBusinessIdentityProviderMutation.updateBusinessAllowPrivateRepositoryForkingSettingMutation.updateBusinessDefaultRepositoryPermissionSettingMutation.updateBusinessMembersCanDeleteIssuesSettingMutation.updateBusinessMembersCanChangeRepositoryVisibilitySettingMutation.updateBusinessMembersCanCreateRepositoriesSettingMutation.updateBusinessMembersCanDeleteRepositoriesSettingMutation.updateBusinessMembersCanInviteCollaboratorsSettingMutation.updateBusinessMembersCanUpdateProtectedBranchesSettingMutation.updateBusinessOrganizationProjectsSettingMutation.updateBusinessProfileMutation.updateBusinessRepositoryProjectsSettingMutation.updateBusinessTeamDiscussionsSettingMutation.updateBusinessTwoFactorAuthenticationRequiredSettingQuery.businessQuery.businessMemberInvitationQuery.businessMemberInvitationByTokenAddBusinessAdminPayload.businessBusinessOrganizationInvitation.businessBusinessConnection.nodesBusinessEdge.nodeBusinessMemberConnection.edgesBusinessOutsideCollaboratorConnection.edgesBusinessPendingCollaboratorConnection.edgesUpdateBusinessProfilePayload.businessRemoveBusinessAdminPayload.businessRemoveBusinessBillingManagerPayload.businessRemoveBusinessOrganizationPayload.businessUpdateBusinessMembersCanCreateRepositoriesSettingPayload.businessUpdateBusinessAllowPrivateRepositoryForkingSettingPayload.businessUpdateBusinessDefaultRepositoryPermissionSettingPayload.businessUpdateBusinessTeamDiscussionsSettingPayload.businessUpdateBusinessOrganizationProjectsSettingPayload.businessUpdateBusinessRepositoryProjectsSettingPayload.businessUpdateBusinessMembersCanChangeRepositoryVisibilitySettingPayload.businessUpdateBusinessMembersCanInviteCollaboratorsSettingPayload.businessUpdateBusinessMembersCanDeleteIssuesSettingPayload.businessUpdateBusinessMembersCanDeleteRepositoriesSettingPayload.businessUpdateBusinessMembersCanMakePurchasesSettingPayload.businessUpdateBusinessTwoFactorAuthenticationRequiredSettingPayload.businessUpdateBusinessMembersCanUpdateProtectedBranchesSettingPayload.businessSetBusinessIdentityProviderPayload.identityProviderRemoveBusinessIdentityProviderPayload.identityProviderRegenerateBusinessIdentityProviderRecoveryCodesPayload.identityProviderBusinessMemberInvitationConnection.nodesBusinessMemberInvitationEdge.nodeInviteBusinessAdminPayload.invitationAcceptBusinessMemberInvitationPayload.invitationCancelBusinessAdminInvitationPayload.invitationInviteBusinessBillingManagerPayload.invitationCancelBusinessBillingManagerInvitationPayload.invitationBusinessRepositoryInfoConnection.nodesBusinessRepositoryInfoEdge.node