I am java developer and using box sdk to retrieve events - using polling by method EventLog.getEnterpriseEvents(apiConnection,EnterpriseEventRequest);
for event - UNDELETE , it gives payload with parent and its owner info along with item info, but I do not getting collaborators that were added into item before delete it. while when I restore it , on Box UI all collaborators are there in item.
Is this right behavior or there is some bug in event payload of UNDELETE event ?
Step1 : create a folder under root(All Files) folder, share this folder with few users(collaborators)
Step2: Delete created folder and that is shared from Box UI - Right click -> Trash
Step3: On Box UI -> Goto Trash -> Find Trashed Item-> Right click->Restore
Step4:Once its restored check it on under All Files . folder gets restored and having collaborators that were added before trash/delete.
Step5: Retrieve above events using method EventLog.getEnterpriseEvents(apiConnection,EnterpriseEventRequest); by giving params - events start time ,end time and filter- event Types , its does gives below events
but for UNDELETE event it does not have any collaboration info.
Does there any way I can get collaborations info with UNDELETE event ?
Please sign in to leave a comment.