Metadata Privilege Component APIs
The Component service provides operations to retrieve privilege information of a component element. A component element is said to contain privilege information if any one of package elements in it contains privilege information.
Operations
GET
Get Component Id Privilege Fingerprint
Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to componentId. The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of Component.get.
GET
Get Component Id Privilege
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.
GET
List Metadata Privilege Component
Returns the identifiers for the component elements that have privilege information.