Skip to content

Commit 22ebbd9

Browse files
Update rest-api-spec (#5679)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent cccee92 commit 22ebbd9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+235
-53
lines changed

specification/_json_spec/clear_scroll.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
"scroll_id": {
2424
"type": "list",
2525
"description": "A comma-separated list of scroll IDs to clear",
26-
"deprecated": true
26+
"deprecated": {
27+
"version": "7.0.0",
28+
"description": "A scroll id can be quite large and should be specified as part of the body"
29+
}
2730
}
2831
},
2932
"deprecated": {

specification/_json_spec/cluster.exists_component_template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
"description": "Timeout for waiting for new cluster state in case it is blocked"
3131
},
3232
"local": {
33-
"deprecated": true,
33+
"deprecated": {
34+
"version": "9.0.0",
35+
"description": "This parameter has no effect, is now deprecated, and will be removed in a future version."
36+
},
3437
"type": "boolean",
3538
"default": false,
3639
"description": "Return local information, do not retrieve the state from master node (default: false)"

specification/_json_spec/cluster.get_component_template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
"description": "Timeout for waiting for new cluster state in case it is blocked"
3535
},
3636
"local": {
37-
"deprecated": true,
37+
"deprecated": {
38+
"version": "9.0.0",
39+
"description": "This parameter has no effect, is now deprecated, and will be removed in a future version."
40+
},
3841
"type": "boolean",
3942
"default": false,
4043
"description": "Return local information, do not retrieve the state from master node (default: false)"

specification/_json_spec/cluster.reroute.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,10 @@
3636
},
3737
"metric": {
3838
"type": "list",
39-
"options": [
40-
"_all",
41-
"blocks",
42-
"metadata",
43-
"nodes",
44-
"none",
45-
"routing_table",
46-
"master_node",
47-
"version"
48-
],
49-
"default": "all",
39+
"deprecated": {
40+
"version": "8.6.0",
41+
"description": "This parameter has no effect; its use will be forbidden in a future version."
42+
},
5043
"description": "Limit the information returned to the specified metrics. Defaults to all but metadata"
5144
},
5245
"master_timeout": {

specification/_json_spec/cluster.state.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"options": [
2525
"_all",
2626
"blocks",
27+
"customs",
2728
"metadata",
2829
"nodes",
2930
"routing_table",
@@ -48,6 +49,7 @@
4849
"options": [
4950
"_all",
5051
"blocks",
52+
"customs",
5153
"metadata",
5254
"nodes",
5355
"routing_table",
@@ -63,7 +65,10 @@
6365
},
6466
"params": {
6567
"local": {
66-
"deprecated": true,
68+
"deprecated": {
69+
"version": "9.0.0",
70+
"description": "This parameter has no effect, is now deprecated, and will be removed in a future version."
71+
},
6772
"type": "boolean",
6873
"default": false,
6974
"description": "Return local information, do not retrieve the state from master node (default: false)"

specification/_json_spec/count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
3636
},
3737
"ignore_throttled": {
38+
"deprecated": {
39+
"version": "7.16.0",
40+
"description": "This parameter is deprecated because frozen indices have been deprecated."
41+
},
3842
"type": "boolean",
3943
"default": true,
4044
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled"

specification/_json_spec/delete_by_query.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
"description": "Maximum number of documents to process (default: all documents)"
107107
},
108108
"sort": {
109+
"deprecated": {
110+
"version": "9.0.0",
111+
"description": "This query parameter is not supported and will be removed in a future version"
112+
},
109113
"type": "list",
110114
"description": "A comma-separated list of <field>:<direction> pairs"
111115
},

specification/_json_spec/indices.delete_sample_configuration.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.delete_sample_configuration": {
33
"documentation": {
4-
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-delete-sample-configuration",
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO",
55
"description": "Delete sampling configuration for an index or data stream"
66
},
77
"stability": "experimental",
@@ -28,10 +28,12 @@
2828
"params": {
2929
"master_timeout": {
3030
"type": "time",
31+
"default": "30s",
3132
"description": "Timeout for connection to master node"
3233
},
3334
"timeout": {
3435
"type": "time",
36+
"default": "30s",
3537
"description": "Timeout for the request"
3638
}
3739
}

specification/_json_spec/indices.delete_template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
},
77
"stability": "stable",
88
"visibility": "public",
9+
"deprecated": {
10+
"version": "7.8.0",
11+
"description": "Legacy index templates are deprecated in favor of composable templates"
12+
},
913
"headers": {
1014
"accept": ["application/json"]
1115
},

specification/_json_spec/indices.exists_template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
"description": "Timeout for waiting for new cluster state in case it is blocked"
3636
},
3737
"local": {
38-
"deprecated": true,
38+
"deprecated": {
39+
"version": "9.0.0",
40+
"description": "This parameter has no effect, is now deprecated, and will be removed in a future version."
41+
},
3942
"type": "boolean",
4043
"default": false,
4144
"description": "Return local information, do not retrieve the state from master node (default: false)"

0 commit comments

Comments
 (0)