[Koha-bugs] [Bug 23666] New: Add API route for additional patron attributes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 23 00:22:31 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23666
Bug ID: 23666
Summary: Add API route for additional patron attributes
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST api
Assignee: koha-bugs at lists.koha-community.org
Reporter: kugler_stefan at hotmail.com
Add API routes to manage additional patron attributes.
A simple implementation could only allow a modification of all attributes en
bloc, eg:
GET /patrons/{patron_id}/attributes Get all additional
attributes
POST/PUT? /patrons/{patron_id}/attributes Create/overwrite additional
attributes
DELETE /patrons/{patron_id}/attributes Delete all additional
attributes
A more granular implementation could be eg:
GET /patrons/{patron_id}/attributes/{code} Get additional attribute
"code"
PUT /patrons/{patron_id}/attributes/{code} Overwrite additional
attribute "code"
DELETE /patrons/{patron_id}/attributes/{code} Delete additional attribute
"code"
To be discussed: How to handle repeatable attributes with multiple values.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list