Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am interesting to get a Share Url from file though Java Api 2.0.1. First of all I use
SharedLinkMetadata var =client.sharing().createSharedLinkWithSettings("my path")
to create the share link for mypath file. How I can get the already exist shared url to this file? I am trying the same thing and I take Exception shared link already exists.
Appreciate your help.
I think calling /sharing/list_shared_links with the path to the file you're interested in and direct_only=true is the best way to do this.
In Java, I believe that would be:
ListSharedLinksResult result = client.sharing().listSharedLinksBuilder() .withPath("my path").withDirectOnly(true).start();
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!