We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
LKT
6 years agoExplorer | Level 3
Get child folder link from shared folder link
Hi,
I am trying to use the API to get the already created shared url for child folders in a shared folder.
To demonstrate I have a shared folder link that contains some files and a folder here:
https://www.dropbox.com/sh/lgjbsmsdzyobz8a/AABQPF-7nPepYQO8XXRObsJ9a?dl=0
If I click the folder kittens I get a new url:
How can I get the url for the kittens folder from the first shared url using the API? I know I can use files/list_folder to get the file and folder names but I don't see how I can convert that to the shared link.
Thanks
The Dropbox API doesn't offer a way to get the child link like this unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- Greg-DBDropbox Staff
The Dropbox API doesn't offer a way to get the child link like this unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- Greg-DBDropbox Staff
Update: The Dropbox API now returns the shared link for the nested item as 'url' when requesting the metadata for that item using the "path" parameter on /2/sharing/get_shared_link_metadata (instead of the original parent link).
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!