add in api to for notification (bug 797927-two)