检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Token认证 Token的有效期为24小时,需要使用一个Token鉴权时,可以先缓存起来,避免频繁调用。 Token在计算机系统中代表令牌(临时)的意思,拥有Token就代表拥有某种权限。Token认证就是在调用API的时候将Token加到请求消息头,从而通过身份认证,获得操作API的权限。
状态码 状态码如表1所示 表1 状态码 状态码 编码 错误码说明 100 Continue 继续请求。 这个临时响应用来通知客户端,它的部分请求已经被服务器接收,且仍未被拒绝。 101 Switching Protocols 切换协议。只能切换到更高级的协议。 例如,切换到HTTP的新版本协议。
Unauthorized { "error_code" : "DEV.00000003", "error_msg" : "认证信息过期" } 状态码: 403 Forbidden { "error_code" : "DEVSTAR.1034", "error_msg"
尽管请求URI包含在请求消息头中,但大多数语言或框架都要求您从请求消息中单独传递它,所以在此单独强调。 URI-scheme:表示用于传输请求的协议,当前所有API均采用HTTPS协议。 Endpoint:指定承载REST服务端点的服务器域名或IP,不同服务不同区域的Endpoint不同,您可以从地区和终端节点中获
Unauthorized { "error_code" : "DEV.00000003", "error_msg" : "认证信息过期" } 状态码: 403 Forbidden { "error_code" : "DEVSTAR.1034", "error_msg"
"repository_id": null, "repository_name": null, "https_url": null, "ssh_url": null, "web_url": null,
String 文件名。 file_path String 文件相对路径。 file_type String 文件类型。 请求示例 GET https://{endpoint}/v1/template/0633650ed8a7e69212eed4c348eb6b8d/files?fil
部署耗时 creator_name String 创建人 created_time String 创建时间 请求示例 创建部署任务 POST https://{endpoint}/v1/applications/658942cfdfdc46ed911bc7006f1364ef/envir
应用描述 icon 否 String 应用图标(传入图片的Base64编码,大小限制15k) 响应参数 无 请求示例 请求uri示例 PUT https://{endpoint}/v3/applications/0633650ed8a7e69212eed4c348eb6b8d { "name"
"对象存储服务", "home_link" : "https://www.huaweicloud.com/product/obs.html", "subscribe_link" : "https://www.huaweicloud.com/product/obs
management_permission Boolean 管理权限 is_stock Boolean 是否是存量项目 请求示例 GET https://{endpoint}/v4/projects?limit=10&offset=0 响应示例 状态码: 200 项目列表 { "projects"
String 仓库名称 https_url String 仓库git的https下载地址 ssh_url String 仓库git的ssh下载地址 web_url String CodeArts Repo仓库内容浏览页面地址 请求示例 请求uri示例 GET https://{endpo
file_type String 文件类型 created String 创建时间 updated String 修改时间 请求示例 GET https://{endpoint}/v1/applications/035265ab4c884312924c08f7a2f88631/release-repositories
模板关联的region host id。 repostory_id String 模板关联的repo id。 code_url String 模板https下载路径。 ssh_url String 模板ssh下载路径。 project_uuid String 项目id。 status Integer
"对象存储服务 OBS", "home_link" : "https://www.huaweicloud.com/product/obs.html", "subscribe_link" : "https://www.huaweicloud.com/product/obs
参数类型 描述 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