Build

同步分支定时任务。Sync branch crontab tasks.

将指定分支下的定时触发配置同步到构建系统。 Sync the cron trigger configuration under a specific branch to the build system. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-trigger:rw

post/{repo}/-/build/crontab/sync/{branch}

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}/-/build/crontab/sync/{branch}
  • Auth: API key in header Authorization

Path parameters

repostring required

仓库。Repo.

branchstring required

分支名称。Branch.

Response

OK

Changes

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