应用与数据集成平台 ROMA CONNECT-查看签名密钥未绑定的API列表:响应示例

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

响应示例

状态码: 200

OK

{
  "total" : 1,
  "size" : 1,
  "apis" : [ {
    "run_env_name" : "RELEASE",
    "group_name" : "api_group_001",
    "remark" : "Mock backend API",
    "publish_id" : "9f27d1dc4f4242a9abf88e563dbfc33d",
    "group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",
    "name" : "Api_mock",
    "run_env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",
    "id" : "3a955b791bd24b1c9cd94c745f8d1aad",
    "type" : 1,
    "auth_type" : "IAM",
    "req_uri" : "/test/mock",
    "signature_name" : ""
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2012",
  "error_msg" : "Invalid parameter value,parameterName:api_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.3017",
  "error_msg" : "Signature key 0b0e8f456b8742218af75f945307173c does not exist"
}

状态码: 500

Internal Server Error

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