add simple web services for adding or subtracting records from a temp list
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 May 2018 18:38:47 +0000 (14:38 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 May 2018 21:32:07 +0000 (17:32 -0400)
commita56ced7e1502118965df99079586283b527851f3
treea90a3df1dde7545944b7c5afa600381a3ff3a01f
parentec45e84e04df20e47525b6443b940d51689d2856
add simple web services for adding or subtracting records from a temp list

GET /eg/opac/api/mylist/add?record=45
GET /eg/opac/api/mylist/delete?record=45

The JSON response is a hash containing a mylist key pointing to the list
of bib IDs of contents of the temporary list.

The record parameter can be repeated to allow adding or removing
records as an atomic operation. Note that this change also now available
to /eg/opac/mylist/{add,delete}

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm