Add api 'update anomaly rule'

Change-Id: I5fccccd5041ba1212a0563a357a7cb2672ac71e3
This commit is contained in:
leiyashuai 2023-08-09 17:24:42 +08:00
parent e7926244a1
commit 5172929f9d

View File

@ -41,6 +41,32 @@ Response
:language: javascript
Update Anomaly Rule
~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v1/anomaly/rule/{id}
Update an anomaly rule.
Request
-------
.. rest_parameters:: parameters.yaml
- id: rule_id
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 1
.. rest_status_code:: error ../status.yaml
- -1
Get anomaly record
~~~~~~~~~~~~~~~~~~