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
Key | Datatype | Required | Description |
---|---|---|---|
username | string | Username for accessing repo. | |
password | string | Password for accessing repo. | |
sshPrivateKey | string | Private key data for accessing SSH repository. | |
insecure | boolean | Whether to skip certificate or host key validation. | |
tlsClientCertData | string | TLS client cert data for accessing HTTPS repository. | |
tlsClientCertKey | string | TLS client cert key for accessing HTTPS repository. | |
type | string | The type of the repo. | |
name | string | The name of the repo. | |
enableOci | boolean | Whether helm-oci support should be enabled for this repo. | |
githubAppPrivateKey | string | Github App Private Key PEM data. | |
githubAppID | null | Github App ID of the app used to access the repo. | |
githubAppInstallationID | null | Github App Installation ID of the installed GitHub App. | |
githubAppEnterpriseBaseUrl | string | Github App Enterprise base url if empty will default to https://api.github.com. | |
proxy | string | HTTP/HTTPS proxy to access the repository. | |
project | string | Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity. | |
gcpServiceAccountKey | string | Google Cloud Platform service account key. | |
forceHttpBasicAuth | boolean | Whether to force HTTP basic auth. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}