Skip to main content

migrations

Overview

Namemigrations
TypeResource
Idgithub.migrations.migrations

Fields

NameDatatypeDescription
idinteger
repositoriesarray
created_atstring
exclude_releasesboolean
updated_atstring
exclude_metadataboolean
node_idstring
urlstring
exclude_attachmentsboolean
excludearray
lock_repositoriesboolean
archive_urlstring
statestring
ownerobjectSimple User
guidstring
exclude_git_databoolean
exclude_owner_projectsboolean

Methods

NameAccessible byRequired ParamsDescription
get_status_for_authenticated_userSELECTmigration_idFetches a single user migration. The response includes the state of the migration, which can be one of the following values:

pending - the migration hasn't started yet.
exporting - the migration is in progress.
exported - the migration finished successfully.
failed - the migration failed.

Once the migration has been exported you can download the migration archive.
get_status_for_orgSELECTmigration_id, orgFetches the status of a migration.

The state of a migration can be one of the following values:

pending, which means the migration hasn't started yet.
exporting, which means the migration is in progress.
exported, which means the migration finished successfully.
failed, which means the migration failed.
list_for_authenticated_userSELECTLists all migrations a user has started.
list_for_orgSELECTorgLists the most recent migrations.
start_for_authenticated_userEXECdata__repositoriesInitiates the generation of a user migration archive.
start_for_orgEXECorg, data__repositoriesInitiates the generation of a migration archive.