1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 22:24:24 +00:00
gitea/routers/api/v1/notify
zeripath 489e9162fc
Extend Notifications API and return pinned notifications by default (#12164) (#12232)
Backport #12164

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 #12152

Signed-off-by: Andrew Thornton art27@cantab.net
2020-07-13 21:52:05 +01:00
..
notifications.go [Api] Check Notify (always return json) (#10059) 2020-04-10 19:49:39 -04:00
repo.go Extend Notifications API and return pinned notifications by default (#12164) (#12232) 2020-07-13 21:52:05 +01:00
threads.go Extend Notifications API and return pinned notifications by default (#12164) (#12232) 2020-07-13 21:52:05 +01:00
user.go Extend Notifications API and return pinned notifications by default (#12164) (#12232) 2020-07-13 21:52:05 +01:00