Unified parameter-setting API #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently each parameter has its own setter method, leading to many API endpoints. Better approach:\n\nProposed: Single POST /control/parameter endpoint\n\n\nBenefits:\n- Single endpoint for all parameters\n- Parameter validation on backend\n- Easy to extend\n- Frontend can dynamically build parameter editors\n\nImplementation:\n- Create ParameterCommand model with parameter + value\n- Backend handler maps parameter name to correct setter\n- Validate parameter exists and value is in range