Skip to content

List an organization's labels

GET
/orgs/{org}/labels
org
required
string

Name of the organization

sort
string
Allowed values: mostissues leastissues reversealphabetically

Specifies the sorting method: mostissues, leastissues, or reversealphabetically.

page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

LabelList

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
}
]
X-Total-Count
integer format: int64

The total number of labels

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"
}