apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /repos/{owner}/{repo}/import — GitHub API

GitHub playground

Start an import

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

5 body fields
  • vcs_url · required · string — The URL of the originating repository.
  • vcs · optional · string — 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.
  • vcs_username · optional · string — If authentication is required, the username to provide to `vcs_url`.
  • vcs_password · optional · string — If authentication is required, the password to provide to `vcs_url`.
  • tfvc_project · optional · string — For a tfvc import, the name of the project that is being imported.