github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Repos.Comments

Description

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

Synopsis

Documentation

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

All the comments on a Github repo.

commentsFor "thoughtbot" "paperclip"

commentsFor' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> IO (Either Error (Vector Comment)) Source

All the comments on a Github repo. With authentication.

commentsFor "thoughtbot" "paperclip"

commitCommentsFor :: Name GithubOwner -> 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 GithubAuth -> Name GithubOwner -> 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 GithubOwner -> 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 GithubAuth -> Name GithubOwner -> Name Repo -> Id Comment -> IO (Either Error Comment) Source

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

commitCommentFor "thoughtbot" "paperclip" "669575"