Create Blueprint Version Using POST 1

Create Blueprint Version Using POST 1

Creates version for the given blueprint ID

Request
URI
POST
https://{api_host}//cava-s-182-041.eng.vmware.com/blueprint/api/blueprints/{blueprintId}/versions
COPY
Path Parameters
string
blueprintId
Required

blueprintId

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

Blueprint version object

BlueprintVersionRequest of type(s) application/json
Optional
{
    "changeLog": "string",
    "description": "string",
    "release": false,
    "version": "string"
}
string
changeLog
Optional

Blueprint version change log

string
description
Optional

Blueprint version description

boolean
release
Optional

Flag indicating to release version

string
version
Required

Blueprint version

Responses
201

Created

Returns BlueprintVersion of type(s) application/json
{
    "blueprintId": "string",
    "content": "string",
    "createdAt": "string",
    "createdBy": "string",
    "description": "string",
    "id": "string",
    "name": "string",
    "orgId": "string",
    "projectId": "string",
    "projectName": "string",
    "selfLink": "string",
    "status": "string",
    "updatedAt": "string",
    "updatedBy": "string",
    "valid": false,
    "version": "string",
    "versionChangeLog": "string",
    "versionDescription": "string"
}
string
blueprintId
Optional

Draft blueprint ID

string
content
Optional

Blueprint YAML content

string As date-time As date-time
createdAt
Optional

Created time

string
createdBy
Optional

Created by

string
description
Optional

Draft blueprint description

string
id
Optional

Object ID

string
name
Optional

Blueprint name

string
orgId
Optional

Org ID

string
projectId
Optional

Project ID

string
projectName
Optional

Project Name

string
selfLink
Optional

Blueprint version self link

string
status
Optional

Blueprint status

Possible values are : DRAFT, VERSIONED, RELEASED,
string As date-time As date-time
updatedAt
Optional

Updated time

string
updatedBy
Optional

Updated by

boolean
valid
Optional

Validation result

string
version
Optional

Blueprint version

string
versionChangeLog
Optional

Blueprint version change log

string
versionDescription
Optional

Blueprint version description


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

404

Not Found

Operation doesn't return any data structure