cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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

Re: API v2 file id and File Chooser returning selected file id

Greg-DB
Dropboxer

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.

Re: API v2 file id and File Chooser returning selected file id

Manuel L.8
New member | Level 1

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

Re: API v2 file id and File Chooser returning selected file id

Greg-DB
Dropboxer

No new on that right now.

Re: API v2 file id and File Chooser returning selected file id

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

Re: API v2 file id and File Chooser returning selected file id

Greg-DB
Dropboxer

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

Re: API v2 file id and File Chooser returning selected file id

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


Re: API v2 file id and File Chooser returning selected file id

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

https://www.dropbox.com/developers/chooser
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

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