Forum Discussion

JensBusse's avatar
JensBusse
Explorer | Level 3
9 years ago

Linking to subfolder

I have a shared folder with a URL like:

 

https://www.dropbox.com/sh/{first gibberish}/{Second Gibberish}?dl=0

 

Using the API there will folders and subfolders created there. I was hoping to be able to directly link to those folders with URLs like:

 

https://www.dropbox.com/sh/{first gibberish}/{Second Gibberish}/Test?dl=0 where Test is the name of a subfolder. That does not seem to work since the URL for the subfolder is:

 

https://www.dropbox.com/sh/{first gibberish}/{Different Gibberish}/Test?dl=0 and I don't know the Different Gibberish. I don't have access to any responses the API may send when creating the subfolders.

 

If a user has the link to the shared parent folder, shouldn't they be able to easily link to the subfolders? Is there a way to directly linking to subfolders only knowing the shared URL to the parent folder and the names of the subfolders?

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

    Unfortunately, this isn't available via API v2, but I'll be sure to pass this along as a feature request.

     

    For reference, this is possible via API v1, with the /1/metadata/link, but API v1 is deprecated.

    • JensBusse's avatar
      JensBusse
      Explorer | Level 3

      As mentioned in my original post, I do not have access to any responses from the API, so I'm not sure why the post was moved, nor why I am getting suggestions for how to (not) do it through the API.

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        Thanks for clarifying. Can you elaborate on your use case then? Are you trying to do this programmatically? If so, using the API is the only good/official interface for interacting with Dropbox resources like this, but either way, there isn't a supported way to programmatically get the link for a subfolder from the link for the parent folder.

        (If you're referring to browsing these links manually, you can get links for subfolders by browsing into them in the browser. The URL in the address bar updates with links for the current folder.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 14 hours ago
352 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!