Vapi Metadata Privilege Service Operation list

Vapi Metadata Privilege Service Operation list

Returns the identifiers for the operation elements contained in the service element corresponding to serviceId that have privilege information.

Request
URI
GET
https://{api_host}/api/vapi/metadata/privilege/service/{serviceId}/operation
COPY
Path Parameters
string
serviceId
Required

Identifier of the service element.

The parameter must be an identifier for the resource type: com.vmware.vapi.service.


Authentication
This operation uses the following authentication methods.
Responses
200

List of identifiers for the operation elements contained in the service element that have privilege information.

The response will contain identifiers for the resource type: com.vmware.vapi.operation.

[
    {}
]
array of string
Optional

404

if the service element associated with serviceId does not have any operation elements that have privilege information.

Returns Vapi Std Errors NotFound of type(s) application/json
This response body class contains all of the following: InlineVapi Std Errors NotFound0
{
    "messages": [
        {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": "Vapi Std NestedLocalizableMessage Object",
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        }
    ],
    "data": {},
    "error_type": "string"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/privilege/service/{serviceId}/operation