I have an 'Send an HTTP request to SharePoint ' action _api/Web/GetFolderByServerRelativeUrl('Asset Projects/Test_Project')?$expand=Folders/Folders/Folders/Folders/Folders/Folders/ListItemAllFields/FieldValuesAsText
that is brings back details of the subfolders of a particular folder in my sharepoint library.
This brings back a result as per the example below. How do I flatten the array given the subfolders in a particular folder vary ?