Forum Discussion

kentdwheeler's avatar
kentdwheeler
Explorer | Level 4
6 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?

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    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.

About Dropbox API Support & Feedback

Node avatar for 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!