CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 04:25:39 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20131122053345
location: https://web.archive.org/web/20131122053345/https://developer.github.com/v3/issues/labels
server-timing: captures_list;dur=0.506343, exclusion.robots;dur=0.019866, exclusion.robots.policy;dur=0.012411, esindex;dur=0.011452, cdx.remote;dur=31.212731, LoadShardBlock;dur=247.598095, PetaboxLoader3.datanode;dur=123.278914, PetaboxLoader3.resolve;dur=90.291075
x-app-server: wwwb-app202
x-ts: 302
x-tr: 308
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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, 23 Aug 2025 04:25:39 GMT
content-type: text/html
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Thu, 21 Nov 2013 11:36:28 GMT
x-archive-orig-expires: Fri, 22 Nov 2013 05:43:45 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-content-length: 20349
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Fri, 22 Nov 2013 05:33:45 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-v44-ASH
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-vary: Accept-Encoding
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 22 Nov 2013 05:33:45 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="Wed, 09 Oct 2013 02:50:28 GMT", ; rel="memento"; datetime="Fri, 22 Nov 2013 05:33:45 GMT", ; rel="next memento"; datetime="Mon, 09 Dec 2013 07:59:07 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: alexa20131122-22/51_37_20131122053132_crawl101.arc.gz
server-timing: captures_list;dur=0.871005, exclusion.robots;dur=0.042906, exclusion.robots.policy;dur=0.024176, esindex;dur=0.018661, cdx.remote;dur=23.668941, LoadShardBlock;dur=310.000545, PetaboxLoader3.resolve;dur=199.886630, PetaboxLoader3.datanode;dur=219.489732, load_resource;dur=134.005498
x-app-server: wwwb-app202
x-ts: 200
x-tr: 532
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 API
Labels API
- 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
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": "API",
"color": "FFFFFF"
}
Response
Status: 201 Created
Location: https://api.github.com/repos/user/repo/labels/foo
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 |
Required. The name of the label. |
color |
string |
Required. A 6 character hex code, without the leading # , identifying the color. |
{
"name": "API",
"color": "FFFFFF"
}
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
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
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.