Releases

获取最新版本。Get latest release.

获取指定仓库中最新的正式版本发布。仅返回标记为最新(latest)的版本。如果仓库没有任何符合条件的版本发布,将返回 404 错误。 Get the latest formal release of the specified repository. Only returns the release marked as latest. Returns 404 if the repository has no eligible release. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-release:r

get/{repo}/-/releases/latest

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

Path parameters

repostring required

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

Response

OK

Changes

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