rest.migrations
Octokit exposes these methods on octokit.rest.migrations. The last column lists defaults and decorations applied by the SDK.
| Method | Upstream route | Pagination | SDK behavior |
|---|---|---|---|
deleteArchiveForAuthenticatedUser |
DELETE /user/migrations/{migration_id}/archive |
— | — |
deleteArchiveForOrg |
DELETE /orgs/{org}/migrations/{migration_id}/archive |
— | — |
downloadArchiveForOrg |
GET /orgs/{org}/migrations/{migration_id}/archive |
— | — |
getArchiveForAuthenticatedUser |
GET /user/migrations/{migration_id}/archive |
— | — |
getStatusForAuthenticatedUser |
GET /user/migrations/{migration_id} |
— | — |
getStatusForOrg |
GET /orgs/{org}/migrations/{migration_id} |
— | — |
listForAuthenticatedUser |
GET /user/migrations |
yes | — |
listForOrg |
GET /orgs/{org}/migrations |
yes | — |
listReposForAuthenticatedUser |
GET /user/migrations/{migration_id}/repositories |
yes | — |
listReposForOrg |
GET /orgs/{org}/migrations/{migration_id}/repositories |
yes | — |
listReposForUser |
GET /user/migrations/{migration_id}/repositories |
yes | renamed to migrations.listReposForAuthenticatedUser |
startForAuthenticatedUser |
POST /user/migrations |
— | — |
startForOrg |
POST /orgs/{org}/migrations |
— | — |
unlockRepoForAuthenticatedUser |
DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock |
— | — |
unlockRepoForOrg |
DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock |
— | — |