You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

l1un's avatar
l1un
New member | Level 2
2 years ago

absolute or relative path parameter

Hi! We're using the Dropbox-API-Arg request header, I would like to confirm if the sample path below is relative?

\"path": "/sample_folder/sample_folder1/sample_file.csv"\

  • That path would be considered "absolute", in that it's not relative to anything except the root itself.

     

    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 a 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.

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

    That path would be considered "absolute", in that it's not relative to anything except the root itself.

     

    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 a 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 3 years 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!