github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Issues.Events

Description

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

Synopsis

Documentation

eventsForIssue :: Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector Event)) Source

All events that have happened on an issue.

eventsForIssue "thoughtbot" "paperclip" 49

eventsForIssue' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector Event)) Source

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

eventsForIssue' (GithubUser (user, password)) "thoughtbot" "paperclip" 49

eventsForRepo :: Name GithubOwner -> Name Repo -> IO (Either Error (Vector Event)) Source

All the events for all issues in a repo.

eventsForRepo "thoughtbot" "paperclip"

eventsForRepo' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> IO (Either Error (Vector Event)) Source

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

eventsForRepo' (GithubUser (user, password)) "thoughtbot" "paperclip"

event :: Name GithubOwner -> Name Repo -> Id Event -> IO (Either Error Event) Source

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

event "thoughtbot" "paperclip" 5335772

event' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Id Event -> IO (Either Error Event) Source

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

event' (GithubUser (user, password)) "thoughtbot" "paperclip" 5335772