检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
示。 https://codehub-ext.cn-north-1.huaweicloud.com/v1/users/sshkey 为查看方便,在每个具体API的URI部分,只给出resource-path,并将请求方法写在一起。这是因为URI-scheme都是HTTPS,而En
liked_times Integer 模板被点赞次数 creator_name String 模板创建人 https_url String 模板https链接 请求示例 GET https://{endpoint}/v1/repositories/repository_templates
git", "https_url": "https://test.com/testzxq00001/1111111111111.git", "group_name": "testzxq00001", "web_url": "https://test.com
当您处于冻结状态,将会冻结仓库。详情请参考仓库冻结功能约束。 超过宽限期仍未续费将进入保留期,如果保留期内仍未续费,资源或数据将被自动删除。 华为云根据客户等级定义了不同客户的宽限期和保留期时长。 在代码托管服务到期前均可开通自动续费,到期前7日凌晨3:00首次尝试自动续费,如果扣款失
liked_times Integer 模板被点赞次数 creator_name String 模板创建人 https_url String 模板https链接 请求示例 GET https://{endpoint}/v2/repositories/repository-templates
仓库名称 ssh_url String 仓库SSH地址 code_url String 仓库HTTPS地址 detail_url String 仓库预览地址 请求示例 GET https://{endpoint}/v1/projects/{project_uuid}/reposi
仓库名称 ssh_url String 仓库SSH地址 code_url String 仓库HTTPS地址 detail_url String 仓库预览地址 请求示例 GET https://{endpoint}/v2/projects/{project_uuid}/reposi
"httpUrl" : "https://codehub.alpha.devcloud.intest.com/Demo00228/testword.git", "groupName" : "Demo00228", "webUrl" : "https://alpha.devcloud
参数 参数类型 描述 createAt String 创建时间 groupName String 仓库组名 httpUrl String https url id String 仓库uuid 最小长度:32 最大长度:32 name String 仓库名 最小长度:2 最大长度:128
inhuawei.com:Demo00228/testword.git 组名:Demo00228 ) 取值范围: 字符串 https_url String 参数解释: 使用 https 克隆仓库时所使用的 url 取值范围: 字符串 iam_user_uuid String 参数解释: 用户的
devcloud.inhuawei.com:Demo00228/testword.git 组名:Demo00228) httpUrl String https url id String 仓库uuid(由CreateRepository接口返回) 最小长度:32 最大长度:32 name String
Git仓库Url。必填,输入导入源仓的URL地址。 用户名。当源代码仓库为私有时,该参数必填。该参数表示HTTPS克隆代码时的用户名,例如为GitHub的登录名称。 密码或Access Token。当源代码仓库为私有时,该参数必填。该参数表示HTTPS克隆代码时的密码或者Access Token,例如为GitHub的
"https_url" : "https://test.com/Demo00228/CreatRepository_2qD5i.git", "group_name" : "Demo00228", "web_url" : "https://test
必填参数。自定义名称,字符上限为200。 描述 非必填参数。此处描述为空,列表会显示“--”。字符上限为200。 权限 默认勾选且不可修改。读/写仓库:授予使用Https方式,读写访问仓库权限。 失效时间 必填参数。设置Token失效的时间。默认为当前日期的30天之后,包含当天共30天。例如7月3号新建的
com:Demo00228/testword.git 代码组名:Demo00228 ) 取值范围: 字符串长度不少于2,不超过255。 https_url String 参数解释: HTTPS仓库地址。 取值范围: 字符串长度不少于0,不超过2000。 iam_user_uuid String 参数解释:
进入代码托管首页,单击仓库列表中的仓库名进入仓库详情页。 单击右侧导航栏“克隆/下载”按钮,单击“用SSH克隆”获取到SSH协议地址。单击“用HTTPS克隆”获取到HTTPS协议地址。 代码仓库中上传压缩包,是否支持在线解压 不能。暂不支持在线解压缩,建议在本地解压之后使用Git命令上传。 代码仓库是否支持相互转换“私有”或者“公开”
branchCount Integer 参数解释: 分支数量。 archiveUrl String 参数解释: 代码仓下载地址。 请求示例 GET https://{endpoint}/v1/repositories/{repository_uuid}/statistic-data 响应示例 状态码:
选择右上角的“克隆/下载” > “用HTTPS克隆”,复制HTTPS地址。 执行以下命令,将本地代码仓库与CodeArts Repo进行关联,并推送master分支到CodeArts Repo的代码仓库。在执行命令时,需要用户输入CoeArts Repo的HTTPS账号和密码。 git remote
ABCDEFJ....”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 GET https://iam.cn-north-1.huaweicloud.com/v3/auth/projects Content-Type: application/json
POST https://{endpoint}/v1/repositories/{group_name}/{repository_name}/hooks { "service" : 11, "token" : "test", "hook_url" : "https://alpha