312a80145102

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-141,22096812.2 MB
migrations

List repositories for a user migration

Lists all the repositories for this user migration.

get/user/migrations/{migration_id}/repositories

Path parameters

migration_idinteger required

The unique identifier of the migration.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

idinteger required

A unique identifier of the repository.

node_idstring required

The GraphQL identifier of the repository.

namestring required

The name of the repository.

full_namestring required

The full, globally unique, name of the repository.

privateboolean required

Whether the repository is private.

html_urlstring uri required

The URL to view the repository on GitHub.com.

descriptionstring nullable required

The repository description.

forkboolean required

Whether the repository is a fork.

urlstring uri required

The URL to get more information about the repository from the GitHub API.

archive_urlstring required

A template for the API URL to download the repository as an archive.

assignees_urlstring required

A template for the API URL to list the available assignees for issues in the repository.

blobs_urlstring required

A template for the API URL to create or retrieve a raw Git blob in the repository.

branches_urlstring required

A template for the API URL to get information about branches in the repository.

collaborators_urlstring required

A template for the API URL to get information about collaborators of the repository.

comments_urlstring required

A template for the API URL to get information about comments on the repository.

commits_urlstring required

A template for the API URL to get information about commits on the repository.

compare_urlstring required

A template for the API URL to compare two commits or refs.

contents_urlstring required

A template for the API URL to get the contents of the repository.

contributors_urlstring uri required

A template for the API URL to list the contributors to the repository.

deployments_urlstring uri required

The API URL to list the deployments of the repository.

downloads_urlstring uri required

The API URL to list the downloads on the repository.

events_urlstring uri required

The API URL to list the events of the repository.

forks_urlstring uri required

The API URL to list the forks of the repository.

git_commits_urlstring required

A template for the API URL to get information about Git commits of the repository.

git_refs_urlstring required

A template for the API URL to get information about Git refs of the repository.

git_tags_urlstring required

A template for the API URL to get information about Git tags of the repository.

issue_comment_urlstring required

A template for the API URL to get information about issue comments on the repository.

issue_events_urlstring required

A template for the API URL to get information about issue events on the repository.

issues_urlstring required

A template for the API URL to get information about issues on the repository.

keys_urlstring required

A template for the API URL to get information about deploy keys on the repository.

labels_urlstring required

A template for the API URL to get information about labels of the repository.

languages_urlstring uri required

The API URL to get information about the languages of the repository.

merges_urlstring uri required

The API URL to merge branches in the repository.

milestones_urlstring required

A template for the API URL to get information about milestones of the repository.

notifications_urlstring required

A template for the API URL to get information about notifications on the repository.

pulls_urlstring required

A template for the API URL to get information about pull requests on the repository.

releases_urlstring required

A template for the API URL to get information about releases on the repository.

stargazers_urlstring uri required

The API URL to list the stargazers on the repository.

statuses_urlstring required

A template for the API URL to get information about statuses of a commit.

subscribers_urlstring uri required

The API URL to list the subscribers on the repository.

subscription_urlstring uri required

The API URL to subscribe to notifications for this repository.

tags_urlstring uri required

The API URL to get information about tags on the repository.

teams_urlstring uri required

The API URL to list the teams on the repository.

trees_urlstring required

A template for the API URL to create or retrieve a raw Git tree of the repository.

hooks_urlstring uri required

The API URL to list the hooks on the repository.

Example response

[
  {
    "id": 1296269,
    "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
    "name": "Hello-World",
    "full_name": "octocat/Hello-World",
    "owner": {
      "login": "octocat",
      "id": 1,
      "node_id": "MDQ6VXNlcjE=",
      "avatar_url": "https://github.com/images/error/octocat_happy.gif",
      "gravatar_id": "41d064eb2195891e12d0413f63227ea7",
      "url": "https://api.github.com/users/octocat",
      "html_url": "https://github.com/octocat",
      "followers_url": "https://api.github.com/users/octocat/followers",
      "following_url": "https://api.github.com/users/octocat/following{/other_user}",
      "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
      "organizations_url": "https://api.github.com/users/octocat/orgs",
      "repos_url": "https://api.github.com/users/octocat/repos",
      "events_url": "https://api.github.com/users/octocat/events{/privacy}",
      "received_events_url": "https://api.github.com/users/octocat/received_events",
      "type": "User",
      "starred_at": "\"2020-07-09T00:17:55Z\"",
      "user_view_type": "public"
    },
    "html_url": "https://github.com/octocat/Hello-World",
    "description": "This your first repo!",
    "url": "https://api.github.com/repos/octocat/Hello-World",
    "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
    "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
    "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
    "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
    "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
    "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
    "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
    "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
    "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
    "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
    "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
    "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
    "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
    "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
    "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
    "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
    "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
    "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
    "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
    "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
    "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
    "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
    "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
    "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
    "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
    "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
    "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
    "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
    "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
    "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
    "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
    "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
    "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
    "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
    "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks"
  }
]