Repository Manipulation
Import a Git repo into this Diversion repo
Import a Git repo with all history from a Git URL. repo_id
must have no commits and no branches, or be already marked as synced with the same git_url
. The git repo URL must have http credentials embedded or otherwise hosted on Github and the owner has the Diversion Github app integration set up.
POST
/
repos
/
{repo_id}
/
import
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128
Body
application/json
Details of a git repo to import into Diversion
URL to the git repo. May be omitted if repo_id already has it set.