Validate a configuration manifest

POST/configuration/validations

Validates a configuration manifest without modifying any resource.

Content problems, such as invalid fields or unresolved references, are reported in the validation report, and the response status is still 200. Check the valid field to determine the result.

The request is rejected with 422 only when the manifest cannot be evaluated: too_many_items when it exceeds the maximum number of resources, and unsupported_resource when it contains an unsupported resource kind.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A declarative configuration manifest document (cademi/configuration-manifest/v1).

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/configuration/validations" \  -H "Content-Type: application/json" \  -d '{    "resources": [      {        "kind": "showcase",        "ref": "string"      }    ]  }'
{  "data": {    "errors": [      {        "code": "string",        "message": "string",        "path": "string"      }    ],    "object": "validation",    "required_capabilities": [      "string"    ],    "unsupported": [      "string"    ],    "valid": true,    "warnings": [      {        "code": "string",        "path": "string"      }    ]  }}