Bug 40790 - Create Rest API for reading and writing system preferences
Summary: Create Rest API for reading and writing system preferences
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-10 19:45 UTC by Andrew Fuerste-Henry
Modified: 2025-09-10 23:33 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.