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

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

GitHub.Endpoints.Issues.Milestones

Description

The milestones API as described on http://developer.github.com/v3/issues/milestones/.

Synopsis

Documentation

milestones :: Name Owner -> Name Repo -> IO (Either Error (Vector Milestone)) Source #

All milestones in the repo.

milestones "thoughtbot" "paperclip"

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

All milestones in the repo, using authentication.

milestones' (User (user, passwordG) "thoughtbot" "paperclip"

milestone :: Name Owner -> Name Repo -> Id Milestone -> IO (Either Error Milestone) Source #

Details on a specific milestone, given it's milestone number.

milestone "thoughtbot" "paperclip" (Id 2)