struct

Shoo::GitHub::Client::Notifications

Inherits Struct < Value < Object

Constructors

new(request : Request)
Source

Instance methods

all(per_page : Int32 = 50) : Result(Array(Notification))
Source
list(page : Int32 = 1, per_page : Int32 = 50) : Result(Array(Notification))

https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28&versionId=free-pro-team%40latest&productId=rest#list-notifications-for-the-authenticated-user

Source
mark_as_done(notification_id : String) : Error | Nil

https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28&versionId=free-pro-team%40latest&productId=rest#mark-notifications-as-read

Source
unsubscribe(notification_id : String) : Error | Nil

https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#delete-a-thread-subscription

Source