Vapi Metadata Privilege Service Operation get

Vapi Metadata Privilege Service Operation get

Retrieves the privilege information about an operation element corresponding to operationId contained in the service element corresponding to serviceId.

Request
URI
GET
https://{api_host}/api/vapi/metadata/privilege/service/{serviceId}/operation/{operationId}
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.

string
operationId
Required

Identifier of the operation element.

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


Authentication
This operation uses the following authentication methods.
Responses
200

The Vapi Metadata Privilege OperationInfo instance that corresponds to operationId.

Returns Vapi Metadata Privilege OperationInfo of type(s) application/json
{
    "privileges": [
        "string"
    ],
    "privilege_info": [
        {
            "property_path": "string",
            "privileges": [
                "string"
            ]
        }
    ]
}
array of string
privileges
Required

List of all privileges assigned to the operation element.

array of object
privilege_info
Required

Privilege information of all the parameter elements of the operation element.

For an explanation of containment of privilege information within parameter elements, see Vapi Metadata Privilege PrivilegeInfo.


404

if the service element associated with serviceId does not exist.

if the operation element associated with operationId does not exist.

if the operation element associated with operationId does not have any 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
"Vapi Std Errors NotFound Object"

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