Skip to content

API normalisaton and duplicate: /api/folders/${folderId}/listing vs /api/folders/{id}/resources #498

Description

@EdouardVanbelle

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions