When deleting an object that is nested within a collection (e.g.
/home/user/parent_collection_1/parent_collection_2/obj_1), if a user performs the command "
icd /home/user/parent_collection_1/parent_collection_2/; irm obj_1", a new structure will be created in the trash as follows:
zone/trash/home/user/parent_collection_1/parent_collection_2/obj_1.
In this scenario, how can we obtain information about the parent collection (
parent_collection_1) in the trash using dynamic PEP (
API), such as its collection ID/path in trash?
I tracked the series of dynamic PEP API calls that are made when a nested object is moved to the trash, but I noticed that the "
pep_api_coll_create" PEP is not triggered in this process. This PEP could have been used to track the creation of a collection in trash, would have been helpful in determining the collection ID/path of the parent collection in the trash.
What is the right way to get this information about the parent collection?
Thank you for your inputs in advance.
Regards,
Urvika.