Create Blueprint Version Using POST

Create Blueprint Version Using POST

Creates version for the given blueprint ID

Request
URI
POST
https://{api_host}/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
BlueprintVersionRequest of type(s) application/json
Required

Show optional properties

{
    "version": "string"
}
{
    "changeLog": "string",
    "description": "string",
    "release": false,
    "sourceControlPush": false,
    "version": "string"
}
string
changeLog
Optional

Blueprint version change log

string
description
Optional

Blueprint version description

boolean
release
Optional

Flag indicating version should be released

boolean
sourceControlPush
Optional

Flag indicating version should be pushed to source control

string
version
Required

Blueprint version

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns BlueprintVersion of type(s) application/json
"BlueprintVersion Object"
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
formId
Optional

Custom form ID.

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

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"version:"string"}' https://{api_host}/blueprint/api/blueprints/{blueprintId}/versions