License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The milestones API as described on http://developer.github.com/v3/issues/milestones/.
Synopsis
- milestones :: Name Owner -> Name Repo -> IO (Either Error (Vector Milestone))
- milestones' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector Milestone))
- milestonesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Milestone)
- milestone :: Name Owner -> Name Repo -> Id Milestone -> IO (Either Error Milestone)
- milestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request k Milestone
- createMilestone :: Auth -> Name Owner -> Name Repo -> NewMilestone -> IO (Either Error Milestone)
- createMilestoneR :: Name Owner -> Name Repo -> NewMilestone -> Request RW Milestone
- updateMilestone :: Auth -> Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> IO (Either Error Milestone)
- updateMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> Request RW Milestone
- deleteMilestone :: Auth -> Name Owner -> Name Repo -> Id Milestone -> IO (Either Error ())
- deleteMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request RW ()
- module GitHub.Data
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"
milestonesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Milestone) Source #
List milestones for a repository. See https://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository
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)
milestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request k Milestone Source #
Query a single milestone. See https://developer.github.com/v3/issues/milestones/#get-a-single-milestone
createMilestone :: Auth -> Name Owner -> Name Repo -> NewMilestone -> IO (Either Error Milestone) Source #
createMilestoneR :: Name Owner -> Name Repo -> NewMilestone -> Request RW Milestone Source #
Create a milestone. See https://developer.github.com/v3/issues/milestones/#create-a-milestone
updateMilestone :: Auth -> Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> IO (Either Error Milestone) Source #
updateMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> Request RW Milestone Source #
Update a milestone. See https://developer.github.com/v3/issues/milestones/#update-a-milestone
deleteMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request RW () Source #
Delete a milestone. See https://developer.github.com/v3/issues/milestones/#delete-a-milestone
module GitHub.Data