Various notification queries
Method : POST
URI : /db/<db_name>/query
Body :
{"sql":"<sql query...>"}- List of all registered notification templates
 - List of all notifications for a registered notification template
 - List of all open notifications
 - Count of all notifications for a given notification id
 - Count of all open notifications
 
{"sql":"select * from reg_notif"}{"sql":"select * from notif where notifid = <id>"}{"sql":"select * from notif where openflag = 1"}{"sql":"select count(*) from notif where notifid = <id>"}{"sql":"select count(*) from notif where notifid = <id> and openflag = 1"}