Skip to content

Commit 2ec0477

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 4002dc9 commit 2ec0477

File tree

111 files changed

+404
-169
lines changed

Some content is hidden

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

111 files changed

+404
-169
lines changed

specification/_json_spec/async_search.submit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
107107
},
108108
"expand_wildcards": {
109-
"type": "enum",
109+
"type": "list",
110110
"options": ["open", "closed", "hidden", "none", "all"],
111111
"default": "open",
112112
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

specification/_json_spec/cat.aliases.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"default": false
5757
},
5858
"expand_wildcards": {
59-
"type": "enum",
59+
"type": "list",
6060
"options": ["open", "closed", "hidden", "none", "all"],
6161
"default": "all",
6262
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

specification/_json_spec/cat.indices.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"default": false
8383
},
8484
"expand_wildcards": {
85-
"type": "enum",
85+
"type": "list",
8686
"options": ["open", "closed", "hidden", "none", "all"],
8787
"default": "all",
8888
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

specification/_json_spec/cat.segments.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression."
8989
},
9090
"expand_wildcards": {
91-
"type": "enum",
91+
"type": "list",
9292
"options": ["open", "closed", "hidden", "none", "all"],
9393
"default": "open",
9494
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

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.health.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"params": {
3131
"expand_wildcards": {
32-
"type": "enum",
32+
"type": "list",
3333
"options": ["open", "closed", "hidden", "none", "all"],
3434
"default": "all",
3535
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

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: 3 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",
@@ -96,7 +98,7 @@
9698
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
9799
},
98100
"expand_wildcards": {
99-
"type": "enum",
101+
"type": "list",
100102
"options": ["open", "closed", "hidden", "none", "all"],
101103
"default": "open",
102104
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

specification/_json_spec/count.json

Lines changed: 5 additions & 1 deletion
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"
@@ -45,7 +49,7 @@
4549
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
4650
},
4751
"expand_wildcards": {
48-
"type": "enum",
52+
"type": "list",
4953
"options": ["open", "closed", "hidden", "none", "all"],
5054
"default": "open",
5155
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."

specification/_json_spec/delete_by_query.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"description": "What to do when the delete by query hits version conflicts?"
6767
},
6868
"expand_wildcards": {
69-
"type": "enum",
69+
"type": "list",
7070
"options": ["open", "closed", "hidden", "none", "all"],
7171
"default": "open",
7272
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
@@ -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
},

0 commit comments

Comments
 (0)