CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 06 Sep 2025 11:50:00 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20130805205550
location: https://web.archive.org/web/20130805205550/https://developer.github.com/v3/issues/comments/
server-timing: captures_list;dur=0.714784, exclusion.robots;dur=0.033873, exclusion.robots.policy;dur=0.020226, esindex;dur=0.012170, cdx.remote;dur=153.845287, LoadShardBlock;dur=58.229472, PetaboxLoader3.datanode;dur=55.211334
x-app-server: wwwb-app202
x-ts: 302
x-tr: 242
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app202; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 06 Sep 2025 11:50:00 GMT
content-type: text/html
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Tue, 23 Jul 2013 13:29:22 GMT
x-archive-orig-expires: Mon, 05 Aug 2013 21:05:50 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-content-length: 24962
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 05 Aug 2013 20:55:50 GMT
x-archive-orig-via: 1.1 varnish
x-archive-orig-age: 0
x-archive-orig-connection: close
x-archive-orig-x-served-by: cache-sv63-SJC3
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1375736150.726406813,VS0,VE72
x-archive-orig-vary: Accept-Encoding
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 05 Aug 2013 20:55:50 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 03 May 2011 07:36:10 GMT", ; rel="prev memento"; datetime="Tue, 30 Jul 2013 01:14:42 GMT", ; rel="memento"; datetime="Mon, 05 Aug 2013 20:55:50 GMT", ; rel="next memento"; datetime="Wed, 21 Aug 2013 09:47:08 GMT", ; rel="last memento"; datetime="Thu, 28 Aug 2025 08:18:42 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: WIDE-20130805152330-crawl413/WIDE-20130805180131-00009.warc.gz
server-timing: captures_list;dur=0.869713, exclusion.robots;dur=0.034478, exclusion.robots.policy;dur=0.021074, esindex;dur=0.019216, cdx.remote;dur=24.598115, LoadShardBlock;dur=248.010498, PetaboxLoader3.datanode;dur=220.470605, PetaboxLoader3.resolve;dur=96.083667, load_resource;dur=105.574401
x-app-server: wwwb-app202
x-ts: 200
x-tr: 474
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Issue Comments | GitHub API
Issue Comments API
- List comments on an issue
- List comments in a repository
- Get a single comment
- Create a comment
- Edit a comment
- Delete a comment
- Custom media types
The Issue Comments API supports listing, viewing, editing, and creating comments on issues and pull requests.
Issue Comments use these custom media types. You can read more about the use of media types in the API here.
List comments on an issue
GET /repos/:owner/:repo/issues/:number/comments
Response
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
<https://api.github.com/resource?page=5>; rel="last"
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
{
"id": 1,
"url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
"body": "Me too",
"user": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z"
}
]
List comments in a repository
GET /repos/:owner/:repo/issues/comments
By default, Issue Comments are ordered by ascending ID.
Parameters
- sort
-
Optional String
created
orupdated
- direction
-
Optional String
asc
ordesc
. Ignored withoutsort
parameter. - since
- Optional String of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
"id": 1,
"body": "Great stuff",
"path": "file1.txt",
"position": 4,
"commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z",
"_links": {
"self": {
"href": "https://api.github.com/octocat/Hello-World/pulls/comments/1"
},
"html": {
"href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
},
"pull_request": {
"href": "https://api.github.com/octocat/Hello-World/pulls/1"
}
}
}
]
Get a single comment
GET /repos/:owner/:repo/issues/comments/:id
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"id": 1,
"url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
"body": "Me too",
"user": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z"
}
Create a comment
POST /repos/:owner/:repo/issues/:number/comments
Input
- body
- Required string
{
"body": "a new comment"
}
Response
Status: 201 Created
Location: https://api.github.com/repos/user/repo/issues/comments/1
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"id": 1,
"url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
"body": "Me too",
"user": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z"
}
Edit a comment
PATCH /repos/:owner/:repo/issues/comments/:id
Input
- body
- Required string
{
"body": "String"
}
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"id": 1,
"url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
"body": "Me too",
"user": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z"
}
Delete a comment
DELETE /repos/:owner/:repo/issues/comments/:id
Response
Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
Custom media types
These are the supported media types for issue comments. You can read more about the use of media types in the API here.
application/vnd.github.VERSION.raw+json
application/vnd.github.VERSION.text+json
application/vnd.github.VERSION.html+json
application/vnd.github.VERSION.full+json
This website is a public GitHub repository. Please help us by forking the project and adding to it.
Design © 2013 GitHub, Inc. All rights reserved.
Except where otherwise noted, content on this site is licensed under a Creative Commons CC-BY license.