CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 07:48:28 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20161114185136
location: https://web.archive.org/web/20161114185136/https://developer.github.com/v3/issues/labels/
server-timing: captures_list;dur=1.753004, exclusion.robots;dur=0.046980, exclusion.robots.policy;dur=0.028042, esindex;dur=0.016509, cdx.remote;dur=24.926186, LoadShardBlock;dur=544.793705, PetaboxLoader3.datanode;dur=404.753353, PetaboxLoader3.resolve;dur=69.624908
x-app-server: wwwb-app28
x-ts: 302
x-tr: 610
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app28; 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: Thu, 28 Aug 2025 07:48:29 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Mon, 14 Nov 2016 05:40:40 GMT
x-archive-orig-access-control-allow-origin: *
x-archive-orig-expires: Mon, 14 Nov 2016 19:01:36 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-x-github-request-id: 17EB2F31:31EC:84A8E40:582A07B8
x-archive-orig-content-length: 46833
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 14 Nov 2016 18:51:36 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-sjc3126-SJC
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1479149496.808787,VS0,VE82
x-archive-orig-vary: Accept-Encoding
x-archive-orig-x-fastly-request-id: 2f6bc57758712781e672d720186541d0bb2511d4
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 14 Nov 2016 18:51:36 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, 26 Oct 2016 14:07:44 GMT", ; rel="memento"; datetime="Mon, 14 Nov 2016 18:51:36 GMT", ; rel="next memento"; datetime="Sat, 04 Feb 2017 21:29: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: ARCHIVEIT-771-QUARTERLY-JOB248887-20161114-00002/ARCHIVEIT-771-QUARTERLY-JOB248887-20161114185127567-00017.warc.gz
server-timing: captures_list;dur=0.715185, exclusion.robots;dur=0.027744, exclusion.robots.policy;dur=0.016812, esindex;dur=0.012727, cdx.remote;dur=44.464219, LoadShardBlock;dur=215.546140, PetaboxLoader3.datanode;dur=171.672245, PetaboxLoader3.resolve;dur=150.724888, load_resource;dur=211.616540
x-app-server: wwwb-app28
x-ts: 200
x-tr: 645
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"
[
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
]
Get a single label
GET /repos/:owner/:repo/labels/:name
Response
Status: 200 OK
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
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
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
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
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
Delete a label
DELETE /repos/:owner/:repo/labels/:name
Response
Status: 204 No Content
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"
[
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
]
Add labels to an issue
POST /repos/:owner/:repo/issues/:number/labels
Input
[
"Label1",
"Label2"
]
Response
Status: 200 OK
[
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
]
Remove a label from an issue
DELETE /repos/:owner/:repo/issues/:number/labels/:name
Response
Status: 204 No Content
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
[
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
]
Remove all labels from an issue
DELETE /repos/:owner/:repo/issues/:number/labels
Response
Status: 204 No Content
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"
[
{
"id": 208045946,
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
"name": "bug",
"color": "f29513",
"default": true
}
]