Pulls
添加合并请求评审人。Add pull request reviewers.
为指定合并请求添加一个或多个评审人。已添加的评审人不会被替换或重复添加。添加成功后返回合并请求详情。 Add one or more reviewers to the specified merge request. Existing reviewers will not be replaced or duplicated. Returns merge request details on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:rw
post/{repo}/-/pulls/{number}/reviewers
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}/reviewers
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
numberstring required
Pull唯一标识编号。
Request body
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.