https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17505

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |26297

--- Comment #26 from Tomás Cohen Arazi <[email protected]> ---
Hi, in my opinion this needs to be redone. Besides naming conventions (e.g.
borrowernumber) we have moved forward in some things a while back.

My thoughts:

We need:

GET /patron_categories/:patron_category_id/messaging_preferences
GET /patrons/:patron_id/messaging_preferences

As for CRUD operations, I don't feel comfortable with just doing

PUT /patron_categories/:patron_category_id/messaging_preferences

with all the message types and transports. We need more fine-grained control.
So probably

PUT /patrons/:patron_id/messaging_preferences/:message_type

And as I said some time ago, I think we also need some endpoint to fetch the
valid message types and also transport types.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26297
[Bug 26297] Add a route to list patron categories
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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