Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
eliotcole
5 years agoExplorer | Level 4
Programmatically Process Shared Link Folders and Sub-Folders and Their Contents
Well I'm still at a loss.
I have the shared link to a folder that I need to check on a daily schedule to see if there's new files. The logic of which is all fine, but I just can't access anythi...
Greg-DB
Dropbox Community Moderator
5 years agoGot it, thanks! I'll send this along to the team. (I can't promise if/when it might be implemented though.)
I can't speak to those third party automation tools though, as they're not made by Dropbox.
eliotcole
5 years agoExplorer | Level 4
Ello, I'm back again! :-)
I'm still trying to make this work.
I'm working with the copy, now.
So, let's say that I have this shared folder:
https://www.dropbox.com/sh/g0ja3gk1u1pjf9y/AADjilHpLqi-e5PO-RGp4PHIa?dl=0
That shared folder has a subfolder called:
test5
If I would like to copy the contents of that test5 subfolder to a given folder in the API, what am I putting in the 'from_path' field in this JSON?
{
"from_path": "WHATGOESHERE?",
"to_path": "/destination5",
"allow_shared_folder": true,
"autorename": false,
"allow_ownership_transfer": false
}
------
Here's a few attempts that I've made that have failed miserably:
Spoiler
1.
{
"from_path": "https://www.dropbox.com/sh/g0ja3gk1u1pjf9y/AADjilHpLqi-e5PO-RGp4PHIa/test5",
"to_path": "/destination5",
"allow_shared_folder": true,
"autorename": false,
"allow_ownership_transfer": false
}2.
{
"shared_link": { "url": "https://www.dropbox.com/sh/g0ja3gk1u1pjf9y/AADjilHpLqi-e5PO-RGp4PHIa" },
"from_path": "/test5",
"to_path": "/destination5",
"allow_shared_folder": true,
"autorename": false,
"allow_ownership_transfer": false
}3.
{
"from_path": {
"shared_link": {
"url": "https://www.dropbox.com/sh/g0ja3gk1u1pjf9y/AADjilHpLqi-e5PO-RGp4PHIa"
},
"path": "/test5"
},
"to_path": "/destination5",
"allow_shared_folder": true,
"autorename": false,
"allow_ownership_transfer": false
}
I've also tried to have a look at the JAVA SDK builder, as I think that you actually recommended that someone was able to do it with that ... but I really don't understand how to use that.
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!