Skip to content

feat(Api): add v2 OCS Api to get table/view rows#1565

Open
blizzz wants to merge 3 commits into
mainfrom
enh/1507/accept-filter-sort
Open

feat(Api): add v2 OCS Api to get table/view rows#1565
blizzz wants to merge 3 commits into
mainfrom
enh/1507/accept-filter-sort

Conversation

@blizzz

@blizzz blizzz commented Jan 28, 2025

Copy link
Copy Markdown
Member

What is left is now basically tests. And removal of old internal method. And deprecation of v1 endpoint if any. Also TODOs in the code, there was some prototyping.

Intended test matrix:

test matrix.ods

@blizzz blizzz added the 2. developing Work in progress label Jan 28, 2025
@blizzz blizzz force-pushed the enh/1506/server-side-sorting branch from 2505f3d to 8b640d1 Compare January 30, 2025 21:03
@blizzz blizzz force-pushed the enh/1507/accept-filter-sort branch from 7cf874a to 1eae3ae Compare January 31, 2025 22:32
@blizzz blizzz linked an issue Jan 31, 2025 that may be closed by this pull request
@blizzz blizzz self-assigned this Jan 31, 2025
@blizzz blizzz force-pushed the enh/1506/server-side-sorting branch from 8b640d1 to 6636b49 Compare February 13, 2025 11:18
Base automatically changed from enh/1506/server-side-sorting to main February 13, 2025 12:42
@blizzz blizzz force-pushed the enh/1507/accept-filter-sort branch 2 times, most recently from 80a4222 to a18aed5 Compare February 13, 2025 23:08
@blizzz blizzz force-pushed the enh/1507/accept-filter-sort branch 2 times, most recently from 26292dc to b5f8db1 Compare March 3, 2025 19:24
@stefan-niedermann

Copy link
Copy Markdown
Member

Feature requests from a client dev:

I'd like to take the chance an post some requirements I have as a client developer to enable a fast synchronization mechanism with a little data footprint.

  1. Implement an If-Modified-Since header based on the lastModifiedAt property on each row to exclude "old", already known rows to reduce traffic. This covers newly created and edited rows on the server since the last synchronization
  2. This raises the question about how a client can know that and which rows have been deleted on the server since the last synchronization. Ideas:
  • Provide an ?properties[]=id query parameter, that only returns the ids that are currently on the server to save traffic and still know all available rows
  • Just like the solution above but a separate endpoint, that directly returns a flat number array

@enjeck enjeck self-assigned this Oct 30, 2025

@enjeck enjeck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take over this

@enjeck enjeck force-pushed the enh/1507/accept-filter-sort branch from b5f8db1 to 1757d97 Compare June 29, 2026 07:08
blizzz and others added 2 commits June 29, 2026 08:08
- also changes Api Route definition to attribute

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
@enjeck enjeck force-pushed the enh/1507/accept-filter-sort branch from 1757d97 to afeb48b Compare June 29, 2026 07:08
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
@enjeck enjeck changed the title WIP: feat(Api): add v2 OCS Api to get table/view rows feat(Api): add v2 OCS Api to get table/view rows Jun 29, 2026
@enjeck enjeck marked this pull request as ready for review June 29, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

Row fetch endpoint that also accepts filters and sort rules

3 participants