检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表5 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表4 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表5 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
offset 否 Integer 参数解释: 偏移量,从0开始。 取值范围: 0-2147483647 默认取值: 0 limit 否 Integer 参数解释: 返回数量。 取值范围: 1-100 默认取值: 20 请求参数 表3 请求Header参数 参数 是否必选 参数类型
n String 参数解释: 权限描述 取值范围: “Maintainers”, 项目经理、管理员。 “Developers + Committer + Maintainers”, 开发人员、Committer、项目经理和管理员。 “No one”, 不允许任何人。 请求示例 POST
新建标签(废弃) 功能介绍 新建标签 当前API已经废弃,请使用创建标签。 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v2/repositories
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:404 表6 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
批量删除仓库保护Tag 功能介绍 批量删除仓库保护Tag 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v4/repositories/{reposit
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v2/projects/repositories/fork 请求参数 表1 请求Header参数 参数 是否必选 参数类型
删除仓库保护分支 功能介绍 删除仓库保护分支 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI DELETE /v4/repositories/{repository_
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表5 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
代码提交的日期和时间 committer_name String 提交者名称 committer_email String 提交者邮箱 open_gpg_verified Boolean 是否打开gpg校验 verification_status Integer 验证状态 取值范围: 0-1
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表8 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:404 表9 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表4 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
代码提交的日期和时间 committer_name String 提交者名称 committer_email String 提交者邮箱 open_gpg_verified Boolean 是否打开gpg校验 verification_status Integer 验证状态 取值范围: 0-1
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表6 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
修改被流水线引用的仓库状态 功能介绍 修改被流水线引用的仓库状态 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI PUT /v1/repositories/{repo
获取仓库最近推送事件 功能介绍 获取仓库最近推送事件 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI GET /v4/repositories/{repository
true,开启规则限制。 false,未开启规则限制。 users Array of RepositoryUserDto objects 参数解释: 白名单用户列表。 取值范围: 不涉及。 user_teams Array of UserTeamBasicDto objects 参数解释: