module Github.Issues.Comments (
comment
,comments
,comments'
,module Github.Data
) where
import Github.Data
import Github.Private
comment :: String -> String -> Int -> IO (Either Error IssueComment)
comment user repoName commentId =
githubGet ["repos", user, repoName, "issues", "comments", show commentId]
comments :: String -> String -> Int -> IO (Either Error [IssueComment])
comments user repoName issueNumber =
githubGet ["repos", user, repoName, "issues", show issueNumber, "comments"]
comments' :: Maybe GithubAuth -> String -> String -> Int -> IO (Either Error [IssueComment])
comments' auth user repoName issueNumber =
githubGet' auth ["repos", user, repoName, "issues", show issueNumber, "comments"]