We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

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

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?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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

      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 Staff rankDropbox Staff

        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.

5,877 PostsLatest Activity: 12 months ago
325 Following

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!