Pulls

获取合并请求图片。Get pull request images.

获取与合并请求关联的图片二进制内容。 Returns the binary content of the image. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:r

get/{repo}/-/imgs/pulls/{img_path}

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

Path parameters

repostring required

仓库。Repo.

img_pathstring required

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

Response

OK

Changes

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