检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
-95b0-4a56-904e-a3cdc422f8e9", "name": "查询分组列表", "type": 1, "remark": "查询分组列表", "group_id": "73c58022-f20d-495a-a188-85d718647f09",
-95b0-4a56-904e-a3cdc422f8e9", "name": "查询分组列表", "remark": "查询分组列表", "group_id": "73c58022-f20d-495a-a188-85d718647f09", "group_name"
-95b0-4a56-904e-a3cdc422f8e9", "name": "查询分组列表", "type": 1, "remark": "查询分组列表", "group_id": "73c58022-f20d-495a-a188-85d718647f09",
No permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3068", "error_msg" : "Plugin b294018ee0554156a875b3513e02e5b9
", "api_name" : "Api_mock", "env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID", "version_id" : "632b2c9e022941969af9a1d45735ae2c", "
错误描述 状态码: 500 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 无 响应示例 状态码: 200 OK { "app_id" : "9ed8b7fe84224de681e7d7a5587e76dc
test/function" }, { "auth_type" : "APP", "run_env_name" : "RELEASE", "group_name" : "APIGroup_d3da", "publish_id" : "ca2631e233a74a758744ae1e19cc5ad7
-95b0-4a56-904e-a3cdc422f8e9", "name": "查询分组列表", "remark": "查询分组列表", "group_id": "73c58022-f20d-495a-a188-85d718647f09", "group_name"
{ "id": "41e08fbaca9f4d64bde467d0dd89ff51", "name": "aaa", "status": 1, "sl_domain": "41e08fbaca9f4d64bde467d0dd89ff51.example.cloudapis.com
permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3005", "error_msg" : "Request throttling policy 3437448ad06f4e0c91a224183116e965
"body_remark": "market_api01", "result_normal_sample": "success", "result_failure_sample": "", "id": "0e51b689e0784bc884f43756bbf34fa5
"app_acl_values" : [ "192.168.0.1", "192.168.0.5-192.168.0.10", "192.168.0.100/28" ] } 响应示例 状态码: 201 Ok { "app_id" : "9ed8b7fe84224de681e7d7a5587e76dc
", "name": "api_group_001", "status": 1, "sl_domain": "0e91b83b-0774-4e8e-b187-2d695ed4743b.apigw.example.com", "remark": "分组1", "register_time
"); request.setBody("demo"); } catch (Exception e) { e.printStackTrace(); return; } 对请求进行签名,生成okhttp3.Request对象来访问API。
请求消息 表3 参数说明 参数 类型 说明 acl_id String ACL策略编号 publish_ids []String API发布记录编号 请求消息样例: { "acl_id": "206bb985d8a04ec09f13c3e51ef77095", "publish_ids
", "name": "api_group_001", "status": 1, "sl_domain": "0e91b83b-0774-4e8e-b187-2d695ed4743b.apigw.example.com", "remark": "分组001", "register_time
No permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3068", "error_msg" : "Plugin b294018ee0554156a875b3513e02e5b9
1 2 3 HttpRequest r = new HttpRequest("POST", new Uri("https://c967a237-cd6c-470e-906f-a8655461897e.apigw.exampleRegion.com
No permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3068", "error_msg" : "Plugin b294018ee0554156a875b3513e02e5b9
cca3616af3684b329064b2a631cb3eeb", "group_id": "73c58022f20d495aa18885d718647f09", "variable_name": "port", "variable_value": "8080" }, { "id": "104185e53e8f4c63a7e5ef4117bf870c