com.vmware.vapi.metadata.cli.namespace

The namespace service provides operations to get information about command line interface (CLI) namespaces.

list

GET /com/vmware/vapi/metadata/cli/namespace
POST /com/vmware/vapi/metadata/cli/namespace?~action=list

Returns the identifiers of all namespaces registered with the infrastructure.
Request:
Representations:
GET /com/vmware/vapi/metadata/cli/namespace

Parameters:
None

Response:
Representations:
{
    "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>

Parameters:
Name Type Required Description
result List<identity> Yes Identifiers of all the namespaces.

Errors:
None

Copyright © 2014. All Rights Reserved.