Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester  here!

Forum Discussion

Dennis P.11's avatar
Dennis P.11
New member | Level 2
9 years ago
Solved

What does exactly "/copy_reference/save" do?

Hello,

I want to know if api endpoint "/copy_reference/save" creates a new file/folder from the reference passed to it...i mean if  i delete the referenced file/folder does the copy get deleted too?

4 Replies

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

    Hi Dennis, the /2/files/copy_reference/save endpoint works like the /2/files/copy endpoint, in that the resulting copy isn't connected to the original file. Deleting the original file that the copy reference was based on won't affect the copy.

  • julio_diniz_perdigao's avatar
    julio_diniz_perdigao
    Explorer | Level 3
    2 years ago

    Hi Greg-DB ,

    is there any difference between the 2 endpoints, like performance and/or copy speed?

    Does Dropbox api has support to create aliases or shortcuts of a file, without copiyng?

    Thanks!

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

    julio_diniz_perdigao These two endpoints do work slightly differently, so you may see different performance/speed characteristics between them in practice. That will depend on a number of different factors though, so I can't guarantee specifics, and you may see different performance across time, calls, accounts, etc.

     

    The Dropbox API does not offer a way to create anything like an alias or shortcut, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 10 hours ago
412 Following

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 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!