Pulls

查询评审评论列表。List review comments.

分页查询指定合并请求中某次评审下的所有代码行级评论。返回每条评论的文件路径、行号、内容及作者等信息。 Paginate all inline code comments under a specific review of the specified merge request. Returns the file path, line number, content, and author of each comment. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:r

get/{repo}/-/pulls/{number}/reviews/{review_id}/comments

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}/comments
  • 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唯一标识编号。

Query parameters

pageinteger

分页页码。Page number.

page_sizeinteger

分页页大小。Page size.

Response

OK

Changes

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