Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
rustyx2
9 years agoHelpful | Level 5
How to list a shared directory via Dropbox API?
I am writing an app that needs to download all the files from a directory shared via a link. But when a link is a folder, /2/sharing/get_shared_link_file returns: HTTP/409 shared_link_is_dire...
Greg-DB
Dropbox Community Moderator
9 years agoAPI v2 doesn't return the file/folder listing for shared links, e.g., in SharedLinkMetadata/FolderLinkMetadata, unfortunately. I'll send this along as a feature request though.
(A workaround would be to use the deprecated /1/metadata/link.)
- rustyx29 years agoHelpful | Level 5
Indeed, using API v1 I was able to get the file list. Thanks a lot for the tip!
I only hope that API v2 will support this before v1 is disabled :-O
- tim9 years agoExplorer | Level 4
Hi Greg
I am unable to migrate my app (Grab for Dropbox) to API v2 because of this issue.
Please update us when you can deliver this for API v2 -- being able to list contents of a shared folder is a basic requirement, i'm surprised this is still missing from API v2. How are shared links supposed to be useful if you can't use the API to recurse the file structure?
thanks
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for the feedback Tim! I'll add your feedback to the feature request, and be sure to update this thread with any information if/when I have it.- xaphod8 years agoExplorer | Level 4
Hi Greg
Please unmark this as solved. It's not solved until this works on a version of the API that isn't about to be switched off.
Is this working in v2 yet? My apps depend on it
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!