Update an import

PATCH {{baseUrl}}/repos/:owner/:repo/import

An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted.

Request Body

{"vcs_username"=>"<string>", "vcs_password"=>"<string>", "vcs"=>"<string>", "tfvc_project"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&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;detecting&quot;,&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;}