vishesh
vishesh

Reputation: 2045

Get file path from chooser dropin

I have implemented Dropbox chooser on my page. Now when the user selects a file, I want to get metadata about the chosen file. The metadata api requires path parameter, which is not present in the output from chooser. is there a way to get file path from the chooser output?

Upvotes: 2

Views: 156

Answers (2)

Leftium
Leftium

Reputation: 17903

There is now an API to get metadata from links:

If the API is made with appropriate authentication, the path information is also included.

  • Dropbox API V2: path_lower
  • Dropbox API V1: contents.path

Source: Re: How to get the file path from a preview link?

Upvotes: 1

Greg
Greg

Reputation: 16940

No, unfortunately the Chooser doesn't currently offer the file metadata/path like this, but I'll be sure to pass this along as feedback.

Upvotes: 0

Related Questions