repos

put/v1/api/cd/git/repositories/{id}

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/api/cd/git/repositories/{id}
  • Auth: none declared

Path parameters

idstring required

Request body

connection_idstring

The id of the scm connection to use for authentication

passphrasestring

A passphrase to decrypt the given private key

passwordstring

The http password for http authenticated repos

private_keystring

An ssh private key to use with this repo if an ssh url was given

urlstring required

The url of the git repository, can be either an https or ssh url

usernamestring

The http username for authenticated http repos, defaults to apiKey for github

Response

no description

auth_method'basic' | 'ssh'
errorstring

The error message for the git repository's last pull attempt

health'pullable' | 'failed'
https_pathstring

The https url for this git repo if you need to customize it

idstring
inserted_atstring date-time
pulled_atstring date-time

The last successful git pull timestamp

updated_atstring date-time
urlstring

The url of the git repository, can be either an https or ssh url

url_formatstring

A format string to get the http url for a subfolder in a git repo

Changes

No recorded changes to this operation across all 22 revisions of this API.