nextcloud / nextcloud/collectives

Create generic update/edit endpoint to modify page attributes like emoji/fullWidth/etc

Open
#1,415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: api
Dominant language
JavaScript
Stars
195
Forks
51
Avg merge
1d 2h
Merged PRs (30d)
48

Description

Is your feature request related to a problem? Please describe.
Currently we are creating separate endpoints for an every attributes. This produces duplicated boilerplate code

Describe the solution you'd like
We can create common update/edit endpoint that will accept different attributes.

Additional context
See https://github.com/nextcloud/collectives/pull/1386#discussion_r1691757778 for the PR that introduces endpoint for modifying full width

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

Start by reviewing the discussion in PR 1386, especially the endpoint introduced for modifying full width. Identify how page attributes such as fullWidth and emoji are currently updated and what they have in common. Done means a generic update/edit endpoint accepts the relevant attributes without requiring separate endpoint boilerplate.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.