gitea/routers/api/v1/notify
zeripath 489e9162fc
Extend Notifications API and return pinned notifications by default () ()
Backport 

This PR extends the notifications API to allow specific notification statuses to be searched for and to allow setting of notifications to statuses other than read.

By default unread and pinned statuses will be returned when querying for notifications - however pinned statuses will not be marked as read.

Close 

Signed-off-by: Andrew Thornton art27@cantab.net
..
notifications.go [Api] Check Notify (always return json) ()
repo.go Extend Notifications API and return pinned notifications by default () ()
threads.go Extend Notifications API and return pinned notifications by default () ()
user.go Extend Notifications API and return pinned notifications by default () ()