mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 14:05:27 +00:00
[DOCS] Remove incorrect parms from put index template API docs (#53750)
Removes the `flat_settings` and `timeout` query parameters from the JSON spec and asciidoc docs for the put index template API. These parameters are not supported by the API.
This commit is contained in:
parent
af519cccff
commit
0e2e06bd7e
@ -93,10 +93,6 @@ Name of the index template to create.
|
|||||||
If `true`, this request cannot replace or update existing index templates.
|
If `true`, this request cannot replace or update existing index templates.
|
||||||
Defaults to `false`.
|
Defaults to `false`.
|
||||||
|
|
||||||
include::{docdir}/rest-api/common-parms.asciidoc[tag=flat-settings]
|
|
||||||
|
|
||||||
include::{docdir}/rest-api/common-parms.asciidoc[tag=include-type-name]
|
|
||||||
|
|
||||||
`order`::
|
`order`::
|
||||||
(Optional,integer)
|
(Optional,integer)
|
||||||
Order in which {es} applies this template
|
Order in which {es} applies this template
|
||||||
@ -106,7 +102,7 @@ Templates with lower `order` values are merged first.
|
|||||||
Templates with higher `order` values are merged later,
|
Templates with higher `order` values are merged later,
|
||||||
overriding templates with lower values.
|
overriding templates with lower values.
|
||||||
|
|
||||||
include::{docdir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=master-timeout]
|
||||||
|
|
||||||
|
|
||||||
[[put-index-template-api-request-body]]
|
[[put-index-template-api-request-body]]
|
||||||
|
@ -36,17 +36,9 @@
|
|||||||
"description":"Whether the index template should only be added if new or can also replace an existing one",
|
"description":"Whether the index template should only be added if new or can also replace an existing one",
|
||||||
"default":false
|
"default":false
|
||||||
},
|
},
|
||||||
"timeout":{
|
|
||||||
"type":"time",
|
|
||||||
"description":"Explicit operation timeout"
|
|
||||||
},
|
|
||||||
"master_timeout":{
|
"master_timeout":{
|
||||||
"type":"time",
|
"type":"time",
|
||||||
"description":"Specify timeout for connection to master"
|
"description":"Specify timeout for connection to master"
|
||||||
},
|
|
||||||
"flat_settings":{
|
|
||||||
"type":"boolean",
|
|
||||||
"description":"Return settings in flat format (default: false)"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body":{
|
"body":{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user