Restore Blueprint Version Using POST
Restores content of draft from versioned blueprint
blueprintId
version
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about
OK
{
"content": "string",
"contentSourceId": "string",
"contentSourcePath": "string",
"contentSourceSyncAt": "string",
"contentSourceSyncMessages": [
"string"
],
"contentSourceSyncStatus": "string",
"contentSourceType": "string",
"createdAt": "string",
"createdBy": "string",
"description": "string",
"formId": "string",
"iconId": "string",
"id": "string",
"name": "string",
"orgId": "string",
"organizationSharings": [
{
"createdAt": "string",
"createdBy": "string",
"orgId": "string",
"updatedAt": "string",
"updatedBy": "string"
}
],
"projectId": "string",
"projectName": "string",
"requestScopeOrg": false,
"selfLink": "string",
"status": "string",
"totalReleasedVersions": 0,
"totalVersions": 0,
"updatedAt": "string",
"updatedBy": "string",
"valid": false,
"validationMessages": [
{
"message": "string",
"metadata": {
"metadata": "string"
},
"path": "string",
"resourceName": "string",
"type": "string"
}
]
}
Blueprint YAML content
Content source id
Content source path
Content source last sync time
Content source last sync messages
Content source last sync status
Content source type
Created time
Created by
Blueprint description
Custom form ID.
Icon ID
Object ID
Blueprint name
Org ID
List of organizations with whom the given blueprint is either shared with or needs to be shared with. If share with all the organizations, there should be one organizationSharing in the array with orgId as 'ALL'.
Project ID
Project Name
Flag to indicate blueprint can be requested from any project in org
Blueprint self link
Blueprint status
Total released versions
Total versions
Updated time
Updated by
Validation result on update
Validation messages
Unauthorized
Forbidden
Not Found
curl -X POST -H 'Authorization: <value>' https://{api_host}/blueprint/api/blueprints/{blueprintId}/versions/{version}/actions/restore