Start a source import to a GitHub repository using GitHub Importer. Importing into a GitHub repository with GitHub Actions enabled is not supported and will return a status 422 Unprocessable Entity response.
The account owner of the repository. The name is not case sensitive.
repo
string
required
The name of the repository. The name is not case sensitive.
Body Params application/json
tfvc_project
string
optional
For a tfvc import, the name of the project that is being imported.
vcs
enum<string>
optional
The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response.
Allowed values:
subversiongitmercurialtfvc
vcs_password
string
optional
If authentication is required, the password to provide to vcs_url.
vcs_url
string
required
The URL of the originating repository.
vcs_username
string
optional
If authentication is required, the username to provide to vcs_url.