Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The app I am working on is using dbx java sdk v1, and I started the migration to sdk v2.
Previously, in v1, the DbxClientV1 had:
In DbxClientV2, i only found .getTemporaryLink(path), but i assume this is a replacement for the previous .createTemporaryDirectUrl(path).
I'd like to know how can i generate the shearable URL using sdk v2.
What alternatives do I have ?
thanks a lot,
Go to Solution.
That's correct, the new method for createTemporaryDirectUrl is getTemporaryLink.
For createShareableUrl, you'll want to use createSharedLinkWithSettings (and ListSharedLinks if a link already exists).
View solution in original post
Thanks for your reply.
I was lazy, looking only at the .files() property of the DbxClientV2.
I know realize there's more to explore -> .sharing().
Not yet fully familiar with .v2.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!