Skip to main content

Test a Yaml paylod against a restore modfier

Select

SaaS
Customer Managed

Test a Yaml paylod against a restore modfier

Path Parameters
  • clusterId int32 required

    Id of the cluster whose modifier needs to be tested

Request Body
  • resourceYAML string

    Payload(Yaml) to test against the restore modifiers.

  • restoreModifierListYAML string

    YAML of Restore Modifier(s) to be tested.

Responses

Success


Schema
  • outputYAML string

    Output YAML

  • resp object
  • errorMessage string
  • errorCode int32
POST /v4/kubernetes/:clusterid/modifier/test    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
clusterId — path required
Body
{
"resourceYAML": "string",
"restoreModifierListYAML": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/Test' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"resourceYAML": "string",
"restoreModifierListYAML": "string"
}'