Document new batch comments methods · github/developer.github.com@96b1be1 · GitHub
Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 96b1be1

Browse files
committed
Document new batch comments methods
1 parent 30705a0 commit 96b1be1

3 files changed

Lines changed: 46 additions & 1 deletion

File tree

content/v3/issues.md

Lines changed: 1 addition & 1 deletion

content/v3/issues/comments.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,28 @@ You can read more about the use of mime types in the API
2323
<%= headers 200, :pagination => true %>
2424
<%= json(:issue_comment) { |h| [h] } %>
2525

26+
## List comments in a repository
27+
28+
GET /repos/:owner/:repo/issues/comments
29+
30+
By default, Issue Comments are ordered by ascending ID.
31+
32+
### Parameters
33+
34+
sort
35+
: _Optional_ **String** `created` or `updated`
36+
37+
direction
38+
: _Optional_ **String** `asc` or `desc`. Ignored without `sort` parameter.
39+
40+
since
41+
: _Optional_ **String** of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
42+
43+
### Response
44+
45+
<%= headers 200 %>
46+
<%= json(:pull_comment) { |h| [h] } %>
47+
2648
## Get a single comment
2749

2850
GET /repos/:owner/:repo/issues/comments/:id

content/v3/pulls/comments.md

Lines changed: 23 additions & 0 deletions

0 commit comments

Comments
 (0)