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

时间:2024-07-04 15:42:15

响应示例

状态码: 200

OK

{
  "total" : 1,
  "size" : 1,
  "auths" : [ {
    "id" : "dd29b33ae4394e3b924b582c6b40880b",
    "api_id" : "5f918d104dc84480a75166ba99efff21",
    "api_name" : "Api_http",
    "group_name" : "api_group_001",
    "api_type" : 1,
    "api_remark" : "Web backend Api",
    "env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",
    "auth_role" : "PROVIDER",
    "auth_time" : "2020-08-04T04:02:22Z",
    "app_name" : "app_demo",
    "app_remark" : "remark",
    "app_type" : "roma",
    "app_creator" : "USER",
    "publish_id" : "",
    "group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",
    "auth_tunnel" : "NORMAL",
    "auth_whitelist" : [ ],
    "auth_blacklist" : [ ],
    "roma_app_type" : "roma_client",
    "env_name" : "RELEASE",
    "app_id" : "356de8eb7a8742168586e5daf5339965"
  } ]
}

状态码: 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/ListAppsBindedToApiV2.html