com.vmware.vapi.metadata.cli.source

The source service provides operations to manage the sources of command line interface (CLI) metadata information.

The interface definition language infrastructure provides tools to generate various kinds of metadata in JSON format from the interface definition files and additional properties files. One of the generated files contains CLI information.

A CLI metadata file contains information about one component element. When a CLI metadata file is added as a source, each source contributes only one component element's metadata.

CLI metadata can also be discovered from a remote server that supports the CLI metadata services (see com.vmware.vapi.metadata.cli) package. Since multiple components can be registered with a single metadata server, when a remote server is registered as a source, that source can contribute more than one component.

delete

DELETE /com/vmware/vapi/metadata/cli/source/id:{source_id}
POST /com/vmware/vapi/metadata/cli/source/id:{source_id}?~action=delete
POST /com/vmware/vapi/metadata/cli/source?~action=delete

Deletes an existing CLI metadata source from the infrastructure.
Request:
Representations:
{
    "source_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Delete-Input xmlns:ns0="http://vmware.com/vapi/metadata/cli/source" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <source_id>obj-103</source_id>
</ns0:Delete-Input>
POST /com/vmware/vapi/metadata/cli/source?~action=delete
&source_id=obj-103

Parameters:
Name Type Required Description
source_id
 *
ID Yes Identifier of the metadata source. Id of type com.vmware.vapi.metadata.source.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
not_found If the metadata source identifier is not found. 404

Copyright © 2014. All Rights Reserved.