Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

Wilson M.2's avatar
Wilson M.2
New member | Level 1
9 years ago

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's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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.2's avatar
    Wilson M.2
    New 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's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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.2's avatar
    Wilson M.2
    New 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?