Document PUT as the prefered HTTP method for index API (#45622)

Follow up from #42346. Since the `methods` array is in order of
preference when calling the index API with an `{id}` we prefer to use
the `PUT` http method.
This commit is contained in:
Martijn Laarman 2019-09-19 14:23:12 +02:00 committed by Luca Cavanna
parent b73a9604c1
commit f1de8c0193
1 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@
{
"path":"/{index}/_doc/{id}",
"methods":[
"POST",
"PUT"
"PUT",
"POST"
],
"parts":{
"id":{
@ -60,8 +60,8 @@
{
"path":"/{index}/{type}/{id}",
"methods":[
"POST",
"PUT"
"PUT",
"POST"
],
"parts":{
"id":{