Skip to main content

Cette version de GitHub Enterprise Server ne sera plus disponible le 2026-09-22. Les versions abandonnées ne sont pas prises en charge. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités dans GitHub Enterprise Server, consultez Overview du processus de mise à niveau. Pour obtenir de l’aide sur la mise à niveau, GitHub Support Entreprise.

Migrations

Documentation de référence sur les types de schéma GraphQL dans la catégorie Migrations.

Mutations

abortQueuedMigrations

Mutation

Clear all of a customer's queued migrations.

Champs d’entrée pour abortQueuedMigrations

Champs de retour pour abortQueuedMigrations

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Did the operation succeed?.

abortRepositoryMigration

Mutation

Abort a repository migration queued or in progress.

Champs d’entrée pour abortRepositoryMigration

Champs de retour pour abortRepositoryMigration

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Did the operation succeed?.

createAttributionInvitation

Mutation

Invites a user to claim reattributable data.

Champs d’entrée pour createAttributionInvitation

Champs de retour pour createAttributionInvitation

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

owner (Organization)

The owner scoping the reattributable data.

source (Claimable)

The account owning the data to reattribute.

target (Claimable)

The account which may claim the data.

createMigrationSource

Mutation

Creates a GitHub Enterprise Importer (GEI) migration source.

Champs d’entrée pour createMigrationSource

Champs de retour pour createMigrationSource

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

migrationSource (MigrationSource)

The created migration source.

grantMigratorRole

Mutation

Grant the migrator role to a user or a team.

Champs d’entrée pour grantMigratorRole

Champs de retour pour grantMigratorRole

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Did the operation succeed?.

importProject

Mutation

Creates a new project by importing columns and a list of issues/PRs.

Avertissement

importProject is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Champs d’entrée pour importProject

Champs de retour pour importProject

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

project (Project)

The new Project!.

revokeMigratorRole

Mutation

Revoke the migrator role from a user or a team.

Champs d’entrée pour revokeMigratorRole

Champs de retour pour revokeMigratorRole

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Did the operation succeed?.

startOrganizationMigration

Mutation

Starts a GitHub Enterprise Importer organization migration.

Champs d’entrée pour startOrganizationMigration

Champs de retour pour startOrganizationMigration

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

orgMigration (OrganizationMigration)

The new organization migration.

startRepositoryMigration

Mutation

Starts a GitHub Enterprise Importer (GEI) repository migration.

Champs d’entrée pour startRepositoryMigration

Champs de retour pour startRepositoryMigration

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryMigration (RepositoryMigration)

The new repository migration.

Objects

Mannequin

Object

A placeholder user for attribution of imported data on GitHub.

Mannequin Met en œuvre

Champs pour Mannequin

NomDescription

avatarUrl (URI!)

A URL pointing to the GitHub App's public avatar.

Arguments pour avatarUrl

  • size (Int)

    The size of the resulting square image.

claimant (User)

The user that has claimed the data attributed to this mannequin.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

email (String)

The mannequin's email on the source instance.

id (ID!)

The Node ID of the Mannequin object.

login (String!)

The username of the actor.

resourcePath (URI!)

The HTML path to this resource.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The URL to this resource.

MannequinConnection

Object

A list of mannequins.

Champs pour MannequinConnection

NomDescription

edges ([MannequinEdge])

A list of edges.

nodes ([Mannequin])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

MannequinEdge

Object

Represents a mannequin.

Champs pour MannequinEdge

NomDescription

cursor (String!)

A cursor for use in pagination.

node (Mannequin)

The item at the end of the edge.

MigrationSource

Object

A GitHub Enterprise Importer (GEI) migration source.

MigrationSource Met en œuvre

Champs pour MigrationSource

NomDescription

id (ID!)

The Node ID of the MigrationSource object.

name (String!)

The migration source name.

type (MigrationSourceType!)