Vapi Metadata Metamodel Component fingerprint

Vapi Metadata Metamodel Component fingerprint

Retrieves the fingerprint computed from the metamodel metadata of the component element corresponding to componentId.

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 /vapi/metadata/metamodel/component/{componentId}.

Request
URI
GET
https://{api_host}/api/vapi/metadata/metamodel/component/{componentId}/fingerprint
COPY
Path Parameters
string
componentId
Required

Identifier of the component element.

The parameter must be an identifier for the resource type: com.vmware.vapi.component.


Authentication
This operation uses the following authentication methods.
Responses
200

The fingerprint computed from the metamodel metadata of the component element.

Returns string of type(s) application/json
Operation doesn't return any data structure

404

if the component element associated with componentId is not registered with the infrastructure.

Returns Vapi Std Errors NotFound of type(s) application/json
This response body class contains all of the following: InlineVapi Std Errors NotFound0
{
    "messages": [
        {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": "Vapi Std NestedLocalizableMessage Object",
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        }
    ],
    "data": {},
    "error_type": "string"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/metamodel/component/{componentId}/fingerprint