检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
您可以在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 参数解释:
功能介绍 判断仓库名在该项目下是否存在,一般在创建仓库前调用作为校验使用。 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI GET /v1/projects/{pro
更新仓库镜像信息 功能介绍 更新仓库镜像信息 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI PUT /v4/repositories/{repository_id}/remote-mirror
参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String 参数解释: 错误信息。 状态码:403 表6 响应Body参数 参数 参数类型 描述 error_code String 参数解释: 错误码。 error_msg String
参数 参数类型 描述 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
下载仓库 功能介绍 按照指定格式下载仓库 当前API已经废弃,请使用仓库下载。 调试 您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI GET /v2/repositories/
代码提交的日期和时间 committer_name String 提交者名称 committer_email String 提交者邮箱 open_gpg_verified Boolean 是否打开gpg校验 verification_status Integer 验证状态 取值范围: 0-1