sort api in index.rst & fix status code & add response json of two apis
Change-Id: Iba1ed8ab01bb0a148e78beb388bccb3cacd93f1c
This commit is contained in:
parent
3720f31587
commit
3be9f638f7
@ -1,7 +1,7 @@
|
|||||||
0:
|
1:
|
||||||
default: |
|
default: |
|
||||||
Request was successful.
|
Request was successful.
|
||||||
1:
|
0:
|
||||||
default: |
|
default: |
|
||||||
Request was successful, but no data caused by some reasons.
|
Request was successful, but no data caused by some reasons.
|
||||||
-1:
|
-1:
|
||||||
|
@ -15,7 +15,7 @@ Response codes
|
|||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 0
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Response codes
|
|||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 0
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ OpenStack Log API V1 (CURRENT)
|
|||||||
.. search log document.
|
.. search log document.
|
||||||
.. include:: search-params.inc
|
.. include:: search-params.inc
|
||||||
.. include:: search-logs.inc
|
.. include:: search-logs.inc
|
||||||
.. include:: search-analyse-logs.inc
|
|
||||||
.. include:: search-logs-download.inc
|
.. include:: search-logs-download.inc
|
||||||
.. include:: search-instance-callchain.inc
|
.. include:: search-analyse-logs.inc
|
||||||
.. include:: search-typical-logs.inc
|
.. include:: search-typical-logs.inc
|
||||||
.. include:: search-instance-requestids.inc
|
.. include:: search-instance-requestids.inc
|
||||||
|
.. include:: search-instance-callchain.inc
|
||||||
|
@ -13,16 +13,13 @@ Search host_name, module_name,program_name,level more informations for all Venus
|
|||||||
Response codes
|
Response codes
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
|
||||||
|
|
||||||
- 0
|
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 1
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
Response
|
Response
|
||||||
|
@ -13,16 +13,13 @@ Search nova-api, nova-conductor, nova-scheduler and nova-compute informations fo
|
|||||||
Response codes
|
Response codes
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
|
||||||
|
|
||||||
- 0
|
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 1
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
Response
|
Response
|
||||||
|
@ -15,8 +15,18 @@ Response codes
|
|||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 0
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Example: JSON request**
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ./samples/search-log/search-instance-request-ids-show-response.json
|
||||||
|
:language: javascript
|
||||||
|
@ -13,16 +13,13 @@ Download the search logs of all Venus modules.
|
|||||||
Response codes
|
Response codes
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
|
||||||
|
|
||||||
- 0
|
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 1
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
Response
|
Response
|
||||||
|
@ -13,16 +13,13 @@ List host_name, module_name,program_name,level more informations for all Venus m
|
|||||||
Response codes
|
Response codes
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
|
||||||
|
|
||||||
- 0
|
|
||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 1
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
Response
|
Response
|
||||||
|
@ -15,8 +15,18 @@ Response codes
|
|||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 0
|
- 1
|
||||||
|
|
||||||
.. rest_status_code:: error ../status.yaml
|
.. rest_status_code:: error ../status.yaml
|
||||||
|
|
||||||
|
- 0
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Example: JSON request**
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ./samples/search-log/search-typical-logs-show-response.json
|
||||||
|
:language: javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user