Learn how to make the most out of the Dropbox Community here 💙.
Forum Discussion
Wilson M.2
9 years agoNew member | Level 1
pending_upload parameter in create_shared_link
The create_shared_link function has been deprecated. Is there another way to get a shared link via the API for a file that is still pending upload?
The new function (create_shared_link_with_settings) does not appear to have a similar option... or am I missing something?
This is a VERY handy function so we can immediately get shared links for large files that are in the process of being uploaded.
Thanks!
- Greg-DB
Dropbox Staff
There isn't currently another way of getting a shared link for a pending file without using the deprecated create_shared_link, but I'll be sure to pass this along as a feature request.
- Wilson M.2New member | Level 1
Thanks. Seems strange to deprecate a function and replace it with a less capable one.
Hopefully this can be resolved before the old function stops working all together. Is that part of the V1 sunsetting in 2017? - Greg-DB
Dropbox Staff
The deprecated /2/sharing/create_shared_link endpoint is not being retired with API v1 in June 2017. We haven't announced a retirement timeline for the /2/sharing/create_shared_link endpoint.
- Wilson M.2New member | Level 1
Thanks Gregory. Will keep an eye out for the feature to be added to the new function.
BTW, how would your normally announce retirement of a deprecated function?
- Greg-DB
Dropbox Staff
Much like with the API v1 deprecation announcement, we would email affected developers. Just make sure you have "Dropbox API announcements" enabled on:
https://www.dropbox.com/account
You can also keep an eye on the blog for new posts:
https://www.dropbox.com/developers/blog
(There's an RSS feed here: https://blogs.dropbox.com/developers/feed/ )
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,965 PostsLatest Activity: 5 hours 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!