How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Migrations API

Move projects to or from GitHub.

GitHub Enterprise Migrations API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Migrations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 22 operations across 15 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

22 operations 15 paths 13 schemas 5 DELETE11 GET3 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 22

Across 15 paths, the API surfaces 22 operations — 5 DELETE, 11 GET, 3 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Migrations 22

Move projects to or from GitHub.

GET
/orgs/{org}/migrations
List organization migrations
migrations/list-for-org 4 params → 200
POST
/orgs/{org}/migrations
Start an organization migration
migrations/start-for-org 1 param body → 201404422
GET
/orgs/{org}/migrations/{migration_id}
Get an organization migration status
migrations/get-status-for-org 3 params → 200404
GET
/orgs/{org}/migrations/{migration_id}/archive
Download an organization migration archive
migrations/download-archive-for-org 2 params → 302404
DELETE
/orgs/{org}/migrations/{migration_id}/archive
Delete an organization migration archive
migrations/delete-archive-for-org 2 params → 204404
DELETE
/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock
Unlock an organization repository
migrations/unlock-repo-for-org 3 params → 204404
GET
/orgs/{org}/migrations/{migration_id}/repositories
List repositories in an organization migration
migrations/list-repos-for-org 4 params → 200404
GET
/repos/{owner}/{repo}/importdeprecated
Get an import status
migrations/get-import-status 2 params → 200404503
PUT
/repos/{owner}/{repo}/importdeprecated
Start an import
migrations/start-import 2 params body → 201422404503
PATCH
/repos/{owner}/{repo}/importdeprecated
Update an import
migrations/update-import 2 params body → 200503
DELETE
/repos/{owner}/{repo}/importdeprecated
Cancel an import
migrations/cancel-import 2 params → 204503
GET
/repos/{owner}/{repo}/import/authorsdeprecated
Get commit authors
migrations/get-commit-authors 3 params → 200404503
PATCH
/repos/{owner}/{repo}/import/authors/{author_id}deprecated
Map a commit author
migrations/map-commit-author 3 params body → 200422404503
GET
/repos/{owner}/{repo}/import/large_filesdeprecated
Get large files
migrations/get-large-files 2 params → 200503
PATCH
/repos/{owner}/{repo}/import/lfsdeprecated
Update Git LFS preference
migrations/set-lfs-preference 2 params body → 200422503
GET
/user/migrations
List user migrations
migrations/list-for-authenticated-user 2 params → 200304403401
POST
/user/migrations
Start a user migration
migrations/start-for-authenticated-user body → 201422304403401
GET
/user/migrations/{migration_id}
Get a user migration status
migrations/get-status-for-authenticated-user 2 params → 200404304403401
GET
/user/migrations/{migration_id}/archive
Download a user migration archive
migrations/get-archive-for-authenticated-user 1 param → 302304403401
DELETE
/user/migrations/{migration_id}/archive
Delete a user migration archive
migrations/delete-archive-for-authenticated-user 1 param → 204404304403401
DELETE
/user/migrations/{migration_id}/repos/{repo_name}/lock
Unlock a user repository
migrations/unlock-repo-for-authenticated-user 2 params → 204304404403401
GET
/user/migrations/{migration_id}/repositories
List repositories for a user migration
migrations/list-repos-for-authenticated-user 3 params → 200404

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are repository (98 properties), minimal-repository (90 properties), import (23 properties), nullable-simple-user (22 properties). Each schema is shown below with its type and property counts.

code-of-conduct
object
Code Of Conduct
5 properties 4 required
basic-error
object
Basic Error
4 properties
nullable-license-simple
objectnull
License Simple
6 properties 5 required
porter-author
object
Porter Author
7 properties 7 required
repository
object
A repository on GitHub.
98 properties 73 required
validation-error
object
Validation Error
3 properties 2 required
minimal-repository
object
Minimal Repository
90 properties 46 required
migration
object
A migration.
18 properties 16 required
nullable-simple-user
objectnull
A GitHub user.
22 properties 18 required
porter-large-file
object
Porter Large File
4 properties 4 required
import
object
A repository import from an external source.
23 properties 7 required
security-and-analysis
objectnull
11 properties
simple-user
object
A GitHub user.
22 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-migrations-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Migrations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.