检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
String 仓库名称 https_url String 仓库git的https下载地址 ssh_url String 仓库git的ssh下载地址 web_url String CodeArts Repo仓库内容浏览页面地址 请求示例 请求uri示例 GET https://{endpo
String 阶段名称 status String 阶段状态 result String 阶段执行结果 请求示例 请求uri示例 GET https://{endpoint}/v2/pipelines/03bfdd95eb694bf6bbd80cb14d9bd1c8/status 响应示例
String 仓库名称 https_url String 仓库git的https下载地址 ssh_url String 仓库git的ssh下载地址 web_url String 仓库CodeArts Repo内容浏览页面地址 请求示例 请求uri示例 GET https://{endpo
状态码: 200 表4 响应Body参数 参数 参数类型 描述 url String CodeArts IDE Online打开链接:https://xxx/cloudide/loading?instanceId=xxx&scmUrl=xxx 状态码: 400 表5 响应Body参数
"对象存储服务", "home_link" : "https://www.huaweicloud.com/product/obs.html", "subscribe_link" : "https://www.huaweicloud.com/product/obs
参数 参数类型 描述 id String 流水线id result String 流水线操作成功 请求示例 请求uri示例 POST https://{endpoint}/v2/pipelines/3633650ed8a7e69513eed4c348eb6b8d/start 响应示例
对应请求消息头,响应同样也有消息头,如“Content-type”。 对于获取用户Token接口,返回如图1所示的消息头,其中“x-subject-token”就是需要获取的用户Token。有了Token之后,您就可以使用Token认证调用其他API。 图1 获取用户Token响应消息头 响应消息体 响应
响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 请求示例 POST https://{endpoint}/v1/templates/query { "category" : [ "f6662a3f1e9b11eca72efa163e776c82"
id String 模板id。 title String 模板名。 description String 模板描述。 请求示例 GET https://{endpoint}/v1/templates?keyword=test&limit=10&offset=0 响应示例 状态码: 200
应用描述 icon 否 String 应用图标(传入图片的Base64编码,大小限制15k) 响应参数 无 请求示例 请求uri示例 PUT https://{endpoint}/v3/applications/0633650ed8a7e69212eed4c348eb6b8d { "name"
描述 error_code String 错误编码 error_msg String 错误原因 请求示例 请求uri示例 DELETE https://{endpoint}/v4/applications/0633650ed8a7e69212eed4c348eb6b8d?is_de
management_permission Boolean 管理权限 is_stock Boolean 是否是存量项目 请求示例 GET https://{endpoint}/v4/projects?limit=10&offset=0 响应示例 状态码: 200 项目列表 { "projects"
参数类型 描述 error_code String 错误编码 error_msg String 错误原因 请求示例 请求uri示例 GET https://{endpoint}/v1/pipeline-templates?offset=0&limit=10®ion_id=cn-north-4
参数类型 描述 error_code String 错误编码 error_msg String 错误原因 请求示例 请求uri示例 GET https://{endpoint}/v1/application-resources/0633650ed8a7e69212eed4c348eb6b8d/delete-status
creator_name String 创建人 created_time String 创建时间 请求示例 查询应用环境部署任务详情 GET https://{endpoint}/v1/applications/658942cfdfdc46ed911bc7006f1364ef/envir
String 文件名。 file_path String 文件相对路径。 file_type String 文件类型。 请求示例 GET https://{endpoint}/v1/template/0633650ed8a7e69212eed4c348eb6b8d/files?fil
响应Body参数 参数 参数类型 描述 error_code String 错误编码 error_msg String 错误原因 请求示例 POST https://{endpoint}/v1/check-repository-duplicate-name?region_id=cn-north-
"repository_id": null, "repository_name": null, "https_url": null, "ssh_url": null, "web_url": null,
模板关联的region host id。 repostory_id String 模板关联的repo id。 code_url String 模板https下载路径。 ssh_url String 模板ssh下载路径。 project_uuid String 项目id。 status Integer
parameter. 非法参数 请联系技术支持 400 DEVSTAR.1004 Invalid domain ID. domain id无效 请参考 https://support.huaweicloud.com/api-iam/iam_17_0002.html 400 DEVSTAR.1005