cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

absolute or relative path parameter

absolute or relative path parameter

l1un
New member | Level 2
Go to solution

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"\

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?