GET /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id} |
POST /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id}?~action=get |
POST /com/vmware/vapi/metadata/metamodel/structure?~action=get |
structure_id
. The com.vmware.vapi.metadata.metamodel.structure_info contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
{
"structure_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Get-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/structure" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <structure_id>obj-103</structure_id> </ns0:Get-Input>
POST /com/vmware/vapi/metadata/metamodel/structure?~action=get
&structure_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
structure_id* |
ID | Yes | Identifier of the structure element. Id of type com.vmware.vapi.structure. |
{
"value": { "constants": [ { "key": "string", "value": { "documentation": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "value": { "category": "PRIMITIVE", "list_value": [ { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" }, { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } ], "primitive_value": { "boolean_value": true, "double_value": 10.23, "long_value": 10, "string_value": "string", "type": "BOOLEAN" } } } } ], "documentation": "string", "enumerations": [ { "key": "obj-103", "value": { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "values": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "value": "string" } ] } } ], "fields": [ { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } }, { "documentation": "string", "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "element_type": { "builtin_type": "VOID", "category": "BUILTIN", "generic_instantiation": { "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } }, "generic_type": "LIST" }, "user_defined_type": { "resource_id": "obj-103", "resource_type": "string" } } } ], "metadata": [ { "key": "string", "value": { "elements": [ { "key": "string", "value": { "list_value": [ "string", "string" ], "long_value": 10, "string_value": "string", "structure_id": "obj-103", "structure_ids": [ "obj-103", "obj-103" ], "type": "LONG" } } ] } } ], "name": "string", "type": "STRUCTURE" } }
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/structure" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value> <name>string</name> <documentation>string</documentation> <constants-array> <array-item> <value> <documentation>string</documentation> <value> <category>PRIMITIVE</category> <primitive_value> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </primitive_value> <list_value-array> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> <array-item> <long_value>10</long_value> <double_value>10.23</double_value> <string_value>string</string_value> <type>BOOLEAN</type> <boolean_value>true</boolean_value> </array-item> </list_value-array> </value> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> </value> <key>string</key> </array-item> </constants-array> <type>STRUCTURE</type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> <fields-array> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <name>string</name> <documentation>string</documentation> <type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> <element_type> <user_defined_type> <resource_id>obj-103</resource_id> <resource_type>string</resource_type> </user_defined_type> <category>BUILTIN</category> <generic_instantiation> <generic_type>LIST</generic_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </element_type> </generic_instantiation> <builtin_type>VOID</builtin_type> </type> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </fields-array> <enumerations-array> <array-item> <value> <values-array> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> <array-item> <documentation>string</documentation> <value>string</value> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </array-item> </values-array> <name>string</name> <documentation>string</documentation> <metadata-array> <array-item> <value> <elements-array> <array-item> <value> <long_value>10</long_value> <list_value-array> <array-item>string</array-item> <array-item>string</array-item> </list_value-array> <structure_id>obj-103</structure_id> <structure_ids-array> <array-item>obj-103</array-item> <array-item>obj-103</array-item> </structure_ids-array> <string_value>string</string_value> <type>LONG</type> </value> <key>string</key> </array-item> </elements-array> </value> <key>string</key> </array-item> </metadata-array> </value> <key>obj-103</key> </array-item> </enumerations-array> </value> </ns0:Get-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | structure_info | Yes | The com.vmware.vapi.metadata.metamodel.structure_info instance that corresponds to structure_id . |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the structure element associated with structure_id is not contained in any of the package elements or service elements. |
404 |
Copyright © 2014. All Rights Reserved.