获取标签列表
GET/api/v8/enterprises/:enterprise/labels
Request
Path Parameters
enterprise stringrequired
仓库所属空间地址(企业、组织或个人的地址path)
Query Parameters
access_token string
用户授权码
search string
关键词查询
direction string
排序方向 asc/desc
page string
当前的页码
per_page string
每页的数量,最大为 100,默认 20
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
- Array [
- ]
idinteger
namestring
colorstring
[
{
"id": 0,
"name": "string",
"color": "string"
}
]
{
"id": 382218,
"name": "bug",
"color": "#e03529"
}