javascript - Retrieve the entire file tree from OneDrive JS API -


i'm trying pull down entire file tree onedrive api, without having manually crawl through (for offline browsing), can't seem find right params , documentation doesn't seem much.

right now, after authorizing od api, send request [...]/drive/root?select=id,name,size,file,folder,photo,@microsoft.graph.downloadurl&expand=children&access_token=" + token

the response brings root directory , children, doesn't expand there.

how can request entire file tree without having recurse based on whether dir has children?

the changes tracking api returns full set of items

get .../drive/root/view.delta 

this call return changes within root folder's hierarchy, giving information need store offline set. using token returned in request, can issue future request , see changes need synchronize client.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -