Add anomaly detect api doc

Change-Id: I17201fcd980b0349db04a4d159aaef4e3113c42e
This commit is contained in:
maliangyi 2023-08-08 16:21:46 +08:00
parent 8f09d6e027
commit bcfeb716cb

View File

@ -0,0 +1,33 @@
.. -*- rst -*-
Anomaly Detect
==============
Users can add, delete, modify and query anomaly rules, query and delete anomaly records.
Get anomaly record
~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v1/anomaly/record/list
Get all anomaly records.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 0
.. rest_status_code:: error ../status.yaml
- -1
Response
--------
**Example: JSON response**
.. literalinclude:: ./samples/anomaly-detect/get-anomaly-detect-show-response.json
:language: javascript