Vapi Metadata Metamodel Resource Model list

Vapi Metadata Metamodel Resource Model list

Returns the set of identifiers for the structure elements that are models for the resource type corresponding to resourceId.

The Vapi Metadata Metamodel Structure resource provides operations to retrieve more details about the structure elements corresponding to the identifiers returned by this operation.

Request
URI
GET
https://{api_host}/api/vapi/metadata/metamodel/resource/{resourceId}/model
COPY
Path Parameters
string
resourceId
Required

Identifier of the resource type.

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


Authentication
This operation uses the following authentication methods.
Responses
200

The set of identifiers for the models that are associated with the resource type in resourceId.

The response will contain identifiers for the resource type: com.vmware.vapi.structure.

[
    {}
]
array of string
Optional

404

if the resource type associated with resourceId does not exist.

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/resource/{resourceId}/model