Releases

获取版本附件。Get release asset.

根据附件 ID 获取指定版本下单个附件的详细信息,包括文件名、大小、下载地址等。 Get detailed information of a single asset by asset ID under the specified release, including file name, size, and download URL. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-release:r

get/{repo}/-/releases/{release_id}/assets/{asset_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}/-/releases/{release_id}/assets/{asset_id}
  • Auth: API key in header Authorization

Path parameters

repostring required

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

release_idstring required

版本唯一标识符。Version unique identifier.

asset_idstring required

附件唯一标识符。Attachment unique identifier.

Response

OK

Changes

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