Skip to content

Get an issue's labels

GET
/repos/{owner}/{repo}/issues/{index}/labels
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue

LabelListWithoutPagination - Labels for a specific issue (no pagination headers)

Media type application/json
Array<object>

Label a label to an issue or a pr

object
color
string
description
string
exclusive
boolean
id
integer format: int64
is_archived
boolean
name
string
url
string
Example
[
{
"color": "00aabb",
"exclusive": false,
"is_archived": false
}
]

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}