Repositories

更新仓库信息。Update repository information.

可更新的内容为:仓库简介、仓库站点、仓库主题、开源许可证。 Updatable fields: repository description, site, topic, and open source license. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw

patch/{repo}

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

Path parameters

repostring required

仓库路径。Repo path.

Request body

descriptionstring

仓库描述。Repository description.

licensestring

仓库开源协议。Repository license.

sitestring

仓库主页。Repository site.

topicsstring[]

仓库主题标签。Repository topic tags.

Response

OK

Changes

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