cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

Get all content from a directory

Highlighted

Get all content from a directory

New member | Level 2

Hello,

I am using dropbox camle component and I am doing a search peration. Documentation states that if query param is not set all the files of the defined directory (remotePath) will be returned.

But using the following uri I get no results for a directory that contains 3 subfolders

"dropbox://search?accessToken="+ accessToken+"&remotePath=/target&query="   
1 Reply 1
Highlighted

Re: Get all content from a directory

Dropboxer

[Cross-linking for reference: https://stackoverflow.com/questions/60007404/camel-dropbox-component-search-query-to-return-all-file... ]

It sounds like you're using a Camel component made by a third party. As that's not made by Dropbox, I can't offer help with it.

On the Dropbox API itself, the search endpoints don't support supplying an empty 'query' in order to list all files, so I can't say what the Camel component is supposed to work in that case.

On the Dropbox API, if you wanted to list all files, you would need to call /2/files/list_folder[/continue] with a path of "" and recursive:true.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?