Git

Create a new Git repository

Add a new Git repository to the system

post/gits

Request body

namestring required

Name of the Git repository

urlstring required

URL of the Git repository

auth_type'none' | 'http' | 'ssh'

Authentication type for the Git repository

usernamestring

Username for HTTP authentication

passwordstring

Password/token for HTTP authentication

ssh_keystring

SSH private key for SSH authentication

ssh_passwordstring

SSH key password if the key is password-protected

Response

Git repository created successfully

codeinteger
messagestring

Changes