Repositories

创建仓库。Create repositories.

在指定组织下创建一个新仓库。 Create a new repository under the specified organization. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-resource:rw

post/{slug}/-/repos

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

Path parameters

slugstring required

组织路径。Group slug.

Request body

descriptionstring
namestring
visibility'public' | 'private' | 'secret'

Response

Created

Changes

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