nextcloud / nextcloud/tables

feat(api): Provide API endpoint to update one specific `data` element (= cell content)

Open
#265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: api
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

Currently one can only PUT a complete Row including a data array for alle columnIds.

Describe the solution you'd like

Provide a separate API endpoint to only update the data for a specific columnId in a row.

Describe alternatives you've considered

Add an additional optional query param ignoreExisting or so to the existung API endpoint for PUTting Rows. When true, the Tables server app keeps existing entries in the data array of the Row and only updates the one which are contained in the request.

Additional context

Pushing all data is unnecessary payload. While trying to implement a data sparing Tables Android app I am lookig for a way to only transfer data which actually changed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no implementation files, tests, or endpoint entry point. Start by locating the existing PUT endpoint for complete Rows, then define and implement the single-cell update route and add coverage showing that one columnId changes without requiring the full data array.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.