Forum Discussion

Vang G.'s avatar
Vang G.
Explorer | Level 3
10 years ago

Create short URL when share file API v2

Hi all,

 

I have a issue about creating short url. On API v1, I can do it but on V2 I can't do.(createSharedLinkWithSettings)

Please help me to solve this issue. :(


Thanks,

Vang Doan

5 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    That method doesn't offer a way to request a short URL, but I'll be sure to pass this along as a feature request. (The only place this is available in API v2 is createSharedLink, but that is deprecated.)

  • milke's avatar
    milke
    Explorer | Level 4
    9 years ago

    Has anything been done regarding this feature? Is there a way to create short URL links with v2.0 API without using deprecated methods?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Unfortunately, no, there's no update on this.
  • DSnopov's avatar
    DSnopov
    Explorer | Level 4
    8 years ago

    There is also no way of getting a link before a file is uploaded in the sharingCreateSharedLinkWithSettings method. Is it safe to use deprecated sharingCreateSharedLink? When is it going to be removed?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    DSnopov The sharingCreateSharedLink method is deprecated, so we don't recommend using it. However, we don't currently have a timeline for when it will be retired.

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!