Find Root Element
A REST endpoint for retrieving the root elements in a namespace. All VCF Operations Orchestrator plug-ins that have an inventory, usually provide a single root element. The VCF Operations Orchestrator server does not have a single root. Instead, for the System namespace, the VCF Operations Orchestrator REST API returns a list that contains links to all system types (workflows, tasks, etc.)
Request
URI
GET
https://{api_host}/vco/api/catalog/{namespace}
COPY
Path Parameters
string
namespace
Required
namespace
Query Parameters
string of
array
keys
Optional
keys
Responses
200
The request is successful
Returns
WsInventoryItem
of type(s)
application/json
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
object
relations
Optional
relations
array of
object
attributes
Optional
attributes
string
href
Optional
href
401
User is not authorized
Returns
WsInventoryItem
of type(s)
application/json
"WsInventoryItem Object"
object
relations
Optional
relations
array of
object
attributes
Optional
attributes
string
href
Optional
href
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/vco/api/catalog/{namespace}