Validate Blueprint Using POST

Validate Blueprint Using POST

Validates a blueprint

Request
URI
POST
https://{api_host}//api.mgmt.cloud.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


201

Created

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


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure