License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The Github issue events API, which is described on http://developer.github.com/v3/issues/events/
Synopsis
- eventsForIssue :: Name Owner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueEvent))
- eventsForIssue' :: Maybe Auth -> Name Owner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueEvent))
- eventsForIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueEvent)
- eventsForRepo :: Name Owner -> Name Repo -> IO (Either Error (Vector IssueEvent))
- eventsForRepo' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector IssueEvent))
- eventsForRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueEvent)
- event :: Name Owner -> Name Repo -> Id IssueEvent -> IO (Either Error IssueEvent)
- event' :: Maybe Auth -> Name Owner -> Name Repo -> Id IssueEvent -> IO (Either Error IssueEvent)
- eventR :: Name Owner -> Name Repo -> Id IssueEvent -> Request k IssueEvent
- module GitHub.Data
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
eventsForIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueEvent) Source #
List events for an issue. See https://developer.github.com/v3/issues/events/#list-events-for-an-issue
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"
eventsForRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueEvent) Source #
List events for a repository. See https://developer.github.com/v3/issues/events/#list-events-for-a-repository
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
eventR :: Name Owner -> Name Repo -> Id IssueEvent -> Request k IssueEvent Source #
Query a single event. See https://developer.github.com/v3/issues/events/#get-a-single-event
module GitHub.Data