Start an import
PUT {{baseUrl}}/repos/:owner/:repo/import
Start a source import to a GitHub repository using GitHub Importer.
Request Body
{"vcs_url"=>"<string>", "vcs"=>"<string>", "vcs_username"=>"<string>", "vcs_password"=>"<string>", "tfvc_project"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"vcs":"subversion","use_lfs":"undecided","vcs_url":"http://svn.mycompany.com/svn/myproject","status":"importing","status_text":"Importing...","has_large_files":false,"large_files_size":0,"large_files_count":0,"authors_count":0,"commit_count":1042,"url":"https://api.github.com/repos/octocat/socm/import","html_url":"https://import.github.com/octocat/socm/import","authors_url":"https://api.github.com/repos/octocat/socm/import/authors","repository_url":"https://api.github.com/repos/octocat/socm"}