Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

List an organization's labels

GET
/orgs/{org}/labels
curl --request GET \
--url https://gitea.com/api/v1/orgs/example/labels \
--header 'Authorization: Basic <credentials>'
org
required
string

Name of the organization

page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

LabelList

Media typeapplication/json
Array<object>

Label a label to an issue or a pr

object
color
string
description

Description provides additional context about the label’s purpose

string
exclusive
boolean
id

ID is the unique identifier for the label

integer format: int64
is_archived
boolean
name

Name is the display name of the label

string
url

URL is the API endpoint for accessing this label

string format: uri
Example
[
{
"color": "00aabb",
"exclusive": false,
"is_archived": false
}
]

APINotFound is a not found empty response