module GitHub.Endpoints.Activity.Events (
repositoryEventsR,
userEventsR,
module GitHub.Data,
) where
import GitHub.Data
import GitHub.Internal.Prelude
import Prelude ()
repositoryEventsR :: Name Owner -> Name Repo -> FetchCount -> Request 'RO (Vector Event)
repositoryEventsR user repo =
pagedQuery ["repos", toPathPart user, toPathPart repo, "events"] []
userEventsR :: Name User -> FetchCount -> Request 'RO (Vector Event)
userEventsR user =
pagedQuery ["users", toPathPart user, "events", "public"] []