Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row fetch endpoint that also accepts filters and sort rules #1507

Open
blizzz opened this issue Dec 16, 2024 · 0 comments
Open

Row fetch endpoint that also accepts filters and sort rules #1507

blizzz opened this issue Dec 16, 2024 · 0 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request performance Performance issues and optimisations

Comments

@blizzz
Copy link
Member

blizzz commented Dec 16, 2024

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 and indexViewRows) 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.

@blizzz blizzz added enhancement New feature or request 1. to develop Accepted and waiting to be taken care of performance Performance issues and optimisations labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request performance Performance issues and optimisations
Projects
None yet
Development

No branches or pull requests

1 participant