License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo commits API as described on http://developer.github.com/v3/repos/comments/.
Synopsis
- commentsFor :: Name Owner -> Name Repo -> IO (Either Error (Vector Comment))
- commentsFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector Comment))
- commentsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Comment)
- commitCommentsFor :: Name Owner -> Name Repo -> Name Commit -> IO (Either Error (Vector Comment))
- commitCommentsFor' :: Maybe Auth -> Name Owner -> Name Repo -> Name Commit -> IO (Either Error (Vector Comment))
- commitCommentsForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request k (Vector Comment)
- commitCommentFor :: Name Owner -> Name Repo -> Id Comment -> IO (Either Error Comment)
- commitCommentFor' :: Maybe Auth -> Name Owner -> Name Repo -> Id Comment -> IO (Either Error Comment)
- commitCommentForR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment
- module GitHub.Data
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"
commentsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Comment) Source #
List commit comments for a repository. See https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository
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"
commitCommentsForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request k (Vector Comment) Source #
List comments for a single commit. See https://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit
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"
commitCommentForR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment Source #
Query a single commit comment. See https://developer.github.com/v3/repos/comments/#get-a-single-commit-comment
module GitHub.Data