Pulls

获取合并请求评论。Get pull request comment.

根据评论 ID 获取指定合并请求下的单条评论详情,包括评论内容、作者信息及创建/更新时间等。 Get details of a single comment in the specified merge request by comment ID, including comment content, author information, and creation/update time. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:r

get/{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唯一标识编号。

Response

OK

Changes

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