provider migrations POST /user/migrations
@utdk/github /user/migrations
Start a user migration
Initiates the generation of a user migration archive.

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

migrations.startForAuthenticatedUser
POST/user/migrations
Initiates the generation of a user migration archive.

Input

Lock the repositories being migrated at the start of the migration

Indicates whether metadata should be excluded and only git source should be included for the migration.

Indicates whether the repository git data should be excluded from the migration.

Do not include attachments in the migration

Do not include releases in the migration

Indicates whether projects owned by the organization or users should be excluded.

Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).

Exclude attributes from the API response to improve performance

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.migrations.startForAuthenticatedUser({
  "org_metadata_only": false
})