POST /com/vmware/vapi/metadata/metamodel/component/id:{component_id}?~action=fingerprint |
POST /com/vmware/vapi/metadata/metamodel/component?~action=fingerprint |
component_id
. The fingerprint provides clients an efficient way to check if the metadata for a particular component element has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of get.
{
"component_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Fingerprint-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/component" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <component_id>obj-103</component_id> </ns0:Fingerprint-Input>
POST /com/vmware/vapi/metadata/metamodel/component?~action=fingerprint
&component_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
component_id* |
ID | Yes | Identifier of the component element. Id of type com.vmware.vapi.component. |
Name | Type | Required | Description |
---|---|---|---|
result | string | Yes | The fingerprint computed from the metamodel metadata of the component element. |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the component element associated with component_id is not registered with the infrastructure. |
404 |
Copyright © 2014. All Rights Reserved.