Safe Haskell | None |
---|---|
Language | Haskell98 |
The API for dealing with labels on Github issues, as described on http://developer.github.com/v3/issues/labels/.
- label :: String -> String -> String -> IO (Either Error IssueLabel)
- labelsOnRepo :: String -> String -> IO (Either Error [IssueLabel])
- labelsOnIssue :: String -> String -> Int -> IO (Either Error [IssueLabel])
- labelsOnMilestone :: String -> String -> Int -> IO (Either Error [IssueLabel])
- module Github.Data
Documentation
label :: String -> String -> String -> IO (Either Error IssueLabel) Source
A label, by name.
Github.label "thoughtbot" "paperclip" "bug"
labelsOnRepo :: String -> String -> IO (Either Error [IssueLabel]) Source
All the labels available to use on any issue in the repo.
labelsOnRepo "thoughtbot" "paperclip"
labelsOnIssue :: String -> String -> Int -> IO (Either Error [IssueLabel]) Source
The labels on an issue in a repo.
labelsOnIssue "thoughtbot" "paperclip" 585
labelsOnMilestone :: String -> String -> Int -> IO (Either Error [IssueLabel]) Source
All the labels on a repo's milestone, given the milestone ID.
labelsOnMilestone "thoughtbot" "paperclip" 2
module Github.Data