Skip to content

Commit ead744a

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent adf61fa commit ead744a

File tree

8 files changed

+259
-11
lines changed

8 files changed

+259
-11
lines changed

output/schema/schema-serverless.json

Lines changed: 53 additions & 7 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: 84 additions & 0 deletions
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: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
],
4444
"response": []
4545
},
46+
"bulk": {
47+
"request": [
48+
"Request: missing json spec query parameter 'type'"
49+
],
50+
"response": []
51+
},
4652
"capabilities": {
4753
"request": [
4854
"Missing request & response"
@@ -394,8 +400,6 @@
394400
"eql.search": {
395401
"request": [
396402
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
397-
"Request: query parameter 'allow_partial_search_results' does not exist in the json spec",
398-
"Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec",
399403
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
400404
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
401405
],
@@ -638,6 +642,24 @@
638642
],
639643
"response": []
640644
},
645+
"migrate.cancel_reindex": {
646+
"request": [
647+
"Missing request & response"
648+
],
649+
"response": []
650+
},
651+
"migrate.get_reindex_status": {
652+
"request": [
653+
"Missing request & response"
654+
],
655+
"response": []
656+
},
657+
"migrate.reindex": {
658+
"request": [
659+
"Missing request & response"
660+
],
661+
"response": []
662+
},
641663
"ml.delete_trained_model": {
642664
"request": [
643665
"Request: missing json spec query parameter 'timeout'"

specification/_json_spec/bulk.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
"type": "time",
4747
"description": "Explicit operation timeout"
4848
},
49+
"type": {
50+
"type": "string",
51+
"description": "Default document type for items which don't provide one"
52+
},
4953
"_source": {
5054
"type": "list",
5155
"description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request"
@@ -64,11 +68,11 @@
6468
},
6569
"require_alias": {
6670
"type": "boolean",
67-
"description": "If true, the request’s actions must target an index alias. Defaults to false."
71+
"description": "Sets require_alias for all incoming documents. Defaults to unset (false)"
6872
},
6973
"require_data_stream": {
7074
"type": "boolean",
71-
"description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false"
75+
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
7276
},
7377
"list_executed_pipelines": {
7478
"type": "boolean",

specification/_json_spec/eql.search.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
"type": "time",
3939
"description": "Update the time interval in which the results (partial or final) for this search will be available",
4040
"default": "5d"
41+
},
42+
"allow_partial_search_results": {
43+
"type": "boolean",
44+
"description": "Control whether the query should keep running in case of shard failures, and return partial results",
45+
"default": false
46+
},
47+
"allow_partial_sequence_results": {
48+
"type": "boolean",
49+
"description": "Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.",
50+
"default": false
4151
}
4252
},
4353
"body": {
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"migrate.cancel_reindex": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
5+
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
6+
},
7+
"stability": "experimental",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_migration/reindex/{index}/_cancel",
17+
"methods": ["POST"],
18+
"parts": {
19+
"index": {
20+
"type": "string",
21+
"description": "The index or data stream name"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)