Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
David R.84
9 years agoNew member | Level 2
get_metadata last modified user
The /2/files/get_metadata endpoint gives the following metadata properties for files:
.tag, name, path_lower, path_display, id, client_modified, server_modified, rev, size
It does not return the id of the user that did the last modification. Can this information be obtained? When the file has been shared, the docs suggest there is a sharing_info.modified_by property. Does this mean that we should assume the user who modified the file was the owner of the dropbox if the sharing_info.modified_by property does not exist?
Furthermore, client_modified is not available for folders (i.e. .tag = 'folder'). Does this metadata exist and can be obtained?
1 Reply
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
The sharing_info property is only set "if this file is contained in a shared folder". If it isn't set, that means the file isn't in a shared folder, so yes, that user would have to be the modifier.
And no, unfortunately API v2 doesn't currently offer modified time for folders, but I'll be sure to pass this along as a feature request.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!