Vapi Metadata Metamodel Service Operation get
Retrieves the metamodel information about an operation element corresponding to operationId contained in the service element corresponding to serviceId.
Identifier of the service element.
The parameter must be an identifier for the resource type: com.vmware.vapi.service
.
Identifier of the operation element.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation
.
The Vapi Metadata Metamodel OperationInfo instance that corresponds to operationId defined in scope serviceId.
{
"name": "string",
"params": [
{
"name": "string",
"type": {
"category": "string",
"builtin_type": "string",
"user_defined_type": {
"resource_type": "string",
"resource_id": "string"
},
"generic_instantiation": "Vapi Metadata Metamodel GenericInstantiation Object"
},
"metadata": {
"metadata": {
"elements": {
"elements": {
"type": "string",
"long_value": 0,
"string_value": "string",
"list_value": [
"string"
],
"structure_id": "string",
"structure_ids": [
"string"
]
}
}
}
},
"documentation": "string"
}
],
"output": {
"type": {
"category": "string",
"builtin_type": "string",
"user_defined_type": {
"resource_type": "string",
"resource_id": "string"
},
"generic_instantiation": "Vapi Metadata Metamodel GenericInstantiation Object"
},
"metadata": {
"metadata": {
"elements": {
"elements": {
"type": "string",
"long_value": 0,
"string_value": "string",
"list_value": [
"string"
],
"structure_id": "string",
"structure_ids": [
"string"
]
}
}
}
},
"documentation": "string"
},
"errors": [
{
"structure_id": "string",
"documentation": "string"
}
],
"metadata": {
"metadata": {
"elements": {
"elements": {
"type": "string",
"long_value": 0,
"string_value": "string",
"list_value": [
"string"
],
"structure_id": "string",
"structure_ids": [
"string"
]
}
}
}
},
"documentation": "string"
}
Name of the operation element in a canonical format. The format is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention.
Metamodel information for the parameter elements. The order of the parameters elements in the list is same as the order of the parameters declared in the interface definition file.
Metamodel type for the output element.
List of error elements that might be reported by the operation element. If the operation reports the same error for more than one reason, the list contains the error element associated with the error more than once with different documentation elements.
Generic metadata elements for the operation element. The key in the map is the name of the metadata element and the value is the data associated with that metadata element.
The Vapi Metadata Metamodel MetadataIdentifier contains possible string values for key in the map.
English language documentation for the operation element. It can contain HTML markup and Javadoc tags.
if the service element associated with serviceId does not exist in any of the package elements.
if the operation element associated with operationId does not exist in the service element.
"Vapi Std Errors NotFound Object"
curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/metamodel/service/{serviceId}/operation/{operationId}