v1

latestOpenAPI 3.0.12026-07-17303.2 KB

Validate a YAML manifest for a Kubernetes resource. You can use this to validate Kubernetes YAML and guarantee there were no mistakes in generation

post/validate-yaml

Request body

resourceTypestring required

The type of the Kubernetes resource.

ymlstring required

The YAML manifest to validate.

Response

OK

isValidboolean

Whether the YAML is valid for the specified resource type.

errorstring

If the YAML is not valid, an error message explaining why.