CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Fri, 22 Aug 2025 21:03:36 GMT
content-type: text/html
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Sun, 08 Dec 2013 22:17:15 GMT
x-archive-orig-expires: Mon, 09 Dec 2013 08:09:07 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-content-length: 20458
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 09 Dec 2013 07:59:07 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-jfk1034-JFK
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: Mon, 09 Dec 2013 07:59:07 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="Fri, 22 Nov 2013 05:33:45 GMT", ; rel="memento"; datetime="Mon, 09 Dec 2013 07:59:07 GMT", ; rel="next memento"; datetime="Sat, 01 Feb 2014 16:27:24 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: alexa20131210-06/52_37_20131209075736_crawl101.arc.gz
server-timing: captures_list;dur=0.873232, exclusion.robots;dur=0.030920, exclusion.robots.policy;dur=0.012597, esindex;dur=0.014778, cdx.remote;dur=55.135328, LoadShardBlock;dur=591.758706, PetaboxLoader3.resolve;dur=591.767957, PetaboxLoader3.datanode;dur=281.440031, load_resource;dur=380.712211
x-app-server: wwwb-app218
x-ts: 200
x-tr: 1089
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; 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=()
content-encoding: gzip
Issue Labels | GitHub API
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
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.