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
Saar A.
9 years agoExplorer | Level 4
files events
for the events:
preview_files
edit_files
revert_files_to_previous_version
is 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.
- Greg-DBDropbox StaffThe 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.
5,915 PostsLatest Activity: 9 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!