[Bug 14843] New: Notifications and messages via REST API
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Bug ID: 14843 Summary: Notifications and messages via REST API Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: larit@student.uef.fi QA Contact: testopia@bugs.koha-community.org Add basic REST API operations for Notices. This way we can easily allow staff with correct permissions to resend/create manually new notices via REST API and accept third party delivery notes. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |larit@student.uef.fi |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |7174, 13799, 12426 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174 [Bug 7174] Authentication rewriting http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12426 [Bug 12426] Allow resending of emails from the notices tab in the patron account http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799 [Bug 13799] Add base for building RESTful API -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 --- Comment #1 from Lari Taskula <larit@student.uef.fi> --- Created attachment 42645 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42645&action=edit Bug 14843: Notifications and messages via REST API This patch adds notifications/messages to REST API. The purpose is to let user with permissions get/create/update/delete/resend messages in message_queue. For the operations we have to introduce new functionalities to C4::Letters. Currently it is not possible to delete/update notifications or get message by id. With this patch we are able to do these operations. Two new subroutines are: C4::Letters::DequeueLetter and C4::Letters::UpdateQueuedMessage There are specific permissions for each operation. Under pemission module 'messages', the following permissions can be found: - get_message - create_message - update_message (also allows resend via status change) - delete_message - resend_message Endpoints that this patch adds are: GET /api/v1/messages (GETs all messages) POST /api/v1/messages (creates new message) GET /api/v1/messages/{messagenumber} (GETs specific message) PUT /api/v1/messages/{messagenumber} (modifies specific message) DELETE /api/v1/messages/{messagenumber} (deletes specific message) POST /api/v1/messages/{messagenumber}/resend (makes new resend for a message) See Swagger definitions for more precise descriptions. Includes REST tests and unit tests for new subroutines in C4::Letters. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |14723 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14723 [Bug 14723] Additional delivery notes to messages -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14791 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |14767 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14767 [Bug 14767] Message delivery notes from SMS Gateway provider reports -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42645|0 |1 is obsolete| | --- Comment #2 from Lari Taskula <larit@student.uef.fi> --- Created attachment 42693 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42693&action=edit Bug 14843: Notifications and messages via REST API -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42693|0 |1 is obsolete| | --- Comment #3 from Lari Taskula <larit@student.uef.fi> --- Created attachment 42694 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42694&action=edit Bug 14843: Notifications and messages via REST API -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |14855 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 [Bug 14855] Resend notices in Notices tab with AJAX + REST -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42694|0 |1 is obsolete| | --- Comment #4 from Lari Taskula <larit@student.uef.fi> --- Created attachment 42719 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42719&action=edit Bug 14843: Notifications and messages via REST API -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org