{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"DebugRuleRequestBody":{"example":{"test_data":"{\"0\":\"1\",\"1\":\"2\"}","test_rule_express":"select key1 from '/v1/324qwd24e2/datas'"},"properties":{"test_data":{"description":"测试的被规则执行的数据","maxLength":2000,"minLength":0,"type":"string"},"test_rule_express":{"description":"测试的规则","maxLength":2000,"minLength":0,"type":"string"}}},"DebugRuleResponseBody":{"example":{"test_result":"\"{\"0\":\"1\"}\""},"properties":{"test_result":{"description":"规则测试输出结果","maxLength":2000,"minLength":0,"type":"string"}}},"Error":{"properties":{"error_code":{"description":"系统错误码,针对4xx和5xx类HTTP错误码的详细错误码","maxLength":64,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述","maxLength":200,"minLength":0,"type":"string"},"request_id":{"description":"消息ID","maxLength":64,"minLength":0,"type":"string"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"6abec8e8d86e4f43ad8d95ab58561867","info_version":"v2","method":"post","name":"DebugRule","parameters":{"instance_id":{"description":"实例ID","in":"path","maxLength":36,"minLength":0,"name":"instance_id","required":true,"type":"string"},"project_id":{"description":"项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。","in":"path","maxLength":32,"minLength":0,"name":"project_id","required":true,"type":"string"}},"paths":{"/v2/{project_id}/link/instances/{instance_id}/rule-test":{"post":{"description":"规则调试","operationId":"DebugRule","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/instance_id"},{"description":"规则调试请求对象","in":"body","name":"DebugRuleRequestBody","required":true,"schema":{"$ref":"#/definitions/DebugRuleRequestBody"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebugRuleResponseBody"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/Error"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/Error"}}},"summary":"规则调试","tags":["规则引擎"],"x-apigateway-request-type":"public","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"规则调试","tags":"规则引擎","uri":null,"version":"2.0"}