Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Getty I.
9 years agoNew member | Level 1
Using save_url w/out specifying folder name
Is there an equivalent to .../1/save_url/auto in v2? I noticed that when using the v2 save_url, I have to specify the default folder name whereas in v1, I could just use auto. Please advise.
Greg-DB
Dropbox Community Moderator
9 years agoThe equivalent of API v1's /1/save_url in API v2 is /2/files/save_url.
Both of those endpoints do require that the app specify the destination path for the file, in the "path" parameter.
The "auto" value from v1 was used in the "root" parameter, which identified the access type of your app ("sandbox" or "dropbox"), or let the API detect it for you ("auto"). The root parameter is not necessary for API v2, which will always use the "auto" behavior for you.
So, when using API v2's /save_url, if you just supply the filename and extension, e.g. "/filename.ext", it will be placed in the app's root, either full Dropbox or an app folder depending on the permission, like it would in API v1 when you specified "auto".
If the endpoint isn't working as expected of course, please share some code and output showing whatever issue you're running in to and we'll be happy to help.
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!