Skip to main content
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation.

Schemavorschauversionen

Sie können eine Vorschau auf kommende Features und Änderungen am GraphQL-Schema für GitHub einsehen, ehe sie der GraphQL-API für GitHub hinzugefügt werden.

Informationen zur Schemavorschauversionen

Während des Vorschauzeitraums werden möglicherweise einige Features basierend auf Entwicklerfeedback geändert. Solche Änderungen werden im Entwicklerblog ohne vorherige Benachrichtigung veröffentlicht.

Um auf eine Schemavorschau zuzugreifen, musst du im Accept-Header einen benutzerdefinierten Medientyp für deine Anforderungen angeben. In der Featuredokumentation für jede Vorschauversion ist angegeben, welcher benutzerdefinierte Medientyp bereitgestellt werden soll.

Hinweis: Auf die Elemente des GraphQL-Schemas in Vorschauversionen kann derzeit nicht über den Explorer zugegriffen werden.

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+json

Previewed 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+json

Previewed schema members:

  • DeploymentStatus.environment
  • Mutation.createDeploymentStatus
  • Mutation.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+json

Previewed schema members:

  • PullRequest.canBeRebased
  • PullRequest.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+json

Previewed schema members:

  • Mutation.updateRefs
  • GitRefname
  • RefUpdate

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+json

Previewed schema members:

  • AddedToProjectEvent.project
  • AddedToProjectEvent.projectCard
  • AddedToProjectEvent.projectColumnName
  • ConvertedNoteToIssueEvent.project
  • ConvertedNoteToIssueEvent.projectCard
  • ConvertedNoteToIssueEvent.projectColumnName
  • MovedColumnsInProjectEvent.project
  • MovedColumnsInProjectEvent.projectCard
  • MovedColumnsInProjectEvent.projectColumnName
  • MovedColumnsInProjectEvent.previousProjectColumnName
  • RemovedFromProjectEvent.project
  • RemovedFromProjectEvent.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+json

Previewed schema members:

  • Mutation.createLabel
  • Mutation.deleteLabel
  • Mutation.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+json

Previewed 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+json

Previewed schema members:

  • Mutation.updateTeamReviewAssignment
  • TeamReviewAssignmentAlgorithm
  • Team.reviewRequestDelegationEnabled
  • Team.reviewRequestDelegationAlgorithm
  • Team.reviewRequestDelegationMemberCount
  • Team.reviewRequestDelegationNotifyTeam