I saw that you optimized /api/folders/${folderId}/listing,
this API was not partcial to use because it returns it's own format which is not FileDto nor FolderDto, answers lack informations and cannot be sorted due to group by folder, files
it is currently still used
So I mark it deprecated and implemented a normalized API: /api/folders/{id}/resources with a cursor and sorting
returns contains directly the FileDto and FolderDto format
To ease frontend implementation, all other routes are now using the same format /api/favorites/{id}/resources, /api/trash/resources, etc
What about removing deprecated routes and have a uniform API
So focus on performance will be only on normalized API
any opinion @DioCrafts ?
I saw that you optimized
/api/folders/${folderId}/listing,this API was not partcial to use because it returns it's own format which is not FileDto nor FolderDto, answers lack informations and cannot be sorted due to group by folder, files
it is currently still used
So I mark it deprecated and implemented a normalized API:
/api/folders/{id}/resourceswith a cursor and sortingreturns contains directly the FileDto and FolderDto format
To ease frontend implementation, all other routes are now using the same format /api/favorites/{id}/resources, /api/trash/resources, etc
What about removing deprecated routes and have a uniform API
So focus on performance will be only on normalized API
any opinion @DioCrafts ?