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

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

GitHub.Endpoints.PullRequests.Comments

Description

The pull request review comments API as described at http://developer.github.com/v3/pulls/comments/.

Synopsis

Documentation

pullRequestCommentsIO :: Name Owner -> Name Repo -> IssueNumber -> IO (Either Error (Vector Comment)) Source #

All the comments on a pull request with the given ID.

pullRequestComments "thoughtbot" "factory_girl" (Id 256)

pullRequestComment :: Name Owner -> Name Repo -> Id Comment -> IO (Either Error Comment) Source #

One comment on a pull request, by the comment's ID.

pullRequestComment "thoughtbot" "factory_girl" (Id 301819)

createPullComment :: Auth -> Name Owner -> Name Repo -> IssueNumber -> Text -> Text -> Int -> Text -> IO (Either Error Comment) Source #

Create a new comment.

createPullComment (User (user, password)) user repo issue commit path position
 "some words"