Mutations
abortQueuedMigrations
Clear all of a customer's queued migrations.
abortQueuedMigrations の入力フィールド
input(AbortQueuedMigrationsInput!)
abortQueuedMigrations の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Did the operation succeed?. |
abortRepositoryMigration
Abort a repository migration queued or in progress.
abortRepositoryMigration の入力フィールド
input(AbortRepositoryMigrationInput!)
abortRepositoryMigration の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Did the operation succeed?. |
createAttributionInvitation
Invites a user to claim reattributable data.
createAttributionInvitation の入力フィールド
createAttributionInvitation の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner scoping the reattributable data. |
| The account owning the data to reattribute. |
| The account which may claim the data. |
createMigrationSource
Creates a GitHub Enterprise Importer (GEI) migration source.
createMigrationSource の入力フィールド
input(CreateMigrationSourceInput!)
createMigrationSource の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The created migration source. |
grantMigratorRole
Grant the migrator role to a user or a team.
grantMigratorRole の入力フィールド
input(GrantMigratorRoleInput!)
grantMigratorRole の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Did the operation succeed?. |
importProject
Creates a new project by importing columns and a list of issues/PRs.
警告
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.
importProject の入力フィールド
input(ImportProjectInput!)
importProject の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new Project!. |
revokeMigratorRole
Revoke the migrator role from a user or a team.
revokeMigratorRole の入力フィールド
input(RevokeMigratorRoleInput!)
revokeMigratorRole の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| Did the operation succeed?. |
startOrganizationMigration
Starts a GitHub Enterprise Importer organization migration.
startOrganizationMigration の入力フィールド
input(StartOrganizationMigrationInput!)
startOrganizationMigration の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new organization migration. |
startRepositoryMigration
Starts a GitHub Enterprise Importer (GEI) repository migration.
startRepositoryMigration の入力フィールド
input(StartRepositoryMigrationInput!)
startRepositoryMigration の戻り値フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new repository migration. |
Objects
Mannequin
A placeholder user for attribution of imported data on GitHub.
Mannequin 実装
Mannequin のフィールド
| 名前 | 説明 |
|---|---|
| A URL pointing to the GitHub App's public avatar.
|
| The user that has claimed the data attributed to this mannequin. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The mannequin's email on the source instance. |
| The Node ID of the Mannequin object. |
| The username of the actor. |
| The display name of the imported mannequin. |
| The HTML path to this resource. |
| Identifies the date and time when the object was last updated. |
| The URL to this resource. |
MannequinConnection
A list of mannequins.
MannequinConnection のフィールド
| 名前 | 説明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
MannequinEdge
Represents a mannequin.
MannequinEdge のフィールド
| 名前 | 説明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
MigrationSource
A GitHub Enterprise Importer (GEI) migration source.
MigrationSource 実装
MigrationSource のフィールド
| 名前 | 説明 |
|---|---|
| The Node ID of the MigrationSource object. |
| The migration source name. |
| The migration source type. |
| The migration source URL, for example |
OrganizationMigration
A GitHub Enterprise Importer (GEI) organization migration.
OrganizationMigration 実装
OrganizationMigration のフィールド
| 名前 | 説明 |
|---|---|
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The reason the organization migration failed. |
| The Node ID of the OrganizationMigration object. |
| The remaining amount of repos to be migrated. |
| The name of the source organization to be migrated. |
| The URL of the source organization to migrate. |
| The migration state. |
| The name of the target organization. |
| The total amount of repositories to be migrated. |
RepositoryMigration
A GitHub Enterprise Importer (GEI) repository migration.
RepositoryMigration 実装
RepositoryMigration のフィールド
| 名前 | 説明 |
|---|---|
| The migration flag to continue on error. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The reason the migration failed. |
| The Node ID of the RepositoryMigration object. |
| The URL for the migration log (expires 1 day after migration completes). |
| The migration source. |
| The target repository name. |
| The migration source URL, for example |
| The migration state. |
| The number of warnings encountered for this migration. To review the warnings, check the Migration Log. |
RepositoryMigrationConnection
A list of migrations.
RepositoryMigrationConnection のフィールド
| 名前 | 説明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
RepositoryMigrationEdge
Represents a repository migration.
RepositoryMigrationEdge のフィールド
| 名前 | 説明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
Interfaces
Migration
Represents a GitHub Enterprise Importer (GEI) migration.
Migration は次で実装されています
Migration のフィールド
| 名前 | 説明 |
|---|---|
| The migration flag to continue on error. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The reason the migration failed. |
| The Node ID of the Migration object. |
| The URL for the migration log (expires 1 day after migration completes). |
| The migration source. |
| The target repository name. |
| The migration source URL, for example |
| The migration state. |
| The number of warnings encountered for this migration. To review the warnings, check the Migration Log. |
Enums
MannequinOrderField
Properties by which mannequins can be ordered.
MannequinOrderField の値です。
| 名前 | 説明 |
|---|---|
CREATED_AT | Order mannequins why when they were created. |
LOGIN | Order mannequins alphabetically by their source login. |
MigrationSourceType
Represents the different GitHub Enterprise Importer (GEI) migration sources.
MigrationSourceType の値です。
| 名前 | 説明 |
|---|---|
AZURE_DEVOPS | An Azure DevOps migration source. |
BITBUCKET_SERVER | A Bitbucket Server migration source. |
GITHUB_ARCHIVE | A GitHub Migration API source. |
MigrationState
The GitHub Enterprise Importer (GEI) migration state.
MigrationState の値です。
| 名前 | 説明 |
|---|---|
FAILED | The migration has failed. |
FAILED_VALIDATION | The migration has invalid credentials. |
IN_PROGRESS | The migration is in progress. |
NOT_STARTED | The migration has not started. |
PENDING_VALIDATION | The migration needs to have its credentials validated. |
QUEUED | The migration has been queued. |
SUCCEEDED | The migration has succeeded. |
OrganizationMigrationState
The Octoshift Organization migration state.
OrganizationMigrationState の値です。
| 名前 | 説明 |
|---|---|
FAILED | The Octoshift migration has failed. |
FAILED_VALIDATION | The Octoshift migration has invalid credentials. |
IN_PROGRESS | The Octoshift migration is in progress. |
NOT_STARTED | The Octoshift migration has not started. |
PENDING_VALIDATION | The Octoshift migration needs to have its credentials validated. |
POST_REPO_MIGRATION | The Octoshift migration is performing post repository migrations. |
PRE_REPO_MIGRATION | The Octoshift migration is performing pre repository migrations. |
QUEUED | The Octoshift migration has been queued. |
REPO_MIGRATION | The Octoshift org migration is performing repository migrations. |
SUCCEEDED | The Octoshift migration has succeeded. |
RepositoryMigrationOrderDirection
Possible directions in which to order a list of repository migrations when provided an orderBy argument.
RepositoryMigrationOrderDirection の値です。
| 名前 | 説明 |
|---|---|
ASC | Specifies an ascending order for a given |
DESC | Specifies a descending order for a given |
RepositoryMigrationOrderField
Properties by which repository migrations can be ordered.
RepositoryMigrationOrderField の値です。
| 名前 | 説明 |
|---|---|
CREATED_AT | Order mannequins why when they were created. |
Input objects
AbortQueuedMigrationsInput
Autogenerated input type of AbortQueuedMigrations.
AbortQueuedMigrationsInput の入力フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the organization that is running the migrations. |
AbortRepositoryMigrationInput
Autogenerated input type of AbortRepositoryMigration.
AbortRepositoryMigrationInput の入力フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the migration to be aborted. |
CreateAttributionInvitationInput
Autogenerated input type of CreateAttributionInvitation.
CreateAttributionInvitationInput の入力フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Node ID of the owner scoping the reattributable data. |
| The Node ID of the account owning the data to reattribute. |
| The Node ID of the account which may claim the data. |
CreateMigrationSourceInput
Autogenerated input type of CreateMigrationSource.
CreateMigrationSourceInput の入力フィールド
| 名前 | 説明 |
|---|---|
| The migration source access token. |
| A unique identifier for the client performing the mutation. |
| The GitHub personal access token of the user importing to the target repository. |
| The migration source name. |
| The ID of the organization that will own the migration source. |
| The migration source type. |
| The migration source URL, for example |
GrantMigratorRoleInput
Autogenerated input type of GrantMigratorRole.
GrantMigratorRoleInput の入力フィールド
| 名前 | 説明 |
|---|---|
| The user login or Team slug to grant the migrator role. |
| Specifies the type of the actor, can be either USER or TEAM. |
| A unique identifier for the client performing the mutation. |
| The ID of the organization that the user/team belongs to. |
ImportProjectInput
Autogenerated input type of ImportProject.
ImportProjectInput の入力フィールド
| 名前 | 説明 |
|---|---|
| The description of Project. |
| A unique identifier for the client performing the mutation. |
| A list of columns containing issues and pull requests. |
| The name of Project. |
| The name of the Organization or User to create the Project under. |
| Whether the Project is public or not. |
MannequinOrder
Ordering options for mannequins.
MannequinOrder の入力フィールド
| 名前 | 説明 |
|---|---|
| The ordering direction. |
| The field to order mannequins by. |
RepositoryMigrationOrder
Ordering options for repository migrations.
RepositoryMigrationOrder の入力フィールド
| 名前 | 説明 |
|---|---|
| The ordering direction. |
| The field to order repository migrations by. |
RevokeMigratorRoleInput
Autogenerated input type of RevokeMigratorRole.
RevokeMigratorRoleInput の入力フィールド
| 名前 | 説明 |
|---|---|
| The user login or Team slug to revoke the migrator role from. |
| Specifies the type of the actor, can be either USER or TEAM. |
| A unique identifier for the client performing the mutation. |
| The ID of the organization that the user/team belongs to. |
StartOrganizationMigrationInput
Autogenerated input type of StartOrganizationMigration.
StartOrganizationMigrationInput の入力フィールド
| 名前 | 説明 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The migration source access token. |
| The URL of the organization to migrate. |
| The ID of the enterprise the target organization belongs to. |
| The name of the target organization. |
StartRepositoryMigrationInput
Autogenerated input type of StartRepositoryMigration.
StartRepositoryMigrationInput の入力フィールド
| 名前 | 説明 |
|---|---|
| The migration source access token. |
| A unique identifier for the client performing the mutation. |
| Whether to continue the migration on error. Defaults to |
| The signed URL to access the user-uploaded git archive. |
| The GitHub personal access token of the user importing to the target repository. |
| Whether to lock the source repository. |
| The signed URL to access the user-uploaded metadata archive. |
| The ID of the organization that will own the imported repository. |
| The name of the imported repository. |
| Whether to skip migrating releases for the repository. |
| The ID of the migration source. |
| The URL of the source repository. |
| The visibility of the imported repository. |