Forum Discussion

Wilson M.2's avatar
Wilson M.2
New member | Level 1
10 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!

5 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    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
    10 years ago

    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 Community Moderator rankDropbox Community Moderator
    10 years ago

    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
    10 years ago

    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?

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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!