vapi metadata metamodel component: fingerprint

Retrieves the fingerprint computed from the metamodel metadata of the component element corresponding to 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.

Request:

HTTP request

POST https://{server}/rest/com/vmware/vapi/metadata/metamodel/component/id:{component_id}?~action=fingerprint

Path Parameters

Name Type Description
Required
component_id string Identifier of the component element.

Response:

HTTP Status Code: 200

Representations:

{
    "value""string"
}
<?xml version="1.0" ?>
<ns0:Fingerprint-Result xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/component" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>string</value>
</ns0:Fingerprint-Result>

Response Type:

Name Type Description
bold = required
value string The fingerprint computed from the metamodel metadata of the component element.

Errors:

HTTP Status Code Type Description
404 not_found if the component element associated with component_id is not registered with the infrastructure.