provider migrations GET
/orgs/{org}/migrations/{migration_id} @utdk/github
/orgs/{org}/migrations/{migration_id} Get an organization migration status
Fetches 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.
- org path required
- The organization name. The name is not case sensitive.
- string
- migration_id path required
- The unique identifier of the migration.
- integer
- exclude query
- Exclude attributes from the API response to improve performance
- array
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.migrations.getStatusForOrg()