cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

files events

files events

Saar A.
Explorer | Level 4

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?

1 Accepted Solution

Accepted Solutions

Re: files events

Greg-DB
Dropboxer
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.

View solution in original post

1 Reply 1

Re: files events

Greg-DB
Dropboxer
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.

View solution in original post

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?