List all labels for a repository
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/labels \
--header 'Authorization: <api-key>'[
{
"id": 123,
"name": "<string>",
"color": "<string>",
"url": "<string>"
}
]Issues
List all labels for a repository
GET
/
repos
/
{owner}
/
{repo}
/
labels
List all labels for a repository
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/labels \
--header 'Authorization: <api-key>'[
{
"id": 123,
"name": "<string>",
"color": "<string>",
"url": "<string>"
}
]