ValidateAccess validates access to a repository with given parameters

POST {{baseUrl}}/api/v1/repositories/:repo/validate?username=mollit elit nostrud ad veniam&password=mollit elit nostrud ad veniam&sshPrivateKey=mollit elit nostrud ad veniam&insecure=true&tlsClientCertData=mollit elit nostrud ad veniam&tlsClientCertKey=mollit elit nostrud ad veniam&type=mollit elit nostrud ad veniam&name=mollit elit nostrud ad veniam&enableOci=true&githubAppPrivateKey=mollit elit nostrud ad veniam&githubAppID=&githubAppInstallationID=&githubAppEnterpriseBaseUrl=mollit elit nostrud ad veniam&proxy=mollit elit nostrud ad veniam&project=mollit elit nostrud ad veniam&gcpServiceAccountKey=mollit elit nostrud ad veniam&forceHttpBasicAuth=true

Request Params

KeyDatatypeRequiredDescription
usernamestringUsername for accessing repo.
passwordstringPassword for accessing repo.
sshPrivateKeystringPrivate key data for accessing SSH repository.
insecurebooleanWhether to skip certificate or host key validation.
tlsClientCertDatastringTLS client cert data for accessing HTTPS repository.
tlsClientCertKeystringTLS client cert key for accessing HTTPS repository.
typestringThe type of the repo.
namestringThe name of the repo.
enableOcibooleanWhether helm-oci support should be enabled for this repo.
githubAppPrivateKeystringGithub App Private Key PEM data.
githubAppIDnullGithub App ID of the app used to access the repo.
githubAppInstallationIDnullGithub App Installation ID of the installed GitHub App.
githubAppEnterpriseBaseUrlstringGithub App Enterprise base url if empty will default to https://api.github.com.
proxystringHTTP/HTTPS proxy to access the repository.
projectstringReference between project and repository that allow you automatically to be added as item inside SourceRepos project entity.
gcpServiceAccountKeystringGoogle Cloud Platform service account key.
forceHttpBasicAuthbooleanWhether to force HTTP basic auth.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{}