cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API v2 file id and File Chooser returning selected file id

API v2 file id and File Chooser returning selected file id

Tribecube T.
New member | Level 1

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 7

Greg-DB
Dropbox Staff

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.8
New member | Level 1

Any news on a chance to get the chooser to return the file ID?

Greg-DB
Dropbox Staff

No new on that right now.

Muhammad F.6
New 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 this

https://www.dropbox.com/static/api/2/dropins.js

Greg-DB
Dropbox Staff

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.6
New member | Level 1

Wow, thanks Greg, for quick response and being so helpful.

 

Great, I will look into next update then


Greg-DB
Dropbox Staff
The Dropbox web Chooser now returns the file ID:

https://www.dropbox.com/developers/chooser
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Muhammad F.6 New member | Level 1
What do Dropbox user levels mean?