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
Request
- Base URLhttps://api.diversion.dev/v0
- AuthOAuth 2Implicithttps://auth.diversion.dev/oauth2/authorizeScopescoreapi/write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Import started asynchronously. Poll the repo until it shows a default branch.
Changes
No recorded changes to this operation across all 1 revision of this API.