Check if oci registry is valid
POSThttps://api.spectrocloud.com/v1/registries/oci/basic/validate
Returns no contents if oci registry is valid else error.
Request
- application/json
Body
required
auth
object
required
baseContentPathstring
OCI registry content base path
basePathstring
OCI registry api base path
endpointstringrequired
OCI registry endpoint
providerTypestring
Possible values: [helm
, zarf
, pack
]
Default value: helm
registryUidstring
Basic oci registry uid
scopestring
Responses
- 204
Ok response without content
Response Headers
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/registries/oci/basic/validate' \
-H 'Content-Type: application/json' \
--data-raw '{
"auth": {
"password": "string",
"tls": {
"ca": "string",
"certificate": "string",
"enabled": true,
"insecureSkipVerify": true,
"key": "string"
},
"token": "string",
"type": "noAuth",
"username": "string"
},
"baseContentPath": "string",
"basePath": "string",
"endpoint": "string",
"providerType": "helm",
"registryUid": "string",
"scope": "string"
}'