Pulls

回复评审评论。Reply to review comment.

对指定合并请求中某次评审的代码行级评论创建回复。回复会出现在该评审评论的对话线程中。创建成功后返回回复评论的详情。 Create a reply to an inline code comment under a review of the specified merge request. The reply will appear in the conversation thread of the review comment. Returns the reply comment details on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:rw

post/{repo}/-/pulls/{number}/reviews/{review_id}/replies

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

Path parameters

repostring required

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

numberinteger required

Pull唯一标识编号。

review_idinteger required

PullReview唯一标识编号。

Request body

bodystring

回复的评论内容。Reply comment content.

reply_to_comment_idstring

父评论ID。Parent comment ID.

work_modeboolean

工作模式标志。Work mode flag.

Response

Created

Changes

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