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.
.. include:: custom-config.inc
.. search log document.
.. include:: search-params.inc

View File

@ -3,11 +3,11 @@
# variables in path
# variables in query
param_type:
index_type:
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
required: true
required: false
type: string
module_name:
description: |
@ -15,9 +15,9 @@ module_name:
in: query
required: false
type: string
index_type:
param_type:
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
required: false
required: true
type: string

View File

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