com.vmware.vapi.metadata.privilege.source

The source service provides operations to manage the sources of privilege 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 privilege information. The generated file can be registered as a source of metadata.

The privilege file contains all the data present in the interface definition files. Each privilege file contains data about one component element. When a privilege file is added as a source, each source contributes only one component element's metadata.

Privilege metadata can also be discovered from a remote server that supports the privilege metadata services (see com.vmware.vapi.metadata.privilege). 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.

reload

POST /com/vmware/vapi/metadata/privilege/source/id:{source_id}?~action=reload
POST /com/vmware/vapi/metadata/privilege/source?~action=reload

Reloads the privilege metadata from all the metadata sources or of a particular metadata source if source_id is specified.
Request:
Representations:
{
    "source_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Reload-Input xmlns:ns0="http://vmware.com/vapi/metadata/privilege/source" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <source_id>obj-103</source_id>
</ns0:Reload-Input>
POST /com/vmware/vapi/metadata/privilege/source?~action=reload
&source_id=obj-103

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

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
not_found if the metadata source associated with source_id is not found. 404

Copyright © 2014. All Rights Reserved.