This API has a deprecated equivalent from v7.0U1.
List Metamodel Resource Model
DescriptionReturns the set of identifiers for the structure elements that are models for the resource type corresponding to resourceId. The Structure service provides operations to retrieve more details about the structure elements corresponding to the identifiers returned by this operation.
Request
URLURL
https://{api_host}/api/vapi/metadata/metamodel/resource/{resource_id}/model
Path Parameters
Path Parameters
string
resource_id
Required
Identifier of the resource type.
The parameter must be an identifier for the resource type: com.vmware.vapi.resource.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
array
of
string of type application/json
The set of identifiers for the models that are associated with the resource type in resourceId. The result will contain identifiers for the resource type: com.vmware.vapi.structure.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vapi/metadata/metamodel/resource/{resource_id}/model
Errors
404
com.vmware.vapi.std.errors.not_found : if the resource type associated with resourceId does not exist.
Availability
Added in 7.0U2