Pulls

检查用户可分配性。Check user assignability.

检查指定用户是否可被添加为合并请求的处理人。若用户具有被分配的资格,返回 204 状态码;否则返回 404 错误。可在添加处理人前进行前置校验。 Check whether the specified user can be added as an assignee to the merge request. Returns 204 if the user is eligible; otherwise returns 404. Can be used for pre-validation before adding assignees. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:r

get/{repo}/-/pulls/{number}/assignees/{assignee}

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

Path parameters

repostring required

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

numberstring required

Pull唯一标识编号。

assigneestring required

待检查的处理人用户名。Username of the assignee to check.

Response

No Content

Changes

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