REST API - fingerprint

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

Representation:

{
    "value""string"
}

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.