cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

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: 
Highlighted

API v2 file id and File Chooser returning selected file id

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

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

Dropboxer
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.

Highlighted

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

New member | Level 1
New member | Level 1

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

Highlighted

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

Dropboxer
Dropboxer

No new on that right now.

Highlighted

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

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

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

Dropboxer
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

Highlighted

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

New member | Level 1
New member | Level 1

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

 

Great, I will look into next update then


Highlighted

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

Dropboxer
Dropboxer
The Dropbox web Chooser now returns the file ID:

https://www.dropbox.com/developers/chooser

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Polls
Have you been keeping up good habits while working from home?
We've created a working from home cheat sheet to help keep up on those habits, check it out here.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?