diff --git a/api-ref/source/v1/anomaly-detect.inc b/api-ref/source/v1/anomaly-detect.inc index d1c8a68..9430570 100644 --- a/api-ref/source/v1/anomaly-detect.inc +++ b/api-ref/source/v1/anomaly-detect.inc @@ -31,6 +31,15 @@ Response codes - -1 +Response +-------- + +**Example Get An Anomaly Rule response:** + + +.. literalinclude:: ./samples/anomaly-detect/get-anomaly-rule-show-response.json + :language: javascript + Get anomaly record ~~~~~~~~~~~~~~~~~~ diff --git a/api-ref/source/v1/samples/anomaly-detect/get-anomaly-rule-show-response.json b/api-ref/source/v1/samples/anomaly-detect/get-anomaly-rule-show-response.json new file mode 100755 index 0000000..af7db18 --- /dev/null +++ b/api-ref/source/v1/samples/anomaly-detect/get-anomaly-rule-show-response.json @@ -0,0 +1,15 @@ +{ + "code": 0, + "msg": "OK", + "rule": { + "id": "152f637bbd5646ab8e69313512514c4c" + "title": "\u6d4b\u8bd5\u89c4\u5219", + "desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219", + "keyword": "Running periodic task", + "log_type": "flog", + "module": "venus", + "flag": 1, + "create_time": "2023-08-01T03:24:24.000000", + "update_time": "2023-08-01T03:24:24.000000" + } +}