vapi metadata cli namespace: list
Returns the identifiers of all namespaces registered with the infrastructure.
Request:
HTTP request
GET https://{server}/rest/com/vmware/vapi/metadata/cli/namespace
No request parameters
Response:
HTTP Status Code: 200
Representations:
{
"value": [
{
"name": "string",
"path": "string"
},
{
"name": "string",
"path": "string"
}
]
}
"value": [
{
"name": "string",
"path": "string"
},
{
"name": "string",
"path": "string"
}
]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/vapi/metadata/cli/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value-array>
<array-item>
<name>string</name>
<path>string</path>
</array-item>
<array-item>
<name>string</name>
<path>string</path>
</array-item>
</value-array>
</ns0:List-Result>
<ns0:List-Result xmlns:ns0="http://vmware.com/vapi/metadata/cli/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value-array>
<array-item>
<name>string</name>
<path>string</path>
</array-item>
<array-item>
<name>string</name>
<path>string</path>
</array-item>
</value-array>
</ns0:List-Result>
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | identity[] | Identifiers of all the namespaces. |
value[].path | string | The dot-separated path of the namespace containing the namespace in the CLI node tree. For top-level namespace this will be empty. |
value[].name | string | The name displayed to the user for this namespace. |