Validate Blueprint Using POST 1

Validate Blueprint Using POST 1

Validates a blueprint

Request
URI
POST
https://{api_host}//cava-s-182-041.eng.vmware.com/blueprint/api/blueprint-validation
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about


Request Body

request

BlueprintValidationRequest of type(s) application/json
Required
{
    "blueprintId": "string",
    "content": "string",
    "projectId": "string"
}
string As uuid As uuid
blueprintId
Optional

Blueprint Id

string
content
Optional

Blueprint YAML content

object
inputs
Optional

Blueprint request inputs

string
projectId
Optional

Project Id

Responses
200

OK

Returns BlueprintValidationResponse of type(s) application/json
{
    "valid": false,
    "validationMessages": [
        {
            "message": "string",
            "path": "string",
            "resourceName": "string",
            "type": "string"
        }
    ]
}
boolean
valid
Optional

Is blueprint valid

validationMessages
Optional

Validation messages


400

Bad Request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure