BlueprintDocument class
The BlueprintDocument class represents a blueprint document.
BlueprintDocument class APIs
The following tables list the basic APIs, operation APIs, and relationship APIs for the BlueprintDocument class.
Basic APIs
Name | HTTP | URI | Description |
---|---|---|---|
create | POST | Creates a BlueprintDocument object. | |
delete | DELETE | Deletes a BlueprintDocument object. | |
get | GET | Retrieves a BlueprintDocument object. | |
update | POST | Updates a BlueprintDocument object. | |
search | POST | Searches for BlueprintDocument objects. |
Operation APIs
Name | HTTP | URI | Description |
---|---|---|---|
checkin | POST | Checks-in a workspace document to the repository. It returns a BlueprintDocument representing the checked-in version. | |
checkout | POST | Checks-out a blueprint document. It returns a new BlueprintDocument representing the checked-out version. | |
clone | POST | Clone a document. The operation receives a name string, representing the new name to assign to the cloned document. It creates a new document in the workspace (version = 0) which is a copy of the source document, and a corresponding new blueprint. | |
export | POST | Exports a blueprint document, including all referenced documents (recursively), returning a document bundle. | |
getDocumentTree | POST | Returns a List<BlueprintDocument> that represents the transitive closure of the blueprint document. | |
import | POST | Imports a document bundle | |
makeLatest | POST | Creates a new version of this document as the latest version of the blueprint. |
Relationship APIs
Name | HTTP | URI | Description |
---|---|---|---|
relation | GET | Retrieves the baseDocument relationship. | |
relation | GET | Retrieves the blueprint relationship. | |
relation | GET | Retrieves the blueprintReferences relationship. | |
relation | GET | Retrieves the customFieldDefinitions relationship. | |
relation | GET | Retrieves the deploymentParameterValues relationship. | |
relation | GET | Retrieves the derivedDocuments relationship. | |
relation | GET | Retrieves the logicalHostingEnvironmentBlueprint relationship. | |
relation | GET | Retrieves the errors relationship. | |
relation | GET | Retrieves the provider relationship. | |
relation | GET | Retrieves the tags relationship. |
BlueprintDocument class relationships and attributes
The following tables list the relationships and attributes of the BlueprintDocument class.
Relationships
Name | Type | Multi- | Description |
---|---|---|---|
baseDocument | 0..1 |
| |
blueprint | 1 |
| |
blueprintReferences | 0..* |
| |
customFieldDefinitions | CustomFieldDefinition | 0..* |
|
deploymentParameterValues | 0..* |
| |
derivedDocuments | 0..* |
| |
logicalHostingEnvironmentBlueprint | 0..1 |
| |
errors | 0..* |
| |
cloudClass | 1 | Fully-qualified name of the class to which the object belongs | |
provider | 1 | Provider that created the object | |
tags | 0..* | Tags associated with the object |
Attributes
Name | Type | Multi- | Description |
---|---|---|---|
workspaceCopy | Boolean | 0..1 | Specifies whether the blueprint document is a workspace copy. When false (by default), the document represents a version in the repository. |
author | String | 1 | The name of the person who wrote the document. |
category | String | 1 | The category of the content of the document file, for example a ServiceBlueprint or a ServiceInfrastructureBlueprint |
content | String | 1 | The content of the document |
documentDate | 1 | The date and time the document was created | |
purpose | String | 0..1 | The purpose of the content of the document file, for example a ServiceModel or a FunctionalModel (for service blueprints) |
schemaVersion | String | 0..1 | The schema version of the document |
description | String | 0..1 | Text that describes the object |
guid | String | 1 | Globally unique identifier for the object |
labels | String | 0..* |
|
modifiedDate | 0..1 | Date the Cloudobject was modified | |
name | String | 1 | Human-readable name of the object |