Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
abhinovClairvoyant2
3 years agoHelpful | Level 5
Dropbox Java SDK List Shared Links of a Team Folder in Business Account
I am trying to access all shared links in dropbox business account (team folder) using Java SDK.
I am able to get shared Link Metadatas for files inside personal space of a particular member of...
- 3 years ago
Did you set proper root namespace for your call? 🧐😉
Hope this gives direction.
Здравко
3 years agoLegendary | Level 20
Did you set proper root namespace for your call? 🧐😉
Hope this gives direction.
abhinovClairvoyant2
3 years agoHelpful | Level 5
Thank you. 😀
After setting the root namespace it works
String rootNS =
client.asAdmin(memberId).users().getCurrentAccount().getRootInfo().getRootNamespaceId();
List<SharedLinkMetadata> sharedLinkMetadataList = client
.asMember(memberId)
.withPathRoot(PathRoot.namespaceId(rootNS))
.sharing()
.listSharedLinks()
.getLinks();
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 2 days ago
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 or Facebook.
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!