Add anomaly detect api doc
Change-Id: I17201fcd980b0349db04a4d159aaef4e3113c42e
This commit is contained in:
parent
8f09d6e027
commit
bcfeb716cb
33
api-ref/source/v1/anomaly-detect.inc
Normal file
33
api-ref/source/v1/anomaly-detect.inc
Normal 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
|
Loading…
x
Reference in New Issue
Block a user