Merge "add search param in index.rst & fix json file name & sore params"

This commit is contained in:
Zuul 2022-09-12 09:51:08 +00:00 committed by Gerrit Code Review
commit aa9210c9c2
3 changed files with 10 additions and 7 deletions

View File

@ -12,4 +12,7 @@ OpenStack Log API V1 (CURRENT)
.. custom config document. .. custom config document.
.. include:: custom-config.inc .. include:: custom-config.inc
.. search log document.
.. include:: search-params.inc

View File

@ -3,11 +3,11 @@
# variables in path # variables in path
# variables in query # variables in query
param_type: index_type:
description: | description: |
the type of parameter, such as host_name, level, program_name, module_name the type of elasticsearch index, flog:Openstack log, slog:the host OS log
in: query in: query
required: true required: false
type: string type: string
module_name: module_name:
description: | description: |
@ -15,9 +15,9 @@ module_name:
in: query in: query
required: false required: false
type: string type: string
index_type: param_type:
description: | description: |
the type of elasticsearch index, flog:Openstack log, slog:the host OS log the type of parameter, such as host_name, level, program_name, module_name
in: query in: query
required: false required: true
type: string type: string

View File

@ -36,5 +36,5 @@ Response
**Example: JSON request** **Example: JSON request**
.. literalinclude:: ./samples/search-log/search-params-show-response.json.json .. literalinclude:: ./samples/search-log/search-params-show-response.json
:language: javascript :language: javascript