Merge "add sample of API 'get anomaly rule'"
This commit is contained in:
commit
e97993ee75
@ -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
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
15
api-ref/source/v1/samples/anomaly-detect/get-anomaly-rule-show-response.json
Executable file
15
api-ref/source/v1/samples/anomaly-detect/get-anomaly-rule-show-response.json
Executable file
@ -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"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user