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

Forum Discussion

Jay0203's avatar
Jay0203
Explorer | Level 4
2 years ago

difference between the absolute path and relative

i am using an api calling to upload data to dropbox. Since dropbox update is coming. its says that ""If available, switch integration file paths from absolute to relative. By switching to relative, you won’t need to re-configure the paths after the upgrade. If you’re unable to switch to relative, you may need to manually modify the file paths after the upgrade""  the question is How to determine if I'm using absolute path or relative path?

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

    It sounds like you're referring to the team space upgrade. For reference, you can find more information on that upgrade in the help center here.

     

    On the Dropbox API, there are multiple ways to reference items in a Dropbox account. Exactly how you do so is up to you, and will depend on how you want your application to work. You can find more information in the File Access Guide.

     

    For example, you may specify a path to a file by giving the full absolute path, including the names of any parent folders, such as "/folder_name/file_name.ext". You could instead specify that relative to that folder by id though, like "id:abc123xyz/file_name.ext" (where "id:abc123xyz" is the id of the folder). Check out the documentation linked above for more information.

     

    For the team space upgrade in particular though, note that team folders are moved to the team space, and regardless of how you specify paths, you'll need to set the relevant root to access anything in the team space. I highly recommend reading the Team Files Guide for information on how to handle that.

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: 2 hours 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!