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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
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