Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Github issue comments API from http://developer.github.com/v3/issues/comments/.
- comment :: Name GithubOwner -> Name Repo -> Id Comment -> IO (Either Error IssueComment)
- commentR :: Name GithubOwner -> Name Repo -> Id Comment -> GithubRequest k IssueComment
- comments :: Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueComment))
- commentsR :: Name GithubOwner -> Name Repo -> Id Issue -> Maybe Count -> GithubRequest k (Vector IssueComment)
- comments' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueComment))
- createComment :: GithubAuth -> Name GithubOwner -> Name Repo -> Id Issue -> Text -> IO (Either Error Comment)
- createCommentR :: Name GithubOwner -> Name Repo -> Id Issue -> Text -> GithubRequest True Comment
- editComment :: GithubAuth -> Name GithubOwner -> Name Repo -> Id Comment -> Text -> IO (Either Error Comment)
- editCommentR :: Name GithubOwner -> Name Repo -> Id Comment -> Text -> GithubRequest True Comment
- module Github.Data
Documentation
comment :: Name GithubOwner -> Name Repo -> Id Comment -> IO (Either Error IssueComment) Source
A specific comment, by ID.
comment "thoughtbot" "paperclip" 1468184
commentR :: Name GithubOwner -> Name Repo -> Id Comment -> GithubRequest k IssueComment Source
Get a single comment. See https://developer.github.com/v3/issues/comments/#get-a-single-comment
comments :: Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueComment)) Source
All comments on an issue, by the issue's number.
comments "thoughtbot" "paperclip" 635
commentsR :: Name GithubOwner -> Name Repo -> Id Issue -> Maybe Count -> GithubRequest k (Vector IssueComment) Source
List comments on an issue. See https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
comments' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Id Issue -> IO (Either Error (Vector IssueComment)) Source
All comments on an issue, by the issue's number, using authentication.
comments' (GithubUser (user, password)) "thoughtbot" "paperclip" 635
createComment :: GithubAuth -> Name GithubOwner -> Name Repo -> Id Issue -> Text -> IO (Either Error Comment) Source
Create a new comment.
createComment (GithubUser (user, password)) user repo issue "some words"
createCommentR :: Name GithubOwner -> Name Repo -> Id Issue -> Text -> GithubRequest True Comment Source
Create a comment. See https://developer.github.com/v3/issues/comments/#create-a-comment
editComment :: GithubAuth -> Name GithubOwner -> Name Repo -> Id Comment -> Text -> IO (Either Error Comment) Source
Edit a comment.
editComment (GithubUser (user, password)) user repo commentid "new words"
editCommentR :: Name GithubOwner -> Name Repo -> Id Comment -> Text -> GithubRequest True Comment Source
Edit a comment. See https://developer.github.com/v3/issues/comments/#edit-a-comment
module Github.Data