Assets
Pulls
Issues

获取 Issue/PR 图片。Get issue/PR images.

获取与 Issue/PR 无关联的图片二进制内容。有关联的图片使用 GetIssueImgs 和 GetPrImgs。 后续版本可能移出 Assets 分类。 This endpoint only retrieves images not associated with any issue or pull request. For associated images, use GetIssueImgs and GetPrImgs. This endpoint may be moved out of the Assets category in future versions. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-code:r

get/{repo}/-/imgs/{imgPath}

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

Path parameters

repostring required

仓库路径。Repository path.

imgPathstring required

图片路径,从完整 URL 中提取的路径部分。Image path extracted from the full URL, e.g. to/img.png.

Response

OK

Changes

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