Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
Tribecube T.
10 years agoNew member | Level 1
API v2 file id and File Chooser returning selected file id
It is my understanding that with upcoming API v2 we are going to get a unique "id" in file metadata to unambiguously refer to a file / folder.
Is this "id" going to remain the same even if the user renames / moves the file / folder ?
Will the HTML file chooser be able to return the "id" of the selected file(s) so that we can, with proper user authorization, get access to file(s) metadata unambiguously? Right now it's a pain to guess the file from its name, using the search API...
Thanks,
Manuel
7 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
We don't have much information to share on the
id
value quite yet, but you may want to subscribe to the blog for announcements:https://blogs.dropbox.com/developers/
And thanks for the request regarding the Chooser.
- Manuel L.810 years agoNew member | Level 1
Any news on a chance to get the chooser to return the file ID?
- Greg-DB10 years ago
Dropbox Community Moderator
No new on that right now.
- Muhammad F.610 years agoNew member | Level 1
How do I get user_id from the chooser?
I have quite similiar needs to Manuel. I need to save the file name and the user_id.Thanks
P.S : I use thishttps://www.dropbox.com/static/api/2/dropins.js
- Greg-DB10 years ago
Dropbox Community Moderator
The Chooser doesn't currently return this information, but I'll be sure to pass this along as feedback.
You can use the /2/sharing/get_shared_link_metadata API v2 endpoint to get some of this information though:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata
- Muhammad F.610 years agoNew member | Level 1
Wow, thanks Greg, for quick response and being so helpful.
Great, I will look into next update then
- Greg-DB9 years ago
Dropbox Community Moderator
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 2 days ago
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 or Facebook.
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!