You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
sagar_lonkar
12 months agoExplorer | Level 4
Unable to get event for child files deletion when parent folder is deleted
If we delete parent folder which holds multiple files inside in it , then events API with file_operation category only return single event for folder deletion with file count.
{"timestamp":"2023-12-22T03:05:03Z","event_category":"file_operations","event_type":{".tag":"file_delete","description":"Deleted files and/or folders"},"details":{".tag":"file_delete_details"},"actor":{".tag":"admin","admin":{".tag":"team_member","account_id":"dbid:AABRlh1amqAhSGWfbMmPHfpxTfJuDq04BKQ","display_name":"Sagar Lonkar","email":"sagar_lonkar@persistent.com","team_member_id":"dbmid:AADB70OYWpu61Z-YJSrAwi-JWWGYvWEFNi4"}},"origin":{"access_method":{".tag":"end_user","end_user":{".tag":"web","session_id":"dbwsid:5249716739093449551150356798471692461"}},"geo_location":{"ip_address":"165.225.120.222","city":"Mumbai","region":"Maharashtra","country":"IN"}},"involve_non_team_member":false,"context":{".tag":"team_member",".tag":"team_member","account_id":"dbid:AABRlh1amqAhSGWfbMmPHfpxTfJuDq04BKQ","display_name":"Sagar Lonkar","email":"sagar_lonkar@persistent.com","team_member_id":"dbmid:AADB70OYWpu61Z-YJSrAwi-JWWGYvWEFNi4"},"participants":[],"assets":[{".tag":"folder","path":{"namespace_relative":{"ns_id":"2137930131","relative_path":"/test2_1","is_shared_namespace":true},"contextual":"/Sagar Lonkar/test2/test2_1"},"display_name":"test2_1","file_id":"id:rh3FNKfojiAAAAAAAAAAOg","file_size":11919,"file_count":2}]}
Is there way to get deleted files information with parent folder deletion ?
- Greg-DBDropbox Staff
The Dropbox API does not offer an option for controlling that kind of reporting behavior. On Dropbox, the deletion of a parent implies the deletion of all of the children of that parent.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 2 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!