Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Saar A.
10 years agoExplorer | Level 4
files events
for the events:
preview_filesedit_filesrevert_files_to_previous_versionis the field in info_dict - is_dir, is meaningful?
Is there a way to get those events for folder and not only files?
- The is_dir field would indicate if the relevant item is a folder or not. For some events which only occur on files, such as the ones you mentioned, this is expected to always be false. Since these particular events only apply to files, they can't be retrieved for folders. If you want to know when these events occur for files in particular folders, you can check the parent path components in the "path" for the file.
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
The is_dir field would indicate if the relevant item is a folder or not. For some events which only occur on files, such as the ones you mentioned, this is expected to always be false. Since these particular events only apply to files, they can't be retrieved for folders. If you want to know when these events occur for files in particular folders, you can check the parent path components in the "path" for the file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!