Get Resource
The returned definition contains base data for the resource. When this endpoint is called with the MIME type of the specified resource as the desired response content type, this operation is the equivalent of "Export resource": Exports a resource by its ID. If the request is successful, the resource binary content is available in the body of response message. It is up to the client application to properly fetch and process this attachment, for example by saving it to local file system. The exported resource has the same internal format as the resource exported using 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,
"href": "string",
"category-id": "string",
"mime-type": "string"
}
relations
id
name
description
version
status
href
category-id
mime-type
User is not authorized
"Resource Object"
relations
id
name
description
version
status
href
category-id
mime-type
Cannot find resource with the specified ID.
"Resource Object"
relations
id
name
description
version
status
href
category-id
mime-type
curl -H 'Authorization: <value>' https://{api_host}/vco/api/resources/{id}