跳到主要内容

获取项目推送规则

GET 

/api/v5/repos/:owner/:repo/push_config

Request​

Path Parameters

    owner stringrequired

    仓库所属空间地址(组织或个人的地址path)

    repo stringrequired

    仓库路径(path)

Query Parameters

    access_token stringrequired

    用户授权码

Responses​

成功响应

Response Headers
    Schema
      reject_not_signed_by_gpginteger
      deny_force_pushinteger
      max_file_sizeinteger
      skip_rule_for_ownerinteger