GET /com/vmware/vapi/metadata/metamodel/resource/model |
POST /com/vmware/vapi/metadata/metamodel/resource/model/id:{resource_id}?~action=list |
POST /com/vmware/vapi/metadata/metamodel/resource/model?~action=list |
resource_id
. The com.vmware.vapi.metadata.metamodel.structure service provides operations to retrieve more details about the structure elements corresponding to the identifiers returned by this operation.
{
"resource_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:List-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/resource/model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <resource_id>obj-103</resource_id> </ns0:List-Input>
GET /com/vmware/vapi/metadata/metamodel/resource/model
?resource_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
resource_id* |
ID | Yes | Identifier of the resource type. Id of type com.vmware.vapi.resource. |
{
"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> |
Name | Type | Required | Description |
---|---|---|---|
result | Set<ID> | Yes | The set of identifiers for the models that are associated with the resource type in resource_id . Id of type com.vmware.vapi.structure. |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the resource type associated with resource_id does not exist. |
404 |
Copyright © 2014. All Rights Reserved.