检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
String 提交时间 committer_name String 提交者 id String 提交id message String 提交信息 short_id String 提交短id title String 提交标题 表9 DivergingCommitCounts 参数
最大长度:128 projectId String 项目的uuid 最小长度:32 最大长度:32 projectIsDelete String 项目是否被删除 repoId String 仓库主键id 最小长度:1 最大长度:40 sshUrl String ssh url visibilityLevel
String sha256编码的文件内容 ref String 分支名 blob_id String blob sha commit_id String 提交对应的SHA id last_commit_id String 最后一个提交对应的SHA id content String
是 String 分支名 请求参数 表3 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。
String 是否允许下载代码 upload_flag String 是否允许提交代码 remark String 备注 响应参数 状态码: 200 表4 响应Body参数(array) 参数 参数类型 描述 id String 关联结果 repository_id Integer
SHA id created_at String 创建时间 title String 提交标题 parent_ids Array of strings 父提交id message String 提交信息 author_name String 作者 committer_name String
作者邮箱 author_name String 作者 authored_date String 作者提交时间 committed_date String 提交时间 committer_email String 提交作者邮箱 committer_name String 提交作者 format
作者邮箱 author_name String 作者 authored_date String 作者提交时间 committed_date String 提交时间 committer_email String 提交作者邮箱 committer_name String 提交作者 format
描述 id String 参数解释: 提交对应的SHA id short_id String 参数解释: 提交对应的短SHA id title String 参数解释: 提交标题 author_name String 参数解释: 作者 author_email String 参数解释
String 错误码 message String 错误信息 表6 FilesResponseInfo 参数 参数类型 描述 file_name String 文件名称 file_path String 文件路径 size String 文件大小 encoding String
name String 参数解释: 用户名。 state String 参数解释: 用户状态。 username String 参数解释: 用户IAM ID。 avatar_url String 参数解释: 头像url。 web_url String 参数解释: 主页url。
String 响应状态 表6 Error 参数 参数类型 描述 code String 错误码 message String 错误信息 表7 Result 参数 参数类型 描述 id Integer 审核人ID name String 审核人名称 username String
String 创建时间 groupName String 仓库组名 httpUrl String https url id String 仓库uuid 最小长度:32 最大长度:32 name String 仓库名 最小长度:2 最大长度:128 projectId String
表3 请求Body参数 参数 是否必选 参数类型 描述 template_type 是 String 模板类型 code_title 否 String 代码模板名称 creator_name 否 String 创建者名称 code_description 否 String 代码模板描述
String 错误码 message String 错误信息 表6 Key 参数 参数类型 描述 can_push Boolean 是否允许推送 created_at String 部署密钥新建时间 key String 部署密钥 key_id String 部署密钥id 最小长度
参数 参数类型 描述 uuid String 仓库的uuid repo_id String 仓库ID repo_name String 仓库名称 ssh_url String 仓库SSH地址 code_url String 仓库HTTPS地址 detail_url String
响应参数 状态码: 201 表4 响应Body参数 参数 参数类型 描述 description String 代码组描述信息 full_path String 代码组全名 id Integer 代码组ID name String 错误码 visibility String 可见性
文件编码 content_sha256 String sha256编码的文件内容 ref String 分支名 blob_id String blob sha commit_id String 提交对应的SHA id last_commit_id String 最后一个提交对应的
file_path String 参数解释: 文件路径。 md5 String 参数解释: MD5。 type String 参数解释: 存储类型。 表8 Commit 参数 参数类型 描述 author_email String 参数解释: 作者邮箱。
响应参数 状态码: 200 表3 响应Header 参数 参数类型 描述 X-Total String 当前请求的结果总条数 表4 响应Body参数(array) 参数 参数类型 描述 id String 关联结果 user_id Integer 用户ID domain_id String