GitSettings

查询推送管控设置。Get push control settings.

查询指定仓库的推送管控配置,包括文件大小限制、提交大小限制等推送约束条件。 Get the push control configuration of the specified repository, including file size limit, commit size limit, and other push constraints. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:r

get/{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.

Response

OK

Changes

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