应用与数据集成平台 ROMA Connect-查询插件下绑定的API:响应示例

时间:2025-01-26 10:37:25

响应示例

状态码: 200

OK

{  "total" : 1,  "size" : 1,  "apis" : [ {    "api_id" : "8aa097b00e9843efabc9c593d11b769d",    "api_name" : "测试API",    "type" : 1,    "req_protocol" : "HTTP",    "req_method" : "GET",    "req_uri" : "/test",    "auth_type" : " IAM ",    "match_mode" : "NORMAL",    "remark" : "API描述",    "group_id" : "b9be707660c5406394f8973e087bae20",    "group_name" : "DEFAULT",    "roma_app_id" : "82a9a3c3-781f-440a-ae4b-fb0cc88e22c8",    "plugin_attach_id" : "8aa097b00e9843efacb9c593d11b769e",    "publish_id" : "4739b3s5b729aa2237ef0d66dc635276",    "env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",    "env_name" : "RELEASE",    "attached_time" : "2022-11-02T12:31:23.353Z"  } ]}

状态码: 400

Bad Request

{  "error_code" : "APIG.2012",  "error_msg" : "Invalid parameter value,parameterName:instance_id. Please refer to the support documentation"}

状态码: 401

Unauthorized

{  "error_code" : "APIG.1002",  "error_msg" : "Incorrect token or token resolution failed"}

状态码: 403

Forbidden

{  "error_code" : "APIG.1005",  "error_msg" : "No permissions to request this method"}

状态码: 404

Not Found

{  "error_code" : "APIG.3068",  "error_msg" : "Plugin b294018ee0554156a875b3513e02e5b9 does not exist"}

状态码: 500

Internal Server Error

{  "error_code" : "APIG.9999",  "error_msg" : "System error"}
support.huaweicloud.com/api-roma/ListPluginAttachedApis.html