License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <[email protected]> |
Safe Haskell | None |
Language | Haskell2010 |
GitHub.Endpoints.PullRequests.Comments
Description
The pull request review comments API as described at http://developer.github.com/v3/pulls/comments/.
Synopsis
- pullRequestCommentsIO :: Name Owner -> Name Repo -> Id PullRequest -> IO (Either Error (Vector Comment))
- pullRequestCommentsR :: Name Owner -> Name Repo -> Id PullRequest -> FetchCount -> Request k (Vector Comment)
- pullRequestComment :: Name Owner -> Name Repo -> Id Comment -> IO (Either Error Comment)
- pullRequestCommentR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment
- module GitHub.Data
Documentation
pullRequestCommentsIO :: Name Owner -> Name Repo -> Id PullRequest -> IO (Either Error (Vector Comment)) Source #
All the comments on a pull request with the given ID.
pullRequestComments "thoughtbot" "factory_girl" (Id 256)
pullRequestCommentsR :: Name Owner -> Name Repo -> Id PullRequest -> FetchCount -> Request k (Vector Comment) Source #
List comments on a pull request. See https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
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)
pullRequestCommentR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment Source #
Query a single comment. See https://developer.github.com/v3/pulls/comments/#get-a-single-comment
module GitHub.Data