GitSettings
设置推送管控。Set push control.
设置指定仓库的推送管控配置,可约束单文件大小、单次推送总大小等限制条件,控制仓库的推送行为。 Set the push control configuration of the specified repository. Configurable constraints include single file size limit, total push size limit, etc., to control repository push behavior. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw
put/{repo}/-/settings/push-limit
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}/-/settings/push-limit
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.