Bug 40790

Summary: Create Rest API for reading and writing system preferences
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: REST APIAssignee: Tomás Cohen Arazi (tcohen) <tomascohen>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31982
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2025-09-10 19:45:04 UTC
It'd be helpful to have a rest api for system preferences. Currently we use the svc api for a lot of this.
Comment 1 David Cook 2025-09-10 23:31:54 UTC
It would be nice to have a REST API endpoint for sysprefs for sure.

That said, at the moment the svc/config/systempreferences endpoint only exists on the staff interface.

If we added a REST API endpoint, it would be available via both the staff interface and the OPAC. I don't love the idea of people being able to write to sysprefs from the OPAC. 

Sure, it would be protected by authentication and authorization, but it would increase risks. 

There are some other security things that we'd want to do before doing this I think.