Get Privilege Component Deprecated
Retrieves privilege information about the component element corresponding to componentId. The ComponentData contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the component element. The parameter must be an identifier for the resource type: com.vmware.vapi.component.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The ComponentData instance that corresponds to componentId
{
"value": {
"fingerprint": "string",
"info": {
"packages": [
{
"key": "key1",
"value": {
"privileges": [
"string"
],
"services": [
{
"key": "key1",
"value": {
"operations": [
{
"key": "key1",
"value": {
"privilege_info": [
{
"privileges": [
"string"
],
"property_path": "string"
}
],
"privileges": [
"string"
]
}
}
]
}
}
]
}
}
]
}
}
}
The ComponentData instance that corresponds to componentId
Errors
com.vmware.vapi.std.errors.not_found : if the component element associated with componentId does not have any privilege information.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-new-method: get
x-vmw-doc-new-path: /api/vapi/metadata/privilege/component/{component_id}
x-vmw-doc-operation: get