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

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

GitHub.Endpoints.Repos.Comments

Description

The repo commits API as described on http://developer.github.com/v3/repos/comments/.

Synopsis

Documentation

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

All the comments on a Github repo.

commentsFor "thoughtbot" "paperclip"

commentsFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector Comment)) Source #

All the comments on a Github repo. With authentication.

commentsFor "thoughtbot" "paperclip"

commitCommentsFor :: Name Owner -> Name Repo -> Name Commit -> IO (Either Error (Vector Comment)) Source #

Just the comments on a specific SHA for a given Github repo.

commitCommentsFor "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b"

commitCommentsFor' :: Maybe Auth -> Name Owner -> Name Repo -> Name Commit -> IO (Either Error (Vector Comment)) Source #

Just the comments on a specific SHA for a given Github repo. With authentication.

commitCommentsFor "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b"

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

A comment, by its ID, relative to the Github repo.

commitCommentFor "thoughtbot" "paperclip" "669575"

commitCommentFor' :: Maybe Auth -> Name Owner -> Name Repo -> Id Comment -> IO (Either Error Comment) Source #

A comment, by its ID, relative to the Github repo.

commitCommentFor "thoughtbot" "paperclip" "669575"