module GitHub.Endpoints.Issues.Events (
eventsForIssueR,
eventsForRepoR,
eventR,
module GitHub.Data,
) where
import GitHub.Data
import GitHub.Internal.Prelude
import Prelude ()
eventsForIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueEvent)
eventsForIssueR user repo iid =
pagedQuery ["repos", toPathPart user, toPathPart repo, "issues", toPathPart iid, "events"] []
eventsForRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueEvent)
eventsForRepoR user repo =
pagedQuery ["repos", toPathPart user, toPathPart repo, "issues", "events"] []
eventR :: Name Owner -> Name Repo -> Id IssueEvent -> Request k IssueEvent
eventR user repo eid =
query ["repos", toPathPart user, toPathPart repo, "issues", "events", toPathPart eid] []