检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
code_url:用户模板仓库的 ssh 地址,查询方法参见获取仓库信息。 properties:与生成代码相关的参数列表,根据步骤2的返回结果填写。 使用步骤3获取的任务 id ,调用接口查询任务详情查询任务详情。
表2 Query参数 参数 是否必选 参数类型 描述 repository_ssh_url 是 String 仓库下载地址。 region_id 否 String 区域ID,目前仅支持北京四:cn-north-4及北京一:cn-north-1。
null, "repository_uuid": null, "repository_id": null, "repository_name": null, "https_url": null, "ssh_url
ssh_url String 模板ssh下载路径。 project_uuid String 项目id。 status Integer 模板状态。
String 仓库git的ssh下载地址 web_url String 仓库CodeArts Repo内容浏览页面地址 请求示例 请求uri示例 GET https://{endpoint}/v6/applications?
String 仓库git的ssh下载地址 web_url String CodeArts Repo仓库内容浏览页面地址 请求示例 请求uri示例 GET https://{endpoint}/v3/applications/0633650ed8a7e69212eed4c348eb6b8d
privately 否 Boolean 仓库是否私有 short_id 否 String 仓库短id code_url 是 String 代码存放的ssh地址。