检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
query-string:查询参数,是可选部分,并不是每个API都有查询参数。查询参数前面需要带一个“?”,形式为“参数名=参数取值”,例如“limit=10”,表示查询不超过10条数据。
参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 状态码:
String 错误编码 error_msg String 错误原因 状态码: 403 表7 响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 状态码: 404 表8 响应Body参数 参数 参数类型
4 响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因
home_link String 首页链接。 subscribe_link String 开通链接。 subscribe_guide String 开通指导。 type String 服务类型。 reference_price String 参考价格。
表3 RepositoryInfo 参数 是否必选 参数类型 描述 name 否 String 代码仓的名称。 description 否 String 代码仓描述。 project_id 否 String 项目id。 region_id 否 String 区域id。
String 软件包下载地址 size String 软件包大小 category_name String 软件包类型名称 file_type String 文件类型 created String 创建时间 updated String 修改时间 请求示例 GET https:/
description 否 String 代码仓描述。 project_id 否 String 项目id。 region_id 否 String 区域id。 gitignore 否 String 根据编程语言生成gitignore文件。
String Git库容量 last_commit_time String 近一次提交时间 code_lines Integer 代码行数 branch_number Integer 分支数量 detail_url String 代码仓路径url download_url String
description String 描述。 home_link String 首页链接。 subscribe_link String 开通链接。 subscribe_guide String 开通指导。 type String 服务类型。
environment_tag 是 String 环境标识,从 应用详情接口 返回报文中的环境信息获取。
encoding String 内容编码格式(固定base64)。 file_name String 文件名。 file_path String 文件相对路径。 file_type String 文件类型。
description String 模板的描述信息。 region_id String 模板关联的region host id。 repostory_id String 模板关联的repo id。 code_url String 模板https下载路径。
表4 TemplateSimpleInfo 参数 参数类型 描述 id String 模板id。 title String 模板名。 description String 模板描述。 请求示例 GET https://{endpoint}/v1/templates?
应用id environment_tag 是 String 环境标识,从 应用详情接口 返回报文中的环境信息获取。
否 String 语言类型 中文:zh-cn 英文:en-us 表3 请求Body参数 参数 是否必选 参数类型 描述 name 否 String 应用名称 description 否 String 应用描述 icon 否 String 应用图标(传入图片的Base64编码,大小限制
Array of ProjectV3 objects 项目列表 count Integer 总数 表4 ProjectV3 参数 参数类型 描述 project_id String 项目id name String 项目名 region_id String 区域编码 region_name
project_id": "string", "region_id": "string" }, "repo_type": "0", "template_id": "string" } 您需要指定如下参数: application_name:自定义应用名称
表4 TemplateViewHistory 参数 参数类型 描述 template_id String 模板的id。 template_title String 模板的名称。
表4 TemplateViewHistory 参数 参数类型 描述 template_id String 模板的id。 template_title String 模板的名称。