Skip to content

Commit c3c4469

Browse files
Added missing POST method to create.json REST spec
Relates to #20924
1 parent aa9cedc commit c3c4469

File tree

1 file changed

+1
-1
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/api

1 file changed

+1
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/create.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"create": {
33
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html",
4-
"methods": ["PUT"],
4+
"methods": ["PUT","POST"],
55
"url": {
66
"path": "/{index}/{type}/{id}/_create",
77
"paths": ["/{index}/{type}/{id}/_create"],

0 commit comments

Comments
 (0)