Issues

更新 Issue 处理人。Update issue assignees.

替换指定 Issue 的处理人列表。与添加接口不同,此操作会使用传入的处理人列表完全覆盖原有列表。适合需要重新设置全部处理人的场景。 Replace the assignees of the specified issue. Unlike the add endpoint, this completely overwrites the existing assignee list. Ideal for scenarios where you need to reset all assignees. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-issue:rw

patch/{repo}/-/issues/{number}/assignees

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}/assignees
  • Auth: API key in header Authorization

Path parameters

repostring required

不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.

numberstring required

Issue唯一标识编号。

Request body

assigneesstring[]

Issue处理人用户名列表,最大限制为8。示例:["zhangsan", "lisi"]

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.