Vapi Metadata Privilege Service get
Retrieves privilege information about 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
.
The Vapi Metadata Privilege ServiceInfo instance that corresponds to serviceId
{
"operations": {
"operations": {
"privileges": [
"string"
],
"privilege_info": [
{
"property_path": "string",
"privileges": [
"string"
]
}
]
}
}
}
Information about all operation elements contained in this service element that contain privilege information. The key in the map is the identifier of the operation element and the value in the map is the privilege information for the operation element.
For an explanation of containment of privilege information within operation elements, see Vapi Metadata Privilege Service Operation.
When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vapi.operation
. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vapi.operation
.
if the service element associated with serviceId does not have any privilege information.
"Vapi Std Errors NotFound Object"
curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/privilege/service/{serviceId}