Skip to content

Commit a220973

Browse files
committed
Batch comments post
1 parent 96b1be1 commit a220973

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
kind: change
3+
title: Per-repository Review and Issue Comment listing
4+
created_at: 2012-12-04
5+
author_name: pengwynn
6+
---
7+
8+
You've always been able to grab all the commit comments for an entire
9+
repository via the API, but to get Issue comments and Pull Request Review
10+
Comments, you could only fetch the comments for a single Issue or Pull Request.
11+
12+
Today, we're introducing two new methods to grab all Issue Comments and Review
13+
Comments for a repository.
14+
15+
# Grab all Issue Comments
16+
curl https://api.github.com/repos/mathiasbynens/dotfiles/issues/comments
17+
18+
# Grab all Review Comments
19+
curl https://api.github.com/repos/mathiasbynens/dotfiles/pulls/comments
20+
21+

0 commit comments

Comments
 (0)