List user migrations
GET
/user/migrations https://api.github.com
Lists all migrations a user has started.
Parameters
query Query Parameters
| Name | Type |
|---|---|
per_page The number of results per page (max 100). For more information, see "Using pagination in the REST API." | number |
page The page number of the results to fetch. For more information, see "Using pagination in the REST API." | number |
Responses
200 application/json
Response
interface Migration {
id: number;
owner:SimpleUser | null;
guid: string;
state: string;
lock_repositories: boolean;
exclude_metadata: boolean;
exclude_git_data: boolean;
exclude_attachments: boolean;
exclude_releases: boolean;
exclude_owner_projects: boolean;
org_metadata_only: boolean;
repositories:Repository [];
url: string;
created_at: string;
updated_at: string;
node_id: string;
archive_url?: string;
exclude?: string[];
}[]
id: number;
owner:
guid: string;
state: string;
lock_repositories: boolean;
exclude_metadata: boolean;
exclude_git_data: boolean;
exclude_attachments: boolean;
exclude_releases: boolean;
exclude_owner_projects: boolean;
org_metadata_only: boolean;
repositories:
url: string;
created_at: string;
updated_at: string;
node_id: string;
archive_url?: string;
exclude?: string[];
}[]
Redirects
304
Not modified
unknown
Client Errors
401 application/json
Requires authentication
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
403 application/json
Forbidden
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}