Issues
更新 Issue 属性。Update issue properties.
为指定 Issue 批量更新一个或多个自定义属性的值。要求属性 key 必须是仓库中已定义的自定义属性,value 长度不超过 50 个字符。 支持部分成功:如果某些属性更新失败(如 key 不存在),不影响其他属性的更新,最终返回每个属性的更新结果。 Supports partial success: if some property updates fail (e.g., key does not exist), other property updates are not affected. The update result for each property is returned. key 仅支持字母、数字和下划线,长度有上限限制。 Key only supports letters, numbers, and underscores. Length is limited. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-issue:rw
patch/{repo}/-/issues/{number}/property
Request
- Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
- URL: https://api.cnb.cool/{repo}/-/issues/{number}/property
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
numberinteger required
Issue唯一标识编号。
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.