We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
deepsavani
2 years agoNew member | Level 2
Know uploaded by user of a file and folder
Hi,
I am developing an application where I need to know the user who uploaded particular file. I checked that dropbox UI has that information available and it fetches it from
https://www.dropbox.com/2/files/get_upload_info endpoint. This endpoint is not listed in dropbox API documentation. Also, response returned by it only contains displayName and uploadTime of the file which is not sufficient to uniquely identify the user. Is there any better API available to know uploaded by user of a file and folder?
6 Replies
- Greg-DB2 years ago
Dropbox Community Moderator
That endpoint is not part of the public API, so third party apps will not be able to use it. Instead, you can check the sharing_info.modified_by field for a FileMetadata, e.g., as returned by /2/files/get_metadata or /2/files/list_folder[/continue]. You can get the account information for that account using the account ID from that field by calling /2/users/get_account (or /2/users/get_account_batch).
- deepsavani2 years agoNew member | Level 2
Thanks for replying.
We definitely explored sharing_info.modified_by field but it points to the user who last modified the file/folder. But we are looking for the user who first created/uploaded the file. For the files where collaboration is happening, sharing_info.modified_by and the user who created/uploaded the file can easily differ.
Is there any public API which provides us information to know which user has first created/uploaded the file/folder? - deepsavani2 years agoNew member | Level 2
Thanks for replying.
We definitely explored sharing_info.modified_by field but it points to the user who last modified the file/folder. But we are looking for the user who first created/uploaded the file. For the files where collaboration is happening, sharing_info.modified_by and the user who created/uploaded the file can easily differ.
Is there any public API which provides us information to know which user has first created/uploaded the file/folder? - Greg-DB2 years ago
Dropbox Community Moderator
The public Dropbox API doesn't return information about which user originally created a particular file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- deepsavaniG2 years agoExplorer | Level 4
Thanks for the information. Is there any forum where we can also file feature request?
It would be useful to know the user who originally created file with public API as well. This information is available in dropbox UI. - Greg-DB2 years ago
Dropbox Community Moderator
This forum thread serves as your feature request. I'll follow up here with any news on this.
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!