I am getting the files of a folder using this: https://docs.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http. This works fine for me.
But the endpoint can only get the files in the first level, it cannot get the files in the subfolders. I need to loop through all the folders to get the files, this is not an option.
My library is like this: foler ->subfolder ->sub subfolder ->files. All the folders have files and subfolders. I just want to get all the files using one request. Is it possible?
Kelly