Skip to content

Commit 1e5329c

Browse files
authored
Add missing query parameters to create rest-api-spec (#130717)
1 parent 06daf76 commit 1e5329c

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@
7373
"include_source_on_error": {
7474
"type": "boolean",
7575
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
76+
},
77+
"require_alias":{
78+
"type":"boolean",
79+
"description":"When true, requires destination to be an alias. Default is false"
80+
},
81+
"require_data_stream":{
82+
"type":"boolean",
83+
"description":"When true, requires destination to be a data stream (existing or to be created). Default is false"
7684
}
7785
},
7886
"body":{

0 commit comments

Comments
 (0)