Skip to content

Commit 70da3ad

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 9a0db4c commit 70da3ad

19 files changed

+300
-77
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 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: 88 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: 18 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@
282282
"eql.search": {
283283
"request": [
284284
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
285-
"Request: query parameter 'allow_partial_search_results' does not exist in the json spec",
286-
"Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec",
287285
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
288286
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
289287
],
@@ -337,44 +335,8 @@
337335
],
338336
"response": []
339337
},
340-
"ilm.delete_lifecycle": {
341-
"request": [
342-
"Request: query parameter 'master_timeout' does not exist in the json spec",
343-
"Request: query parameter 'timeout' does not exist in the json spec"
344-
],
345-
"response": []
346-
},
347338
"ilm.explain_lifecycle": {
348339
"request": [
349-
"Request: query parameter 'master_timeout' does not exist in the json spec",
350-
"Request: query parameter 'timeout' does not exist in the json spec"
351-
],
352-
"response": []
353-
},
354-
"ilm.get_lifecycle": {
355-
"request": [
356-
"Request: query parameter 'master_timeout' does not exist in the json spec",
357-
"Request: query parameter 'timeout' does not exist in the json spec"
358-
],
359-
"response": []
360-
},
361-
"ilm.put_lifecycle": {
362-
"request": [
363-
"Request: query parameter 'master_timeout' does not exist in the json spec",
364-
"Request: query parameter 'timeout' does not exist in the json spec"
365-
],
366-
"response": []
367-
},
368-
"ilm.start": {
369-
"request": [
370-
"Request: query parameter 'master_timeout' does not exist in the json spec",
371-
"Request: query parameter 'timeout' does not exist in the json spec"
372-
],
373-
"response": []
374-
},
375-
"ilm.stop": {
376-
"request": [
377-
"Request: query parameter 'master_timeout' does not exist in the json spec",
378340
"Request: query parameter 'timeout' does not exist in the json spec"
379341
],
380342
"response": []
@@ -456,20 +418,6 @@
456418
],
457419
"response": []
458420
},
459-
"ingest.delete_geoip_database": {
460-
"request": [
461-
"Request: query parameter 'master_timeout' does not exist in the json spec",
462-
"Request: query parameter 'timeout' does not exist in the json spec"
463-
],
464-
"response": []
465-
},
466-
"ingest.delete_ip_location_database": {
467-
"request": [
468-
"Request: query parameter 'master_timeout' does not exist in the json spec",
469-
"Request: query parameter 'timeout' does not exist in the json spec"
470-
],
471-
"response": []
472-
},
473421
"ingest.get_geoip_database": {
474422
"request": [
475423
"Request: query parameter 'master_timeout' does not exist in the json spec"
@@ -482,20 +430,6 @@
482430
],
483431
"response": []
484432
},
485-
"ingest.put_geoip_database": {
486-
"request": [
487-
"Request: query parameter 'master_timeout' does not exist in the json spec",
488-
"Request: query parameter 'timeout' does not exist in the json spec"
489-
],
490-
"response": []
491-
},
492-
"ingest.put_ip_location_database": {
493-
"request": [
494-
"Request: query parameter 'master_timeout' does not exist in the json spec",
495-
"Request: query parameter 'timeout' does not exist in the json spec"
496-
],
497-
"response": []
498-
},
499433
"license.delete": {
500434
"request": [
501435
"Request: missing json spec query parameter 'master_timeout'",
@@ -526,6 +460,24 @@
526460
],
527461
"response": []
528462
},
463+
"migrate.cancel_reindex": {
464+
"request": [
465+
"Missing request & response"
466+
],
467+
"response": []
468+
},
469+
"migrate.get_reindex_status": {
470+
"request": [
471+
"Missing request & response"
472+
],
473+
"response": []
474+
},
475+
"migrate.reindex": {
476+
"request": [
477+
"Missing request & response"
478+
],
479+
"response": []
480+
},
529481
"ml.delete_trained_model": {
530482
"request": [
531483
"Request: missing json spec query parameter 'timeout'"

specification/_json_spec/cluster.exists_component_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
"params": {
2727
"master_timeout": {
2828
"type": "time",
29-
"description": "Explicit operation timeout for connection to master node"
29+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3030
},
3131
"local": {
32+
"deprecated": true,
3233
"type": "boolean",
3334
"description": "Return local information, do not retrieve the state from master node (default: false)"
3435
}

specification/_json_spec/cluster.get_component_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33-
"description": "Explicit operation timeout for connection to master node"
33+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3434
},
3535
"local": {
36+
"deprecated": true,
3637
"type": "boolean",
3738
"description": "Return local information, do not retrieve the state from master node (default: false)"
3839
},

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": {

specification/_json_spec/ilm.delete_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
}
2424
]
2525
},
26-
"params": {}
26+
"params": {
27+
"master_timeout": {
28+
"type": "time",
29+
"description": "Explicit operation timeout for connection to master node"
30+
},
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
34+
}
35+
}
2736
}
2837
}

specification/_json_spec/ilm.explain_lifecycle.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"only_errors": {
3232
"type": "boolean",
3333
"description": "filters the indices included in the response to ones in an ILM error state, implies only_managed"
34+
},
35+
"master_timeout": {
36+
"type": "time",
37+
"description": "Explicit operation timeout for connection to master node"
3438
}
3539
}
3640
}

specification/_json_spec/ilm.get_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
}
2828
]
2929
},
30-
"params": {}
30+
"params": {
31+
"master_timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout for connection to master node"
34+
},
35+
"timeout": {
36+
"type": "time",
37+
"description": "Explicit operation timeout"
38+
}
39+
}
3140
}
3241
}

specification/_json_spec/ilm.put_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@
2424
}
2525
]
2626
},
27-
"params": {},
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Explicit operation timeout for connection to master node"
31+
},
32+
"timeout": {
33+
"type": "time",
34+
"description": "Explicit operation timeout"
35+
}
36+
},
2837
"body": {
2938
"description": "The lifecycle policy definition to register"
3039
}

specification/_json_spec/ilm.start.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
}
1818
]
1919
},
20-
"params": {}
20+
"params": {
21+
"master_timeout": {
22+
"type": "time",
23+
"description": "Explicit operation timeout for connection to master node"
24+
},
25+
"timeout": {
26+
"type": "time",
27+
"description": "Explicit operation timeout"
28+
}
29+
}
2130
}
2231
}

0 commit comments

Comments
 (0)