Safe Haskell | None |
---|---|
Language | Haskell98 |
The Github issue comments API from http://developer.github.com/v3/issues/comments/.
- comment :: String -> String -> Int -> IO (Either Error IssueComment)
- comments :: String -> String -> Int -> IO (Either Error [IssueComment])
- comments' :: Maybe GithubAuth -> String -> String -> Int -> IO (Either Error [IssueComment])
- createComment :: GithubAuth -> String -> String -> Int -> String -> IO (Either Error Comment)
- editComment :: GithubAuth -> String -> String -> Int -> String -> IO (Either Error Comment)
- module Github.Data
Documentation
comment :: String -> String -> Int -> IO (Either Error IssueComment) Source
A specific comment, by ID.
comment "thoughtbot" "paperclip" 1468184
comments :: String -> String -> Int -> IO (Either Error [IssueComment]) Source
All comments on an issue, by the issue's number.
comments "thoughtbot" "paperclip" 635
comments' :: Maybe GithubAuth -> String -> String -> Int -> IO (Either Error [IssueComment]) Source
All comments on an issue, by the issue's number, using authentication.
comments' (GithubUser (user, password)) "thoughtbot" "paperclip" 635
createComment :: GithubAuth -> String -> String -> Int -> String -> IO (Either Error Comment) Source
Create a new comment.
createComment (GithubUser (user, password)) user repo issue "some words"
editComment :: GithubAuth -> String -> String -> Int -> String -> IO (Either Error Comment) Source
Edit a comment.
editComment (GithubUser (user, password)) user repo commentid "new words"
module Github.Data