]> git.mxchange.org Git - friendica.git/commit
new api for notifications
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Feb 2016 13:27:13 +0000 (14:27 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Feb 2016 13:27:13 +0000 (14:27 +0100)
commit44592611e1582fd97ae1988343418a0dae1ae2a0
tree309bc1fb80c981648e339bf220b71cf673237a86
parentd6cf791677e3c676108f84e64818ba2a272f6d08
new api for notifications

/api/friendica/notification
returns first 50 notifications for current user

/api/friendica&notification/<id>
set note <id> as seen and return item object if possible

new class NotificationsManager to query for notifications and set seen
state
include/NotificationsManager.php [new file with mode: 0644]
include/api.php
mod/notify.php
mod/ping.php