mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Both the documentation and the code (including tests) mention this should be a POST request. Proposing the same changes that were proposed in https://github.com/elastic/kibana/pull/85790 for backports to 7.x releases. Co-authored-by: Franಠ_ಠis Conil <frconil@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e3f14864cf
commit
63478569cc
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ To add the `index.query.default_field` setting to an {es} index, submit a POST r
|
|||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
GET /api/upgrade_assistant/add_query_default_field/myIndex
|
||||
POST /api/upgrade_assistant/add_query_default_field/myIndex
|
||||
{
|
||||
"fieldTypes": ["text", "keyword"], <1>
|
||||
"otherFields": ["myField.*"] <2>
|
||||
|
@ -83,7 +83,7 @@ Make the following request to {kib}:
|
|||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
GET /api/upgrade_assistant/add_query_default_field/myIndex
|
||||
POST /api/upgrade_assistant/add_query_default_field/myIndex
|
||||
{
|
||||
"fieldTypes": ["text", "long"],
|
||||
"otherFields": ["field2"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue