License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo watching API as described on https://developer.github.com/v3/activity/notifications/.
Synopsis
- getNotifications :: Auth -> IO (Either Error (Vector Notification))
- getNotificationsR :: FetchCount -> Request RA (Vector Notification)
- markNotificationAsRead :: Auth -> Id Notification -> IO (Either Error ())
- markNotificationAsReadR :: Id Notification -> GenRequest MtUnit RW ()
- markNotificationsAsRead :: Auth -> IO (Either Error ())
- markAllNotificationsAsReadR :: GenRequest MtUnit RW ()
Documentation
getNotifications :: Auth -> IO (Either Error (Vector Notification)) Source #
getNotificationsR :: FetchCount -> Request RA (Vector Notification) Source #
List your notifications. See https://developer.github.com/v3/activity/notifications/#list-your-notifications
markNotificationAsRead :: Auth -> Id Notification -> IO (Either Error ()) Source #
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