php - Dropbox API v2 files_list_folder -


looking @ list_folder sandbox @ dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder

  1. i find no way return folders - ".tag" = "folder" - folders , files in 1 huge hunk have parse out "folders"

  2. there no way parse nested folders logical way can display list sub folders indented in display. such parent id's helpful match children & parent folders

  3. no sorting features, such 'name' 'created' return them in name or created asc/desc order

any help?

best solution come folders this. seems when perform "2/files/list_folder" specific "path" , set options false. when receive data back, iterate through looking .tag == "folder" , collect them. if find item not .tag == "folder", can stop, you've collected folders specified "path". no need perform "2/files/list_folder/continue". though doesn't solve issues, goes long way solving loading/searching time folders.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -