https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #194491|0                           |1
        is obsolete|                            |

--- Comment #2 from Owen Leonard <[email protected]> ---
Created attachment 194496
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194496&action=edit
Bug 41994: Implement /sysprefs route to list system preferences

This new route will be used in a follow-up bug to auto-complete
sysprefs when using the header to search for sysprefs.

Note that this is based on top of bug 41834 that NULL options,
explanation and type in DB, but a future enhancement will populate the
response to return the values present in the yaml files.

Test plan:
1. Bundle the swagger specs and reload plack:
   yarn api:bundle && koha-plack --reload kohadev
2. Fetch the sysprefs using the new route:
 curl -u koha:koha --request GET
'http://${INSTANCE}-intra.localhost/api/v1/sysprefs' --header "Content-Type:
application/json" | jq
3. Confirm that the tests pass
   prove t/db_dependent/api/v1/sysprefs.t

Signed-off-by: Owen Leonard <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to