We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
TEK P.
10 years agoNew member | Level 1
Find the last updated timestamp of a directory (that includes changes to any of the files in the directory - add/modify/delete)
Challenge: Use Dropbox REST API to get the last updated timestamp of a directory (that includes changes to any of the files in the directory - add/modify/delete). 1) I tried using the API v1 first...
Greg-DB
Dropbox Community Moderator
10 years ago[Cross-linking for reference: https://stackoverflow.com/questions/35072308/dropbox-api-find-the-last-updated-timestamp-of-a-directory-that-includes-chang ]
The API (v1 or v2) doesn't currently return a modified time for folders that reflects changes inside that folder. I'll send this along as a feature request though.
For reference "include_media_info" on /files/get_metadata is documented as:
"If true, FileMetadata.media_info is set for photo and video. The default for this field is False."
That being the case, that parameter shouldn't have any impact on client_modified or server_modified.
I'll also send along a feature request to include timestamps for deleted files.
Finally, the Python SDK uses the same API you've been testing with, so there won't be any difference there.
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!