I have a set of folders say Folder1 containing Folder2 and Folder3. Folder3 contains Folder4, Folder5 and Folder6.
When i use the OData expand parameter - $expand=Folders/Folders i get only details about Folder 2 and Folder3. I also want to retrieve Folder4,Folder5 and Folder6 in the same call.
The current rest api call is as below
_api/web/lists(guid'my-library-guid')/RootFolder?$expand=Folders/Folders,Folders/Files
How do i mention that my scope should be recursive?
As per the attached discussion thread, the CAML query provisions setting the scope as recursive to fetch recursively. Please advise if there is the REST equivalent for the same!!