REST API - list

vapi metadata metamodel service operation: list

Returns the identifiers for the operation elements that are defined in the scope of service_id.

Request:

HTTP request

GET https://{server}/rest/com/vmware/vapi/metadata/metamodel/service/operation

?service_id=obj-103

Request Query Parameters:

Name Type Description
bold = required
service_id string Identifier of the service element.

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        "obj-103",
        "obj-103"
    ]
}

Response Type:

Name Type Description
bold = required
value string[] The list of identifiers for the operation elements that are defined in the scope of service_id.

Errors:

HTTP Status Code Type Description
404 not_found if the service element associated with service_id does not exist in any of the package elements.