1. Operations
2. vapi
3. metadata
4. metamodel
5. resource
6. model

## vapi metadata metamodel resource model: list

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

The vapi.metadata.metamodel.structure service provides operations to retrieve more details about the structure elements corresponding to the identifiers returned by this operation.

### Request:

#### HTTP request

GET https://{server}/rest/com/vmware/vapi/metadata/metamodel/resource/model
?resource_id=obj-103

#### Request Query Parameters:

Name | Type | Description
--- | --- | ---
bold = required
resource_id | string | Identifier of the resource type.

### Response:

#### HTTP Status Code: 200

#### Representations:

- JSON
- XML

{
"value": [
"obj-103",
"obj-103"
]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/resource/model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value-array>
<array-item>obj-103</array-item>
<array-item>obj-103</array-item>
</value-array>
</ns0:List-Result>

#### Response Type:

Name | Type | Description
--- | --- | ---
bold = required
value | string[] | The set of identifiers for the models that are associated with the resource type in `resource_id`.

#### Errors:

HTTP Status Code | Type | Description
--- | --- | ---
404 | not_found | if the resource type associated with `resource_id` does not exist.