更新一个仓库的任务标签
PATCH/api/v5/repos/:owner/:repo/labels/:original_name
Request
Path Parameters
owner stringrequired
仓库所属空间地址(企业、组织或个人的地址path)
repo stringrequired
仓库路径(path)
original_name stringrequired
标签原有名称
Query Parameters
access_token stringrequired
用户授权码
name string
标签新名称
color string
标签新颜色
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
idinteger
namestring
colorstring
{
"id": 0,
"name": "string",
"color": "string"
}
{
"id": 12738100,
"name": "list",
"color": "#ED4014"
}