github-0.22: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.Issues.Events

Description

The Github issue events API, which is described on http://developer.github.com/v3/issues/events/

Synopsis

Documentation

eventsForIssue :: Name Owner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueEvent)) Source #

All events that have happened on an issue.

eventsForIssue "thoughtbot" "paperclip" 49

eventsForIssue' :: Maybe Auth -> Name Owner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueEvent)) Source #

All events that have happened on an issue, using authentication.

eventsForIssue' (Just $ BasicAuth "github-username" "github-password") "thoughtbot" "paperclip" 49

eventsForRepo :: Name Owner -> Name Repo -> IO (Either Error (Vector IssueEvent)) Source #

All the events for all issues in a repo.

eventsForRepo "thoughtbot" "paperclip"

eventsForRepo' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector IssueEvent)) Source #

All the events for all issues in a repo, using authentication.

eventsForRepo' (Just $ BasicAuth "github-username" "github-password") "thoughtbot" "paperclip"

event :: Name Owner -> Name Repo -> Id IssueEvent -> IO (Either Error IssueEvent) Source #

Details on a specific event, by the event's ID.

event "thoughtbot" "paperclip" 5335772

event' :: Maybe Auth -> Name Owner -> Name Repo -> Id IssueEvent -> IO (Either Error IssueEvent) Source #

Details on a specific event, by the event's ID, using authentication.

event' (Just $ BasicAuth "github-username" "github-password") "thoughtbot" "paperclip" 5335772