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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;vcs&quot;:&quot;subversion&quot;,&quot;use_lfs&quot;:&quot;undecided&quot;,&quot;vcs_url&quot;:&quot;http://svn.mycompany.com/svn/myproject&quot;,&quot;status&quot;:&quot;importing&quot;,&quot;status_text&quot;:&quot;Importing...&quot;,&quot;has_large_files&quot;:false,&quot;large_files_size&quot;:0,&quot;large_files_count&quot;:0,&quot;authors_count&quot;:0,&quot;commit_count&quot;:1042,&quot;url&quot;:&quot;https://api.github.com/repos/octocat/socm/import&quot;,&quot;html_url&quot;:&quot;https://import.github.com/octocat/socm/import&quot;,&quot;authors_url&quot;:&quot;https://api.github.com/repos/octocat/socm/import/authors&quot;,&quot;repository_url&quot;:&quot;https://api.github.com/repos/octocat/socm&quot;}