diff --git a/src/tentacles/issues.clj b/src/tentacles/issues.clj index 9760171..2e4b174 100644 --- a/src/tentacles/issues.clj +++ b/src/tentacles/issues.clj @@ -96,6 +96,11 @@ ;; ## Issue Comments API +(defn repo-issue-comments + "List issue comments in a repository." + [user repo & [options]] + (api-call :get "repos/%s/%s/issues/comments" [user repo] options)) + (defn issue-comments "List comments on an issue." [user repo id & [options]] diff --git a/src/tentacles/pulls.clj b/src/tentacles/pulls.clj index 37e9fa5..c56c618 100644 --- a/src/tentacles/pulls.clj +++ b/src/tentacles/pulls.clj @@ -67,6 +67,11 @@ ;; ## Pull Request Comment API +(defn repo-comments + "List pull request comments in a repository." + [user repo & [options]] + (api-call :get "repos/%s/%s/pulls/comments" [user repo] options)) + (defn comments "List comments on a pull request." [user repo id & [options]]