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

kentdwheeler's avatar
kentdwheeler
Explorer | Level 4
5 years ago

Read a folders activity with the dropbox api

I have just started playing with the dropbox api and using python to access my dropbox folders. I have successfull been able to connect to my dropbox account and explore the folders sorted on this account with the following few functions.

dbx = dropbox.Dropbox(token)
res = dbx.files_list_folder(folder)
metadata = dbx.files_get_metadata((folder))

However I am most interested in the activity on the folder as displayed in the website access to dropbox (see https://www.dropboxforum.com/t5/Files-folders/How-can-I-see-a-specific-folder-s-activity-on-my-account/m-p/294842)

Am I able to access this information using python and the dropbox api?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The Dropbox API doesn't expose a way to retrieve all events for a file/folder like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

    You can use files_list_revisions to list the file versions for a particular file though.