Row fetch endpoint that also accepts filters and sort rules #1507
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
New feature or request
performance
Performance issues and optimisations
Contributes to #941
For pagination we need to have a endpoint, that fetches the rows of a table or view also in consideration of user supplied filter and sorting rules.
The current controller methods of
\OCA\Tables\Controller\Api1Controller
(indexTableRows
andindexViewRows
) accept parameters for pagination, but that is it.In this context it makes sense to integrate the approaches of #927 and create a new v2 endpoint.
The current v1 endpoint shall be deprecated, as it is already not used by the web frontend. It should not be removed (the android app might make use of it – needs to be verified).
The internal endpoints (
\OCA\Tables\Controller\RowController::index()
and::indexView()
) shall be deprecated, and later on removed as soon as the web interfaces also switches to the v2 endpoint.The text was updated successfully, but these errors were encountered: