应用与数据集成平台 ROMA Connect-查看API已绑定的APP列表:响应示例

时间:2023-11-01 16:22:59

响应示例

状态码: 200

OK

{  "total" : 1,  "size" : 1,  "auths" : [ {    "api_id" : "5f918d104dc84480a75166ba99efff21",    "app_name" : "app_demo",    "env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",    "envname" : "RELEASE",    "group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",    "group_name" : "api_group_001",    "api_type" : 1,    "api_name" : "Api_http",    "appid" : "356de8eb7a8742168586e5daf5339965",    "auth_time" : "2020-08-04T04:02:22Z",    "app_creator" : "USER",    "id" : "dd29b33ae4394e3b924b582c6b40880b",    "api_remark" : "Web Api",    "auth_role" : "PROVIDER",    "app_type" : "apig",    "auth_tunnel" : "NORMAL"  } ]}

状态码: 400

Bad Request

{  "error_code" : "APIG.2012",  "error_msg" : "Invalid parameter value,parameterName:app_name. 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.3002",  "error_msg" : "API 5f918d104dc84480a75166ba99efff21 does not exist"}

状态码: 500

Internal Server Error

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