When retrieving folders contents using the Autodesk Forge API GET projects/:project_id/folders/:folder_id/contents
endpoint or using the GetFolderContentsAsync
method in the Autodesk.Forge.FoldersApi
C# client respectively, it looks like there is no way of telling, whether a folder can be expanded = has any subfolders.
A round trip to the server and retrieving the folder contents is required for each folder in the collection to see if any subfolders exist. Is there a better way to do that which would not be so inefficient? Something like a flag in the GET projects/:project_id/folders/:folder_id/contents
return payload?