Issues

批量查询 Issue。Batch get issues.

根据 Issue 编号列表批量查询指定仓库中的多个 Issue 概要信息(不含正文内容),一次最多支持 100 个编号。返回顺序未定义,调用方需按 number 自行组装。 Batch get summary information of multiple issues in the specified repository by their numbers (body content is not included). A maximum of 100 numbers per request. Response order is unspecified; callers should key results by number. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-issue:r

get/{repo}/-/issues/batch

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/batch
  • Auth: API key in header Authorization

Path parameters

repostring required

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

Query parameters

numbersinteger[] required

Issue 编号列表,多个编号用英文逗号分隔,一次最多 100 个。示例:?numbers=1,2,3。Issue number list, comma-separated; up to 100 per request. Example: ?numbers=1,2,3.

Response

OK

Changes

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