Pulls

更新合并请求评论。Update pull request comment.

修改指定合并请求下某条已有评论的内容。仅评论创建者或具有仓库管理权限的用户可执行此操作。更新成功后返回修改后的评论详情。 Update the content of an existing comment in the specified merge request. Only the comment author or users with repository management permissions may perform this operation. Returns the updated comment details on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:rw

patch/{repo}/-/pulls/{number}/comments/{comment_id}

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

Path parameters

repostring required

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

numberstring required

Pull唯一标识编号。

comment_idinteger required

PullComment唯一标识编号。

Request body

bodystring

评论内容。Comment content.

Response

OK

Changes

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