REST API - list

vapi metadata privilege service operation: list

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

Request:

HTTP request

GET https://{server}/rest/com/vmware/vapi/metadata/privilege/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[] List of identifiers for the operation elements contained in the service element that have privilege information.

Errors:

HTTP Status Code Type Description
404 not_found if the service element associated with service_id does not have any operation elements that have privilege information.