Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

Dropbox list_folder limit does not work as expected

$
0
0

I have a curl call curl -X POST https://api.dropboxapi.com/2/files/list_folder
--header 'Authorization: Bearer {{ACCESS_TOKEN}}'
--header 'Content-Type: application/json'
--data '{"path":"/Apps","recursive":true,"limit":10,"include_non_downloadable_files":true,"include_mounted_folders":true}'I expect total of 10 entries returned recursively, I have nested folders. However I am getting 3 entries. I have about 30 files in dropbox, I need to paginate 10 at a time.As per the documentation https://www.dropbox.com/developers/documentation/http/documentation#files-list_folderlimit UInt32(min=1, max=2000)?The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases. This field is optional.Limit should work. Anyone experienced this issue?


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>