Missions

创建任务集。Create a mission.

在指定组织下创建一个新的任务集,需关联至少一个仓库。 Create a new mission under the specified organization. At least one repository must be associated. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-resource:rw

post/{slug}/-/missions

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

Path parameters

slugstring required

组织路径。Group slug.

Request body

descriptionstring
namestring
reposstring[]
visibility'public' | 'private'

Response

Created

Changes

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