Issues

查询 Issue 评论。List issue comments.

分页查询指定 Issue 下的所有评论列表。支持按创建时间或更新时间进行升序或降序排列。返回结果包含评论内容、作者信息及时间戳等。 Paginate all comments under the specified issue. Supports ascending or descending ordering by creation or update time. Returns comment content, author information, and timestamps. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:r

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

Path parameters

repostring required

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

numberinteger required

Issue唯一标识编号。

Query parameters

sortstring

排序方式。支持 created, updated 升序; -created, -updated 降序

pageinteger

分页页码。Page number.

page_sizeinteger

分页页大小。Page size.

Response

OK

Changes

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