关于架构预览
在预览期间,我们可以根据开发者的反馈更改某些功能。 如果我们确实进行了更改,我们将在开发者博客上公布这些更改,而不会事先通知。
若要访问架构预览,需要在请求的 Accept 标头中提供自定义媒体类型。 每个预览的功能文档可指定要提供的自定义媒体类型。
注意:目前无法通过 Explorer 访问处于预览状态的 GraphQL 架构成员。
Access to package version deletion preview
This preview adds support for the DeletePackageVersion mutation which enables deletion of private package versions.
To toggle this preview and access the following schema members, you must provide a custom media type in the `Accept` header:
application/vnd.github.package-deletes-preview+jsonPreviewed schema members:
Mutation.deletePackageVersion
Deployments preview
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+jsonPreviewed schema members:
DeploymentStatus.environmentMutation.createDeploymentStatusMutation.createDeployment
Merge info preview more detailed information about a pull request's merge state preview
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+jsonPreviewed schema members:
PullRequest.canBeRebasedPullRequest.mergeStateStatus
Update refs preview update multiple refs in a single operation preview
This preview adds support for updating multiple refs in a single operation.
To toggle this preview and access the following schema members, you must provide a custom media type in the `Accept` header:
application/vnd.github.update-refs-preview+jsonPreviewed schema members:
Mutation.updateRefsGitRefnameRefUpdate
Access to a repository's dependency graph preview
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+jsonPreviewed schema members:
DependencyGraphManifestRepository.dependencyGraphManifestsDependencyGraphManifestEdgeDependencyGraphManifestConnectionDependencyGraphDependencyDependencyGraphDependencyEdgeDependencyGraphDependencyConnection
Project event details preview
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+jsonPreviewed schema members:
AddedToProjectEvent.projectAddedToProjectEvent.projectCardAddedToProjectEvent.projectColumnNameConvertedNoteToIssueEvent.projectConvertedNoteToIssueEvent.projectCardConvertedNoteToIssueEvent.projectColumnNameMovedColumnsInProjectEvent.projectMovedColumnsInProjectEvent.projectCardMovedColumnsInProjectEvent.projectColumnNameMovedColumnsInProjectEvent.previousProjectColumnNameRemovedFromProjectEvent.projectRemovedFromProjectEvent.projectColumnName
Labels preview
This preview adds support for adding, updating, creating and deleting labels.
To toggle this preview and access the following schema members, you must provide a custom media type in the `Accept` header:
application/vnd.github.bane-preview+jsonPreviewed schema members:
Mutation.createLabelMutation.deleteLabelMutation.updateLabel
Import project preview
This preview adds support for importing projects.
To toggle this preview and access the following schema members, you must provide a custom media type in the `Accept` header:
application/vnd.github.slothette-preview+jsonPreviewed schema members:
Mutation.importProject
Team review assignments preview
This preview adds support for updating the settings for team review assignment.
To toggle this preview and access the following schema members, you must provide a custom media type in the `Accept` header:
application/vnd.github.stone-crop-preview+jsonPreviewed schema members:
Mutation.updateTeamReviewAssignmentTeamReviewAssignmentAlgorithmTeam.reviewRequestDelegationEnabledTeam.reviewRequestDelegationAlgorithmTeam.reviewRequestDelegationMemberCountTeam.reviewRequestDelegationNotifyTeam