应用与数据集成平台 ROMA CONNECT-查询后端API测试结果:响应示例

时间:2023-11-29 17:31:17

响应示例

状态码: 200

OK

{
  "total" : 1,
  "size" : 1,
  "histories" : [ {
    "ld_api_id" : "bd42841c20184da6bbf457c6d8a06e37",
    "test_date" : "2020-09-19T06:40:52Z",
    "test_id" : 2524356,
    "test_method" : "GET",
    "test_operator" : "73d69ae0cfcf460190522d06b60f05ad",
    "test_request" : "{\"apiUUID\":\"bd42841c20184da6bbf457c6d8a06e37\",\"method\":\"GET\",\"params\":[{\"paramDesc\":\"\",\"paramName\":\"header\",\"paramRequired\":\"0\",\"paramType\":\"Headers\",\"paramValue\":\"test\"}],\"testUrl\":\"/test/function\"}",
    "test_response" : "Hello world!",
    "test_status_code" : "200",
    "test_used_time" : 29
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2011",
  "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.3084",
  "error_msg" : "The livedata API does not exist, id: bd42841c20184da6bbf457c6d8a06e37"
}

状态码: 500

Internal Server Error

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