Pulls

添加合并请求处理人。Add pull request assignees.

为指定合并请求添加一个或多个处理人。已分配的处理人不会被替换或重复添加。添加成功后返回合并请求详情。 Add one or more assignees to the specified merge request. Existing assignees will not be replaced or duplicated. Returns merge request details on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:rw

post/{repo}/-/pulls/{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}/-/pulls/{number}/assignees
  • Auth: API key in header Authorization

Path parameters

repostring required

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

numberstring required

Pull唯一标识编号。

Request body

assigneesstring[]

合并请求的处理人用户列表,最多支持8个。Merge request assignee user list (max 8).

Response

Created

Changes

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