user10471819
user10471819

Reputation:

list files and folders in one hit using one drive

I am currently integrating one drive with my application. I am searching for an endpoint where i can get all the files and folders of the user's one drive. I currently found an endpoint where I can use root/children to get the root files along with the nested folder count.

Is there any possible endpoint to get all files and folders ?

Upvotes: 2

Views: 249

Answers (1)

Brad
Brad

Reputation: 4202

If you want to discover all files and folders within a drive, your best bet is to use the delta API. It'll end up returning all items, potentially over multiple calls depending on the size of the drive, and at the end of it you can use it to efficiently discover new or updated files and folders that are added in the future.

Upvotes: 1

Related Questions