Skip to main content

Check if helm registry is valid

POST 

https://api.spectrocloud.com/v1/registries/helm/validate

Authorization: ApiKey

name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header

Returns no contents if helm registry is valid else error.

Request

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

required
    auth objectrequired

    Auth credentials of the registry

    passwordpassword
    tls object

    TLS configuration

    castring
    certificatestring
    enabledboolean
    insecureSkipVerifyboolean
    keystring
    tokenpassword
    typestring

    Possible values: [noAuth, basic, token]

    usernamestring
    endpointstringrequired
    isPrivateboolean
    namestring
    registryUidstring

    Helm registry uid

    scopestring

Responses

Ok response without content

Response Headers
  • AuditUid string

    Audit uid for the request

curl -L -X POST 'https://api.spectrocloud.com/v1/registries/helm/validate' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"auth": {
"password": "string",
"tls": {
"ca": "string",
"certificate": "string",
"enabled": true,
"insecureSkipVerify": true,
"key": "string"
},
"token": "string",
"type": "noAuth",
"username": "string"
},
"endpoint": "string",
"isPrivate": true,
"name": "string",
"registryUid": "string",
"scope": "string"
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— header
Body required
{
"auth": {
"password": "string",
"tls": {
"ca": "string",
"certificate": "string",
"enabled": true,
"insecureSkipVerify": true,
"key": "string"
},
"token": "string",
"type": "noAuth",
"username": "string"
},
"endpoint": "string",
"isPrivate": true,
"name": "string",
"registryUid": "string",
"scope": "string"
}