License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The repo watching API as described on https://developer.github.com/v3/activity/notifications/.
Synopsis
- getNotificationsR :: FetchCount -> Request 'RA (Vector Notification)
- markNotificationAsReadR :: Id Notification -> GenRequest 'MtUnit 'RW ()
- markAllNotificationsAsReadR :: GenRequest 'MtUnit 'RW ()
Documentation
getNotificationsR :: FetchCount -> Request 'RA (Vector Notification) Source #
List your notifications. See https://developer.github.com/v3/activity/notifications/#list-your-notifications
markNotificationAsReadR :: Id Notification -> GenRequest 'MtUnit 'RW () Source #
Mark a thread as read. See https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read
markAllNotificationsAsReadR :: GenRequest 'MtUnit 'RW () Source #
Mark as read. See https://developer.github.com/v3/activity/notifications/#mark-as-read