Skip to content

Commit 67a13ec

Browse files
Add require_data_stream query parameter to index (#4803) (#4806)
(cherry picked from commit d1d4932) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent 4e6a141 commit 67a13ec

File tree

6 files changed

+58
-7
lines changed

6 files changed

+58
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949
],
5050
"response": []
5151
},
52-
"index": {
53-
"request": [
54-
"Request: missing json spec query parameter 'require_data_stream'"
55-
],
56-
"response": []
57-
},
5852
"ingest.get_ip_location_database": {
5953
"request": [
6054
"Request: query parameter 'master_timeout' does not exist in the json spec"

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/index/IndexRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ export interface Request<TDocument> extends RequestBase {
259259
* @server_default false
260260
*/
261261
require_alias?: boolean
262+
/**
263+
* If `true`, the request's actions must target a data stream (existing or to be created).
264+
* @server_default false
265+
*/
266+
require_data_stream?: boolean
262267
}
263268
/** @codegen_name document */
264269
/**

0 commit comments

Comments
 (0)