获取仓库所有任务标签
GET/api/v5/repos/:owner/:repo/labels
Request
Path Parameters
owner stringrequired
仓库所属空间地址(企业、组织或个人的地址path)
repo stringrequired
仓库路径(path)
Query Parameters
access_token string
用户授权码
page string
当前的页码
per_page string
每页的数量,最大为 100,默认 100
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- 1
- 2
Schema
- Array [
- ]
idinteger
namestring
colorstring
repository_idinteger
[
{
"id": 0,
"name": "string",
"color": "string",
"repository_id": 0
}
]
成功示例
{
"id": 12738107,
"name": "wontfix",
"color": "#CCCCCC",
"repository_id": 4066481
}
成功示例
{
"id": 12738106,
"name": "question",
"color": "#D876E3",
"repository_id": 4066481
}