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 <oleonard@myacpl.org> Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| v1 | ||
| swagger-v2-schema.json | ||