Releases
更新版本。Update release.
更新指定版本的基本信息。支持修改版本标题、描述、草稿状态、预发布状态及是否为最新版本等字段。支持部分更新,仅传入需要修改的字段即可。 Update basic information of the specified release. Supports modifying title, description, draft status, prerelease status, and latest release flag. Supports partial updates; only pass the fields that need to be changed. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-release:rw
patch/{repo}/-/releases/{release_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}
- 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.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.