[Koha-bugs] [Bug 20006] Adapt /v1/holds to new naming guidelines
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 25 09:39:36 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20006
--- Comment #10 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 84397
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84397&action=edit
Bug 20006: Adapt /holds to the RFC
This patch makes the /holds endpoint respect the voted RFC. Some
behaviours are changed as well:
- As we voted to introduce a /public namespace for unprivileged access to
endpoints, this endpoint gets the ability for owners and guarantors to
manipulate holds through the API.
- GET /holds now uses the objects->search helper, so it now has
pagination.
To test:
- Apply this patches
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
- Sign off :-D
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list