repository
post/api/repo/import
Request body
descriptionstring required
Short description of the repository
mirrorboolean nullable
Set to true to mirror the repository
namestring required
Repository name
namespacestring required
Namespace (username or org name) under which the imported repo should be created
passwordstring nullable
Password for authenticating with the remote
urlstring uri required
URL of the remote repository to import
usernamestring nullable
Username for authenticating with the remote
visibility'public' | 'internal' | 'private' required
Response
Repository import queued successfully
idstring uuid required
Internal ID of the newly created repository
urlstring required
Full URL to the repository