CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 25 Aug 2025 12:37:10 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20160730070708
location: https://web.archive.org/web/20160730070708/https://developer.github.com/v3/issues/labels
server-timing: captures_list;dur=0.527088, exclusion.robots;dur=0.019623, exclusion.robots.policy;dur=0.009332, esindex;dur=0.011949, cdx.remote;dur=44.013131, LoadShardBlock;dur=180.600336, PetaboxLoader3.datanode;dur=107.402889
x-app-server: wwwb-app216
x-ts: 302
x-tr: 257
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app216; 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 302
server: nginx
date: Mon, 25 Aug 2025 12:37:11 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20160702001751
location: https://web.archive.org/web/20160702001751/https://developer.github.com/v3/issues/labels/
server-timing: captures_list;dur=0.982402, exclusion.robots;dur=0.032606, exclusion.robots.policy;dur=0.014016, esindex;dur=0.020105, cdx.remote;dur=23.716772, LoadShardBlock;dur=41.169871, PetaboxLoader3.datanode;dur=179.131750, load_resource;dur=843.896858, PetaboxLoader3.resolve;dur=616.488412
x-app-server: wwwb-app216
x-ts: 302
x-tr: 965
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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: Mon, 25 Aug 2025 12:37:12 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Thu, 30 Jun 2016 19:36:11 GMT
x-archive-orig-access-control-allow-origin: *
x-archive-orig-expires: Sat, 02 Jul 2016 00:27:51 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-x-github-request-id: 17EB2F22:6B6B:D1EF4:5777082F
x-archive-orig-content-length: 28219
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Sat, 02 Jul 2016 00:17:52 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-sjc3634-SJC
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-vary: Accept-Encoding
x-archive-orig-x-fastly-request-id: 36278a4e12332d896349076a47c0f769502efb73
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 02 Jul 2016 00:17:51 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 05 May 2011 06:16:22 GMT", ; rel="prev memento"; datetime="Tue, 24 May 2016 05:59:47 GMT", ; rel="memento"; datetime="Sat, 02 Jul 2016 00:17:51 GMT", ; rel="next memento"; datetime="Sat, 02 Jul 2016 06:12:02 GMT", ; rel="last memento"; datetime="Sat, 26 Jul 2025 13:00:46 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: HNEWS-20160702000705-crawl890/HNEWS-20160702001255-04292.warc.gz
server-timing: captures_list;dur=0.958133, exclusion.robots;dur=0.133613, exclusion.robots.policy;dur=0.013692, esindex;dur=0.015710, cdx.remote;dur=40.319854, LoadShardBlock;dur=112.361819, PetaboxLoader3.datanode;dur=92.713924, load_resource;dur=85.059799, PetaboxLoader3.resolve;dur=48.684556
x-app-server: wwwb-app216
x-ts: 200
x-tr: 332
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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 Labels | GitHub Developer Guide
Labels
- List all labels for this repository
- Get a single label
- Create a label
- Update a label
- Delete a label
- List labels on an issue
- Add labels to an issue
- Remove a label from an issue
- Replace all labels for an issue
- Remove all labels from an issue
- Get labels for every issue in a milestone
List all labels for this repository
GET /repos/:owner/:repo/labels
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
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
]
Get a single label
GET /repos/:owner/:repo/labels/:name
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
Create a label
POST /repos/:owner/:repo/labels
Parameters
Name | Type | Description |
---|---|---|
name |
string |
Required. The name of the label. |
color |
string |
Required. A 6 character hex code, without the leading # , identifying the color. |
{
"name": "bug",
"color": "f29513"
}
Response
Status: 201 Created
Location: https://api.github.com/repos/octocat/Hello-World/labels/bug
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
Update a label
PATCH /repos/:owner/:repo/labels/:name
Parameters
Name | Type | Description |
---|---|---|
name |
string |
The name of the label. |
color |
string |
A 6 character hex code, without the leading # , identifying the color. |
{
"name": "bug",
"color": "f29513"
}
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
Delete a label
DELETE /repos/:owner/:repo/labels/:name
Response
Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
List labels on an issue
GET /repos/:owner/:repo/issues/:number/labels
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
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
]
Add labels to an issue
POST /repos/:owner/:repo/issues/:number/labels
Input
[
"Label1",
"Label2"
]
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
]
Remove a label from an issue
DELETE /repos/:owner/:repo/issues/:number/labels/:name
Response
Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
Replace all labels for an issue
PUT /repos/:owner/:repo/issues/:number/labels
Input
[
"Label1",
"Label2"
]
Sending an empty array ([]
) will remove all Labels from the Issue.
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
]
Remove all labels from an issue
DELETE /repos/:owner/:repo/issues/:number/labels
Response
Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
Get labels for every issue in a milestone
GET /repos/:owner/:repo/milestones/:number/labels
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
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513"
}
]
This website is a public GitHub repository. Please help us by forking the project and adding to it.