Add ability to toggle active/inactive for a rating
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
Currently the PATCH endpoint for /ratings requires you to send the entire rating and all data.
Describe the solution you'd like
Would like to be able to granularly toggle the active state on a rating via the PATCH endpoint and it allow doing so if not full value is given just keep the old curve.
Describe alternatives you've considered
New endpoints for doing things like controlling active state of various cwms items
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the PATCH /ratings entry point and trace how partial requests are currently handled. Done means a request can toggle only the active state while retaining the existing curve, while full rating updates continue to work; add or update endpoint tests for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100