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

--- Comment #9 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 208079
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208079&action=edit
Bug 34962: Add REST API for system messages

This patch adds three routes:

  GET /api/v1/system_messages
    List system messages ( view_system_messages or manage_system_messages )
  PUT /api/v1/system_messages/{system_message_id}/clear
    Clear one message ( manage_system_messages )
  PUT /api/v1/system_messages/clear
    Clear every uncleared message ( manage_system_messages )

Test Plan:
1) Apply this patch
2) yarn api:bundle
3) prove t/db_dependent/api/v1/system_messages.t xt/api.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to