Get Configuration
Retrieves the definition of a configuration. The returned definition contains base data for the configuration. When a request is sent to this endpoint with "application/vcoobject+xml" as the desired response content type, this operation is the equivalent of "Export configuration": Exports a configuration by its ID. If the request is successful, the configuration binary content is available in the body of the response message. It is up to the client application to properly fetch and process this attachment, for example, by saving it to the local file system. The exported configuration has the same internal format as the configurations exported by using the VCF Operations Orchestrator client.
id
The request is successful
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"id": "string",
"name": "string",
"description": "string",
"version": "string",
"status": 0,
"attributes": [
{
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"href": "string",
"category-id": "string"
}
relations
id
name
description
version
status
attributes
href
category-id
User is not authorized
"WsConfiguration Object"
relations
id
name
description
version
status
attributes
href
category-id
Cannot find configuration with the specified ID
"WsConfiguration Object"
relations
id
name
description
version
status
attributes
href
category-id
curl -H 'Authorization: <value>' https://{api_host}/vco/api/configurations/{id}