We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Andre_LB
8 years agoExplorer | Level 3
v2 API
Hi Dropbox Team, I am trying, using Dropbox API, to access my files in Dropbox. I have already done it with Dropbox API v1 and now I would like to do it with v2. For this reason, I performed as fo...
Greg-DB
Dropbox Community Moderator
8 years agoIf you know the path to the file, you can get the file metadata using `files().getMetadata()`:
https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#getMetadata-java.lang.String-
By the way, if you just want to download the latest version of the file, you don't need to supply the 'rev' too. There's a version of the `files().download()` method that requires just the 'path' and not the 'rev':
Andre_LB
8 years agoExplorer | Level 3
Hi Greg,
yes, I have just tied and it works.
@ Greg, Chuck: thank you very much for your help.
Now I may do, with API v2, what I need.
Kind Regards,
Andrea
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!