line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Licensed to Elasticsearch B.V. under one or more contributor |
2
|
|
|
|
|
|
|
# license agreements. See the NOTICE file distributed with |
3
|
|
|
|
|
|
|
# this work for additional information regarding copyright |
4
|
|
|
|
|
|
|
# ownership. Elasticsearch B.V. licenses this file to you under |
5
|
|
|
|
|
|
|
# the Apache License, Version 2.0 (the "License"); you may |
6
|
|
|
|
|
|
|
# not use this file except in compliance with the License. |
7
|
|
|
|
|
|
|
# You may obtain a copy of the License at |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
10
|
|
|
|
|
|
|
# |
11
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, |
12
|
|
|
|
|
|
|
# software distributed under the License is distributed on an |
13
|
|
|
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14
|
|
|
|
|
|
|
# KIND, either express or implied. See the License for the |
15
|
|
|
|
|
|
|
# specific language governing permissions and limitations |
16
|
|
|
|
|
|
|
# under the License. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Search::Elasticsearch::Client::7_0::Role::API; |
19
|
|
|
|
|
|
|
$Search::Elasticsearch::Client::7_0::Role::API::VERSION = '7.717'; |
20
|
55
|
|
|
55
|
|
55166
|
use Moo::Role; |
|
55
|
|
|
|
|
137
|
|
|
55
|
|
|
|
|
377
|
|
21
|
|
|
|
|
|
|
with 'Search::Elasticsearch::Role::API'; |
22
|
|
|
|
|
|
|
|
23
|
55
|
|
|
55
|
|
16167
|
use Search::Elasticsearch::Util qw(throw); |
|
55
|
|
|
|
|
108
|
|
|
55
|
|
|
|
|
357
|
|
24
|
55
|
|
|
55
|
|
12176
|
use namespace::clean; |
|
55
|
|
|
|
|
570
|
|
|
55
|
|
|
|
|
289
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
has 'api_version' => ( is => 'ro', default => '7_0' ); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
our %API; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
#=================================== |
31
|
|
|
|
|
|
|
sub api { |
32
|
|
|
|
|
|
|
#=================================== |
33
|
55
|
|
50
|
55
|
1
|
274
|
my $name = $_[1] || return \%API; |
34
|
0
|
|
0
|
|
|
|
return $API{$name} |
35
|
|
|
|
|
|
|
|| throw( 'Internal', "Unknown api name ($name)" ); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
#=================================== |
39
|
|
|
|
|
|
|
%API = ( |
40
|
|
|
|
|
|
|
#=================================== |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
'bulk.metadata' => { |
43
|
|
|
|
|
|
|
params => { |
44
|
|
|
|
|
|
|
'_index' => '_index', |
45
|
|
|
|
|
|
|
'index' => '_index', |
46
|
|
|
|
|
|
|
'_id' => '_id', |
47
|
|
|
|
|
|
|
'id' => '_id', |
48
|
|
|
|
|
|
|
'pipeline' => 'pipeline', |
49
|
|
|
|
|
|
|
'routing' => 'routing', |
50
|
|
|
|
|
|
|
'_routing' => 'routing', |
51
|
|
|
|
|
|
|
'parent' => 'parent', |
52
|
|
|
|
|
|
|
'_parent' => 'parent', |
53
|
|
|
|
|
|
|
'timestamp' => 'timestamp', |
54
|
|
|
|
|
|
|
'_timestamp' => 'timestamp', |
55
|
|
|
|
|
|
|
'ttl' => 'ttl', |
56
|
|
|
|
|
|
|
'_ttl' => 'ttl', |
57
|
|
|
|
|
|
|
'version' => 'version', |
58
|
|
|
|
|
|
|
'_version' => 'version', |
59
|
|
|
|
|
|
|
'version_type' => 'version_type', |
60
|
|
|
|
|
|
|
'_version_type' => 'version_type', |
61
|
|
|
|
|
|
|
'if_seq_no' => 'if_seq_no', |
62
|
|
|
|
|
|
|
'if_primary_term' => 'if_primary_term', |
63
|
|
|
|
|
|
|
'lang' => 'lang', |
64
|
|
|
|
|
|
|
'require_alias' => 'require_alias', |
65
|
|
|
|
|
|
|
'refresh' => 'refresh', |
66
|
|
|
|
|
|
|
'retry_on_conflict' => 'retru_on_conflict', |
67
|
|
|
|
|
|
|
'wait_for_active_shards' => 'wait_for_active_shards', |
68
|
|
|
|
|
|
|
'_source' => '_source', |
69
|
|
|
|
|
|
|
'_source_excludes' => '_source_excludes', |
70
|
|
|
|
|
|
|
'_source_includes' => '_source_includes', |
71
|
|
|
|
|
|
|
'timeout' => 'timeout' |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
}, |
74
|
|
|
|
|
|
|
'bulk.update' => { |
75
|
|
|
|
|
|
|
params => [ |
76
|
|
|
|
|
|
|
'_source', '_source_includes', |
77
|
|
|
|
|
|
|
'_source_excludes', 'detect_noop', |
78
|
|
|
|
|
|
|
'doc', 'doc_as_upsert', |
79
|
|
|
|
|
|
|
'fields', 'retry_on_conflict', |
80
|
|
|
|
|
|
|
'scripted_upsert', 'script', |
81
|
|
|
|
|
|
|
'upsert', 'lang', |
82
|
|
|
|
|
|
|
'params' |
83
|
|
|
|
|
|
|
] |
84
|
|
|
|
|
|
|
}, |
85
|
|
|
|
|
|
|
'bulk.required' => { params => ['index'] }, |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
#=== AUTOGEN - START === |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
'bulk' => { |
90
|
|
|
|
|
|
|
body => { required => 1 }, |
91
|
|
|
|
|
|
|
doc => "docs-bulk", |
92
|
|
|
|
|
|
|
method => "POST", |
93
|
|
|
|
|
|
|
parts => { index => {}, type => {} }, |
94
|
|
|
|
|
|
|
paths => [ |
95
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", "_bulk" ], |
96
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_bulk" ], |
97
|
|
|
|
|
|
|
[ {}, "_bulk" ], |
98
|
|
|
|
|
|
|
], |
99
|
|
|
|
|
|
|
qs => { |
100
|
|
|
|
|
|
|
_source => "list", |
101
|
|
|
|
|
|
|
_source_excludes => "list", |
102
|
|
|
|
|
|
|
_source_includes => "list", |
103
|
|
|
|
|
|
|
error_trace => "boolean", |
104
|
|
|
|
|
|
|
filter_path => "list", |
105
|
|
|
|
|
|
|
human => "boolean", |
106
|
|
|
|
|
|
|
pipeline => "string", |
107
|
|
|
|
|
|
|
refresh => "enum", |
108
|
|
|
|
|
|
|
require_alias => "boolean", |
109
|
|
|
|
|
|
|
routing => "string", |
110
|
|
|
|
|
|
|
timeout => "time", |
111
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
112
|
|
|
|
|
|
|
}, |
113
|
|
|
|
|
|
|
serialize => "bulk", |
114
|
|
|
|
|
|
|
}, |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
'clear_scroll' => { |
117
|
|
|
|
|
|
|
body => {}, |
118
|
|
|
|
|
|
|
doc => "clear-scroll-api", |
119
|
|
|
|
|
|
|
method => "DELETE", |
120
|
|
|
|
|
|
|
parts => { scroll_id => { multi => 1 } }, |
121
|
|
|
|
|
|
|
paths => [ |
122
|
|
|
|
|
|
|
[ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], |
123
|
|
|
|
|
|
|
[ {}, "_search", "scroll" ], |
124
|
|
|
|
|
|
|
], |
125
|
|
|
|
|
|
|
qs => { |
126
|
|
|
|
|
|
|
error_trace => "boolean", |
127
|
|
|
|
|
|
|
filter_path => "list", |
128
|
|
|
|
|
|
|
human => "boolean" |
129
|
|
|
|
|
|
|
}, |
130
|
|
|
|
|
|
|
}, |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
'close_point_in_time' => { |
133
|
|
|
|
|
|
|
body => {}, |
134
|
|
|
|
|
|
|
doc => "point-in-time-api", |
135
|
|
|
|
|
|
|
method => "DELETE", |
136
|
|
|
|
|
|
|
parts => {}, |
137
|
|
|
|
|
|
|
paths => [ [ {}, "_pit" ] ], |
138
|
|
|
|
|
|
|
qs => { |
139
|
|
|
|
|
|
|
error_trace => "boolean", |
140
|
|
|
|
|
|
|
filter_path => "list", |
141
|
|
|
|
|
|
|
human => "boolean" |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
}, |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
'count' => { |
146
|
|
|
|
|
|
|
body => {}, |
147
|
|
|
|
|
|
|
doc => "search-count", |
148
|
|
|
|
|
|
|
method => "POST", |
149
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
150
|
|
|
|
|
|
|
paths => [ |
151
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", "_count" ], |
152
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_count" ], |
153
|
|
|
|
|
|
|
[ {}, "_count" ], |
154
|
|
|
|
|
|
|
], |
155
|
|
|
|
|
|
|
qs => { |
156
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
157
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
158
|
|
|
|
|
|
|
analyzer => "string", |
159
|
|
|
|
|
|
|
default_operator => "enum", |
160
|
|
|
|
|
|
|
df => "string", |
161
|
|
|
|
|
|
|
error_trace => "boolean", |
162
|
|
|
|
|
|
|
expand_wildcards => "enum", |
163
|
|
|
|
|
|
|
filter_path => "list", |
164
|
|
|
|
|
|
|
human => "boolean", |
165
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
166
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
167
|
|
|
|
|
|
|
lenient => "boolean", |
168
|
|
|
|
|
|
|
min_score => "number", |
169
|
|
|
|
|
|
|
preference => "string", |
170
|
|
|
|
|
|
|
q => "string", |
171
|
|
|
|
|
|
|
routing => "list", |
172
|
|
|
|
|
|
|
terminate_after => "number", |
173
|
|
|
|
|
|
|
}, |
174
|
|
|
|
|
|
|
}, |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
'create' => { |
177
|
|
|
|
|
|
|
body => { required => 1 }, |
178
|
|
|
|
|
|
|
doc => "docs-index_", |
179
|
|
|
|
|
|
|
method => "PUT", |
180
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
181
|
|
|
|
|
|
|
paths => [ |
182
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, |
183
|
|
|
|
|
|
|
"{index}", "{type}", "{id}", "_create", |
184
|
|
|
|
|
|
|
], |
185
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_create", "{id}" ], |
186
|
|
|
|
|
|
|
], |
187
|
|
|
|
|
|
|
qs => { |
188
|
|
|
|
|
|
|
error_trace => "boolean", |
189
|
|
|
|
|
|
|
filter_path => "list", |
190
|
|
|
|
|
|
|
human => "boolean", |
191
|
|
|
|
|
|
|
pipeline => "string", |
192
|
|
|
|
|
|
|
refresh => "enum", |
193
|
|
|
|
|
|
|
routing => "string", |
194
|
|
|
|
|
|
|
timeout => "time", |
195
|
|
|
|
|
|
|
version => "number", |
196
|
|
|
|
|
|
|
version_type => "enum", |
197
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
198
|
|
|
|
|
|
|
}, |
199
|
|
|
|
|
|
|
}, |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
'delete' => { |
202
|
|
|
|
|
|
|
doc => "docs-delete", |
203
|
|
|
|
|
|
|
method => "DELETE", |
204
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
205
|
|
|
|
|
|
|
paths => [ |
206
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
207
|
|
|
|
|
|
|
"{type}", "{id}" |
208
|
|
|
|
|
|
|
], |
209
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_doc", "{id}" ], |
210
|
|
|
|
|
|
|
], |
211
|
|
|
|
|
|
|
qs => { |
212
|
|
|
|
|
|
|
error_trace => "boolean", |
213
|
|
|
|
|
|
|
filter_path => "list", |
214
|
|
|
|
|
|
|
human => "boolean", |
215
|
|
|
|
|
|
|
if_primary_term => "number", |
216
|
|
|
|
|
|
|
if_seq_no => "number", |
217
|
|
|
|
|
|
|
refresh => "enum", |
218
|
|
|
|
|
|
|
routing => "string", |
219
|
|
|
|
|
|
|
timeout => "time", |
220
|
|
|
|
|
|
|
version => "number", |
221
|
|
|
|
|
|
|
version_type => "enum", |
222
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
223
|
|
|
|
|
|
|
}, |
224
|
|
|
|
|
|
|
}, |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
'delete_by_query' => { |
227
|
|
|
|
|
|
|
body => { required => 1 }, |
228
|
|
|
|
|
|
|
doc => "docs-delete-by-query", |
229
|
|
|
|
|
|
|
method => "POST", |
230
|
|
|
|
|
|
|
parts => { |
231
|
|
|
|
|
|
|
index => { multi => 1, required => 1 }, |
232
|
|
|
|
|
|
|
type => { multi => 1 } |
233
|
|
|
|
|
|
|
}, |
234
|
|
|
|
|
|
|
paths => [ |
235
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
236
|
|
|
|
|
|
|
"{type}", "_delete_by_query", |
237
|
|
|
|
|
|
|
], |
238
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_delete_by_query" ], |
239
|
|
|
|
|
|
|
], |
240
|
|
|
|
|
|
|
qs => { |
241
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
242
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
243
|
|
|
|
|
|
|
analyzer => "string", |
244
|
|
|
|
|
|
|
conflicts => "enum", |
245
|
|
|
|
|
|
|
default_operator => "enum", |
246
|
|
|
|
|
|
|
df => "string", |
247
|
|
|
|
|
|
|
error_trace => "boolean", |
248
|
|
|
|
|
|
|
expand_wildcards => "enum", |
249
|
|
|
|
|
|
|
filter_path => "list", |
250
|
|
|
|
|
|
|
from => "number", |
251
|
|
|
|
|
|
|
human => "boolean", |
252
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
253
|
|
|
|
|
|
|
lenient => "boolean", |
254
|
|
|
|
|
|
|
max_docs => "number", |
255
|
|
|
|
|
|
|
preference => "string", |
256
|
|
|
|
|
|
|
q => "string", |
257
|
|
|
|
|
|
|
refresh => "boolean", |
258
|
|
|
|
|
|
|
request_cache => "boolean", |
259
|
|
|
|
|
|
|
requests_per_second => "number", |
260
|
|
|
|
|
|
|
routing => "list", |
261
|
|
|
|
|
|
|
scroll => "time", |
262
|
|
|
|
|
|
|
scroll_size => "number", |
263
|
|
|
|
|
|
|
search_timeout => "time", |
264
|
|
|
|
|
|
|
search_type => "enum", |
265
|
|
|
|
|
|
|
size => "number", |
266
|
|
|
|
|
|
|
slices => "number|string", |
267
|
|
|
|
|
|
|
sort => "list", |
268
|
|
|
|
|
|
|
stats => "list", |
269
|
|
|
|
|
|
|
terminate_after => "number", |
270
|
|
|
|
|
|
|
timeout => "time", |
271
|
|
|
|
|
|
|
version => "boolean", |
272
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
273
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
274
|
|
|
|
|
|
|
}, |
275
|
|
|
|
|
|
|
}, |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
'delete_by_query_rethrottle' => { |
278
|
|
|
|
|
|
|
doc => "docs-delete-by-query", |
279
|
|
|
|
|
|
|
method => "POST", |
280
|
|
|
|
|
|
|
parts => { task_id => {} }, |
281
|
|
|
|
|
|
|
paths => [ |
282
|
|
|
|
|
|
|
[ { task_id => 1 }, "_delete_by_query", |
283
|
|
|
|
|
|
|
"{task_id}", "_rethrottle", |
284
|
|
|
|
|
|
|
], |
285
|
|
|
|
|
|
|
], |
286
|
|
|
|
|
|
|
qs => { |
287
|
|
|
|
|
|
|
error_trace => "boolean", |
288
|
|
|
|
|
|
|
filter_path => "list", |
289
|
|
|
|
|
|
|
human => "boolean", |
290
|
|
|
|
|
|
|
requests_per_second => "number", |
291
|
|
|
|
|
|
|
}, |
292
|
|
|
|
|
|
|
}, |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
'delete_script' => { |
295
|
|
|
|
|
|
|
doc => "modules-scripting", |
296
|
|
|
|
|
|
|
method => "DELETE", |
297
|
|
|
|
|
|
|
parts => { id => {} }, |
298
|
|
|
|
|
|
|
paths => [ [ { id => 1 }, "_scripts", "{id}" ] ], |
299
|
|
|
|
|
|
|
qs => { |
300
|
|
|
|
|
|
|
error_trace => "boolean", |
301
|
|
|
|
|
|
|
filter_path => "list", |
302
|
|
|
|
|
|
|
human => "boolean", |
303
|
|
|
|
|
|
|
master_timeout => "time", |
304
|
|
|
|
|
|
|
timeout => "time", |
305
|
|
|
|
|
|
|
}, |
306
|
|
|
|
|
|
|
}, |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
'exists' => { |
309
|
|
|
|
|
|
|
doc => "docs-get", |
310
|
|
|
|
|
|
|
method => "HEAD", |
311
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
312
|
|
|
|
|
|
|
paths => [ |
313
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
314
|
|
|
|
|
|
|
"{type}", "{id}" |
315
|
|
|
|
|
|
|
], |
316
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_doc", "{id}" ], |
317
|
|
|
|
|
|
|
], |
318
|
|
|
|
|
|
|
qs => { |
319
|
|
|
|
|
|
|
_source => "list", |
320
|
|
|
|
|
|
|
_source_excludes => "list", |
321
|
|
|
|
|
|
|
_source_includes => "list", |
322
|
|
|
|
|
|
|
error_trace => "boolean", |
323
|
|
|
|
|
|
|
filter_path => "list", |
324
|
|
|
|
|
|
|
human => "boolean", |
325
|
|
|
|
|
|
|
preference => "string", |
326
|
|
|
|
|
|
|
realtime => "boolean", |
327
|
|
|
|
|
|
|
refresh => "boolean", |
328
|
|
|
|
|
|
|
routing => "string", |
329
|
|
|
|
|
|
|
stored_fields => "list", |
330
|
|
|
|
|
|
|
version => "number", |
331
|
|
|
|
|
|
|
version_type => "enum", |
332
|
|
|
|
|
|
|
}, |
333
|
|
|
|
|
|
|
}, |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
'exists_source' => { |
336
|
|
|
|
|
|
|
doc => "docs-get", |
337
|
|
|
|
|
|
|
method => "HEAD", |
338
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
339
|
|
|
|
|
|
|
paths => [ |
340
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, |
341
|
|
|
|
|
|
|
"{index}", "{type}", "{id}", "_source", |
342
|
|
|
|
|
|
|
], |
343
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_source", "{id}" ], |
344
|
|
|
|
|
|
|
], |
345
|
|
|
|
|
|
|
qs => { |
346
|
|
|
|
|
|
|
_source => "list", |
347
|
|
|
|
|
|
|
_source_excludes => "list", |
348
|
|
|
|
|
|
|
_source_includes => "list", |
349
|
|
|
|
|
|
|
error_trace => "boolean", |
350
|
|
|
|
|
|
|
filter_path => "list", |
351
|
|
|
|
|
|
|
human => "boolean", |
352
|
|
|
|
|
|
|
preference => "string", |
353
|
|
|
|
|
|
|
realtime => "boolean", |
354
|
|
|
|
|
|
|
refresh => "boolean", |
355
|
|
|
|
|
|
|
routing => "string", |
356
|
|
|
|
|
|
|
version => "number", |
357
|
|
|
|
|
|
|
version_type => "enum", |
358
|
|
|
|
|
|
|
}, |
359
|
|
|
|
|
|
|
}, |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
'explain' => { |
362
|
|
|
|
|
|
|
body => {}, |
363
|
|
|
|
|
|
|
doc => "search-explain", |
364
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
365
|
|
|
|
|
|
|
paths => [ |
366
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
367
|
|
|
|
|
|
|
"{type}", "{id}", |
368
|
|
|
|
|
|
|
"_explain", |
369
|
|
|
|
|
|
|
], |
370
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_explain", "{id}" ], |
371
|
|
|
|
|
|
|
], |
372
|
|
|
|
|
|
|
qs => { |
373
|
|
|
|
|
|
|
_source => "list", |
374
|
|
|
|
|
|
|
_source_excludes => "list", |
375
|
|
|
|
|
|
|
_source_includes => "list", |
376
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
377
|
|
|
|
|
|
|
analyzer => "string", |
378
|
|
|
|
|
|
|
default_operator => "enum", |
379
|
|
|
|
|
|
|
df => "string", |
380
|
|
|
|
|
|
|
error_trace => "boolean", |
381
|
|
|
|
|
|
|
filter_path => "list", |
382
|
|
|
|
|
|
|
human => "boolean", |
383
|
|
|
|
|
|
|
lenient => "boolean", |
384
|
|
|
|
|
|
|
preference => "string", |
385
|
|
|
|
|
|
|
q => "string", |
386
|
|
|
|
|
|
|
routing => "string", |
387
|
|
|
|
|
|
|
stored_fields => "list", |
388
|
|
|
|
|
|
|
}, |
389
|
|
|
|
|
|
|
}, |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
'field_caps' => { |
392
|
|
|
|
|
|
|
body => {}, |
393
|
|
|
|
|
|
|
doc => "search-field-caps", |
394
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
395
|
|
|
|
|
|
|
paths => [ |
396
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_field_caps" ], |
397
|
|
|
|
|
|
|
[ {}, "_field_caps" ], |
398
|
|
|
|
|
|
|
], |
399
|
|
|
|
|
|
|
qs => { |
400
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
401
|
|
|
|
|
|
|
error_trace => "boolean", |
402
|
|
|
|
|
|
|
expand_wildcards => "enum", |
403
|
|
|
|
|
|
|
fields => "list", |
404
|
|
|
|
|
|
|
filter_path => "list", |
405
|
|
|
|
|
|
|
human => "boolean", |
406
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
407
|
|
|
|
|
|
|
include_unmapped => "boolean", |
408
|
|
|
|
|
|
|
}, |
409
|
|
|
|
|
|
|
}, |
410
|
|
|
|
|
|
|
|
411
|
|
|
|
|
|
|
'get' => { |
412
|
|
|
|
|
|
|
doc => "docs-get", |
413
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
414
|
|
|
|
|
|
|
paths => [ |
415
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
416
|
|
|
|
|
|
|
"{type}", "{id}" |
417
|
|
|
|
|
|
|
], |
418
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_doc", "{id}" ], |
419
|
|
|
|
|
|
|
], |
420
|
|
|
|
|
|
|
qs => { |
421
|
|
|
|
|
|
|
_source => "list", |
422
|
|
|
|
|
|
|
_source_excludes => "list", |
423
|
|
|
|
|
|
|
_source_includes => "list", |
424
|
|
|
|
|
|
|
error_trace => "boolean", |
425
|
|
|
|
|
|
|
filter_path => "list", |
426
|
|
|
|
|
|
|
human => "boolean", |
427
|
|
|
|
|
|
|
preference => "string", |
428
|
|
|
|
|
|
|
realtime => "boolean", |
429
|
|
|
|
|
|
|
refresh => "boolean", |
430
|
|
|
|
|
|
|
routing => "string", |
431
|
|
|
|
|
|
|
stored_fields => "list", |
432
|
|
|
|
|
|
|
version => "number", |
433
|
|
|
|
|
|
|
version_type => "enum", |
434
|
|
|
|
|
|
|
}, |
435
|
|
|
|
|
|
|
}, |
436
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
'get_script' => { |
438
|
|
|
|
|
|
|
doc => "modules-scripting", |
439
|
|
|
|
|
|
|
parts => { id => {} }, |
440
|
|
|
|
|
|
|
paths => [ [ { id => 1 }, "_scripts", "{id}" ] ], |
441
|
|
|
|
|
|
|
qs => { |
442
|
|
|
|
|
|
|
error_trace => "boolean", |
443
|
|
|
|
|
|
|
filter_path => "list", |
444
|
|
|
|
|
|
|
human => "boolean", |
445
|
|
|
|
|
|
|
master_timeout => "time", |
446
|
|
|
|
|
|
|
}, |
447
|
|
|
|
|
|
|
}, |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
'get_script_context' => { |
450
|
|
|
|
|
|
|
doc => "painless-contexts", |
451
|
|
|
|
|
|
|
parts => {}, |
452
|
|
|
|
|
|
|
paths => [ [ {}, "_script_context" ] ], |
453
|
|
|
|
|
|
|
qs => { |
454
|
|
|
|
|
|
|
error_trace => "boolean", |
455
|
|
|
|
|
|
|
filter_path => "list", |
456
|
|
|
|
|
|
|
human => "boolean" |
457
|
|
|
|
|
|
|
}, |
458
|
|
|
|
|
|
|
}, |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
'get_script_languages' => { |
461
|
|
|
|
|
|
|
doc => "modules-scripting", |
462
|
|
|
|
|
|
|
parts => {}, |
463
|
|
|
|
|
|
|
paths => [ [ {}, "_script_language" ] ], |
464
|
|
|
|
|
|
|
qs => { |
465
|
|
|
|
|
|
|
error_trace => "boolean", |
466
|
|
|
|
|
|
|
filter_path => "list", |
467
|
|
|
|
|
|
|
human => "boolean" |
468
|
|
|
|
|
|
|
}, |
469
|
|
|
|
|
|
|
}, |
470
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
'get_source' => { |
472
|
|
|
|
|
|
|
doc => "docs-get", |
473
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
474
|
|
|
|
|
|
|
paths => [ |
475
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, |
476
|
|
|
|
|
|
|
"{index}", "{type}", "{id}", "_source", |
477
|
|
|
|
|
|
|
], |
478
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_source", "{id}" ], |
479
|
|
|
|
|
|
|
], |
480
|
|
|
|
|
|
|
qs => { |
481
|
|
|
|
|
|
|
_source => "list", |
482
|
|
|
|
|
|
|
_source_excludes => "list", |
483
|
|
|
|
|
|
|
_source_includes => "list", |
484
|
|
|
|
|
|
|
error_trace => "boolean", |
485
|
|
|
|
|
|
|
filter_path => "list", |
486
|
|
|
|
|
|
|
human => "boolean", |
487
|
|
|
|
|
|
|
preference => "string", |
488
|
|
|
|
|
|
|
realtime => "boolean", |
489
|
|
|
|
|
|
|
refresh => "boolean", |
490
|
|
|
|
|
|
|
routing => "string", |
491
|
|
|
|
|
|
|
version => "number", |
492
|
|
|
|
|
|
|
version_type => "enum", |
493
|
|
|
|
|
|
|
}, |
494
|
|
|
|
|
|
|
}, |
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
'index' => { |
497
|
|
|
|
|
|
|
body => { required => 1 }, |
498
|
|
|
|
|
|
|
doc => "docs-index_", |
499
|
|
|
|
|
|
|
method => "POST", |
500
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
501
|
|
|
|
|
|
|
paths => [ |
502
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
503
|
|
|
|
|
|
|
"{type}", "{id}" |
504
|
|
|
|
|
|
|
], |
505
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_doc", "{id}" ], |
506
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}" ], |
507
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_doc" ], |
508
|
|
|
|
|
|
|
], |
509
|
|
|
|
|
|
|
qs => { |
510
|
|
|
|
|
|
|
error_trace => "boolean", |
511
|
|
|
|
|
|
|
filter_path => "list", |
512
|
|
|
|
|
|
|
human => "boolean", |
513
|
|
|
|
|
|
|
if_primary_term => "number", |
514
|
|
|
|
|
|
|
if_seq_no => "number", |
515
|
|
|
|
|
|
|
op_type => "enum", |
516
|
|
|
|
|
|
|
pipeline => "string", |
517
|
|
|
|
|
|
|
refresh => "enum", |
518
|
|
|
|
|
|
|
require_alias => "boolean", |
519
|
|
|
|
|
|
|
routing => "string", |
520
|
|
|
|
|
|
|
timeout => "time", |
521
|
|
|
|
|
|
|
version => "number", |
522
|
|
|
|
|
|
|
version_type => "enum", |
523
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
524
|
|
|
|
|
|
|
}, |
525
|
|
|
|
|
|
|
}, |
526
|
|
|
|
|
|
|
|
527
|
|
|
|
|
|
|
'info' => { |
528
|
|
|
|
|
|
|
doc => "index", |
529
|
|
|
|
|
|
|
parts => {}, |
530
|
|
|
|
|
|
|
paths => [ [ {} ] ], |
531
|
|
|
|
|
|
|
qs => { |
532
|
|
|
|
|
|
|
error_trace => "boolean", |
533
|
|
|
|
|
|
|
filter_path => "list", |
534
|
|
|
|
|
|
|
human => "boolean" |
535
|
|
|
|
|
|
|
}, |
536
|
|
|
|
|
|
|
}, |
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
'mget' => { |
539
|
|
|
|
|
|
|
body => { required => 1 }, |
540
|
|
|
|
|
|
|
doc => "docs-multi-get", |
541
|
|
|
|
|
|
|
parts => { index => {}, type => {} }, |
542
|
|
|
|
|
|
|
paths => [ |
543
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", "_mget" ], |
544
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_mget" ], |
545
|
|
|
|
|
|
|
[ {}, "_mget" ], |
546
|
|
|
|
|
|
|
], |
547
|
|
|
|
|
|
|
qs => { |
548
|
|
|
|
|
|
|
_source => "list", |
549
|
|
|
|
|
|
|
_source_excludes => "list", |
550
|
|
|
|
|
|
|
_source_includes => "list", |
551
|
|
|
|
|
|
|
error_trace => "boolean", |
552
|
|
|
|
|
|
|
filter_path => "list", |
553
|
|
|
|
|
|
|
human => "boolean", |
554
|
|
|
|
|
|
|
preference => "string", |
555
|
|
|
|
|
|
|
realtime => "boolean", |
556
|
|
|
|
|
|
|
refresh => "boolean", |
557
|
|
|
|
|
|
|
routing => "string", |
558
|
|
|
|
|
|
|
stored_fields => "list", |
559
|
|
|
|
|
|
|
}, |
560
|
|
|
|
|
|
|
}, |
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
'msearch' => { |
563
|
|
|
|
|
|
|
body => { required => 1 }, |
564
|
|
|
|
|
|
|
doc => "search-multi-search", |
565
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
566
|
|
|
|
|
|
|
paths => [ |
567
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", "_msearch" ], |
568
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_msearch" ], |
569
|
|
|
|
|
|
|
[ {}, "_msearch" ], |
570
|
|
|
|
|
|
|
], |
571
|
|
|
|
|
|
|
qs => { |
572
|
|
|
|
|
|
|
ccs_minimize_roundtrips => "boolean", |
573
|
|
|
|
|
|
|
error_trace => "boolean", |
574
|
|
|
|
|
|
|
filter_path => "list", |
575
|
|
|
|
|
|
|
human => "boolean", |
576
|
|
|
|
|
|
|
max_concurrent_searches => "number", |
577
|
|
|
|
|
|
|
max_concurrent_shard_requests => "number", |
578
|
|
|
|
|
|
|
pre_filter_shard_size => "number", |
579
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
580
|
|
|
|
|
|
|
search_type => "enum", |
581
|
|
|
|
|
|
|
typed_keys => "boolean", |
582
|
|
|
|
|
|
|
}, |
583
|
|
|
|
|
|
|
serialize => "bulk", |
584
|
|
|
|
|
|
|
}, |
585
|
|
|
|
|
|
|
|
586
|
|
|
|
|
|
|
'msearch_template' => { |
587
|
|
|
|
|
|
|
body => { required => 1 }, |
588
|
|
|
|
|
|
|
doc => "search-multi-search", |
589
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
590
|
|
|
|
|
|
|
paths => [ |
591
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
592
|
|
|
|
|
|
|
"{type}", "_msearch", |
593
|
|
|
|
|
|
|
"template", |
594
|
|
|
|
|
|
|
], |
595
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_msearch", "template" ], |
596
|
|
|
|
|
|
|
[ {}, "_msearch", "template" ], |
597
|
|
|
|
|
|
|
], |
598
|
|
|
|
|
|
|
qs => { |
599
|
|
|
|
|
|
|
ccs_minimize_roundtrips => "boolean", |
600
|
|
|
|
|
|
|
error_trace => "boolean", |
601
|
|
|
|
|
|
|
filter_path => "list", |
602
|
|
|
|
|
|
|
human => "boolean", |
603
|
|
|
|
|
|
|
max_concurrent_searches => "number", |
604
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
605
|
|
|
|
|
|
|
search_type => "enum", |
606
|
|
|
|
|
|
|
typed_keys => "boolean", |
607
|
|
|
|
|
|
|
}, |
608
|
|
|
|
|
|
|
serialize => "bulk", |
609
|
|
|
|
|
|
|
}, |
610
|
|
|
|
|
|
|
|
611
|
|
|
|
|
|
|
'mtermvectors' => { |
612
|
|
|
|
|
|
|
body => {}, |
613
|
|
|
|
|
|
|
doc => "docs-multi-termvectors", |
614
|
|
|
|
|
|
|
parts => { index => {}, type => {} }, |
615
|
|
|
|
|
|
|
paths => [ |
616
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
617
|
|
|
|
|
|
|
"{type}", "_mtermvectors" |
618
|
|
|
|
|
|
|
], |
619
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_mtermvectors" ], |
620
|
|
|
|
|
|
|
[ {}, "_mtermvectors" ], |
621
|
|
|
|
|
|
|
], |
622
|
|
|
|
|
|
|
qs => { |
623
|
|
|
|
|
|
|
error_trace => "boolean", |
624
|
|
|
|
|
|
|
field_statistics => "boolean", |
625
|
|
|
|
|
|
|
fields => "list", |
626
|
|
|
|
|
|
|
filter_path => "list", |
627
|
|
|
|
|
|
|
human => "boolean", |
628
|
|
|
|
|
|
|
ids => "list", |
629
|
|
|
|
|
|
|
offsets => "boolean", |
630
|
|
|
|
|
|
|
payloads => "boolean", |
631
|
|
|
|
|
|
|
positions => "boolean", |
632
|
|
|
|
|
|
|
preference => "string", |
633
|
|
|
|
|
|
|
realtime => "boolean", |
634
|
|
|
|
|
|
|
routing => "string", |
635
|
|
|
|
|
|
|
term_statistics => "boolean", |
636
|
|
|
|
|
|
|
version => "number", |
637
|
|
|
|
|
|
|
version_type => "enum", |
638
|
|
|
|
|
|
|
}, |
639
|
|
|
|
|
|
|
}, |
640
|
|
|
|
|
|
|
|
641
|
|
|
|
|
|
|
'open_point_in_time' => { |
642
|
|
|
|
|
|
|
doc => "point-in-time-api", |
643
|
|
|
|
|
|
|
method => "POST", |
644
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
645
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_pit" ] ], |
646
|
|
|
|
|
|
|
qs => { |
647
|
|
|
|
|
|
|
error_trace => "boolean", |
648
|
|
|
|
|
|
|
expand_wildcards => "enum", |
649
|
|
|
|
|
|
|
filter_path => "list", |
650
|
|
|
|
|
|
|
human => "boolean", |
651
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
652
|
|
|
|
|
|
|
keep_alive => "string", |
653
|
|
|
|
|
|
|
preference => "string", |
654
|
|
|
|
|
|
|
routing => "string", |
655
|
|
|
|
|
|
|
}, |
656
|
|
|
|
|
|
|
}, |
657
|
|
|
|
|
|
|
|
658
|
|
|
|
|
|
|
'ping' => { |
659
|
|
|
|
|
|
|
doc => "index", |
660
|
|
|
|
|
|
|
method => "HEAD", |
661
|
|
|
|
|
|
|
parts => {}, |
662
|
|
|
|
|
|
|
paths => [ [ {} ] ], |
663
|
|
|
|
|
|
|
qs => { |
664
|
|
|
|
|
|
|
error_trace => "boolean", |
665
|
|
|
|
|
|
|
filter_path => "list", |
666
|
|
|
|
|
|
|
human => "boolean" |
667
|
|
|
|
|
|
|
}, |
668
|
|
|
|
|
|
|
}, |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
'put_script' => { |
671
|
|
|
|
|
|
|
body => { required => 1 }, |
672
|
|
|
|
|
|
|
doc => "modules-scripting", |
673
|
|
|
|
|
|
|
method => "PUT", |
674
|
|
|
|
|
|
|
parts => { context => {}, id => {} }, |
675
|
|
|
|
|
|
|
paths => [ |
676
|
|
|
|
|
|
|
[ { context => 2, id => 1 }, "_scripts", "{id}", "{context}" ], |
677
|
|
|
|
|
|
|
[ { id => 1 }, "_scripts", "{id}" ], |
678
|
|
|
|
|
|
|
], |
679
|
|
|
|
|
|
|
qs => { |
680
|
|
|
|
|
|
|
error_trace => "boolean", |
681
|
|
|
|
|
|
|
filter_path => "list", |
682
|
|
|
|
|
|
|
human => "boolean", |
683
|
|
|
|
|
|
|
master_timeout => "time", |
684
|
|
|
|
|
|
|
timeout => "time", |
685
|
|
|
|
|
|
|
}, |
686
|
|
|
|
|
|
|
}, |
687
|
|
|
|
|
|
|
|
688
|
|
|
|
|
|
|
'rank_eval' => { |
689
|
|
|
|
|
|
|
body => { required => 1 }, |
690
|
|
|
|
|
|
|
doc => "search-rank-eval", |
691
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
692
|
|
|
|
|
|
|
paths => [ |
693
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_rank_eval" ], |
694
|
|
|
|
|
|
|
[ {}, "_rank_eval" ] |
695
|
|
|
|
|
|
|
], |
696
|
|
|
|
|
|
|
qs => { |
697
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
698
|
|
|
|
|
|
|
error_trace => "boolean", |
699
|
|
|
|
|
|
|
expand_wildcards => "enum", |
700
|
|
|
|
|
|
|
filter_path => "list", |
701
|
|
|
|
|
|
|
human => "boolean", |
702
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
703
|
|
|
|
|
|
|
search_type => "enum", |
704
|
|
|
|
|
|
|
}, |
705
|
|
|
|
|
|
|
}, |
706
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
'reindex' => { |
708
|
|
|
|
|
|
|
body => { required => 1 }, |
709
|
|
|
|
|
|
|
doc => "docs-reindex", |
710
|
|
|
|
|
|
|
method => "POST", |
711
|
|
|
|
|
|
|
parts => {}, |
712
|
|
|
|
|
|
|
paths => [ [ {}, "_reindex" ] ], |
713
|
|
|
|
|
|
|
qs => { |
714
|
|
|
|
|
|
|
error_trace => "boolean", |
715
|
|
|
|
|
|
|
filter_path => "list", |
716
|
|
|
|
|
|
|
human => "boolean", |
717
|
|
|
|
|
|
|
max_docs => "number", |
718
|
|
|
|
|
|
|
refresh => "boolean", |
719
|
|
|
|
|
|
|
requests_per_second => "number", |
720
|
|
|
|
|
|
|
scroll => "time", |
721
|
|
|
|
|
|
|
slices => "number|string", |
722
|
|
|
|
|
|
|
timeout => "time", |
723
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
724
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
725
|
|
|
|
|
|
|
}, |
726
|
|
|
|
|
|
|
}, |
727
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
'reindex_rethrottle' => { |
729
|
|
|
|
|
|
|
doc => "docs-reindex", |
730
|
|
|
|
|
|
|
method => "POST", |
731
|
|
|
|
|
|
|
parts => { task_id => {} }, |
732
|
|
|
|
|
|
|
paths => |
733
|
|
|
|
|
|
|
[ [ { task_id => 1 }, "_reindex", "{task_id}", "_rethrottle" ] ], |
734
|
|
|
|
|
|
|
qs => { |
735
|
|
|
|
|
|
|
error_trace => "boolean", |
736
|
|
|
|
|
|
|
filter_path => "list", |
737
|
|
|
|
|
|
|
human => "boolean", |
738
|
|
|
|
|
|
|
requests_per_second => "number", |
739
|
|
|
|
|
|
|
}, |
740
|
|
|
|
|
|
|
}, |
741
|
|
|
|
|
|
|
|
742
|
|
|
|
|
|
|
'render_search_template' => { |
743
|
|
|
|
|
|
|
body => {}, |
744
|
|
|
|
|
|
|
doc => "render-search-template-api", |
745
|
|
|
|
|
|
|
parts => { id => {} }, |
746
|
|
|
|
|
|
|
paths => [ |
747
|
|
|
|
|
|
|
[ { id => 2 }, "_render", "template", "{id}" ], |
748
|
|
|
|
|
|
|
[ {}, "_render", "template" ], |
749
|
|
|
|
|
|
|
], |
750
|
|
|
|
|
|
|
qs => { |
751
|
|
|
|
|
|
|
error_trace => "boolean", |
752
|
|
|
|
|
|
|
filter_path => "list", |
753
|
|
|
|
|
|
|
human => "boolean" |
754
|
|
|
|
|
|
|
}, |
755
|
|
|
|
|
|
|
}, |
756
|
|
|
|
|
|
|
|
757
|
|
|
|
|
|
|
'scripts_painless_execute' => { |
758
|
|
|
|
|
|
|
body => {}, |
759
|
|
|
|
|
|
|
doc => "painless-execute-api", |
760
|
|
|
|
|
|
|
parts => {}, |
761
|
|
|
|
|
|
|
paths => [ [ {}, "_scripts", "painless", "_execute" ] ], |
762
|
|
|
|
|
|
|
qs => { |
763
|
|
|
|
|
|
|
error_trace => "boolean", |
764
|
|
|
|
|
|
|
filter_path => "list", |
765
|
|
|
|
|
|
|
human => "boolean" |
766
|
|
|
|
|
|
|
}, |
767
|
|
|
|
|
|
|
}, |
768
|
|
|
|
|
|
|
|
769
|
|
|
|
|
|
|
'scroll' => { |
770
|
|
|
|
|
|
|
body => {}, |
771
|
|
|
|
|
|
|
doc => "", |
772
|
|
|
|
|
|
|
parts => { scroll_id => {} }, |
773
|
|
|
|
|
|
|
paths => [ |
774
|
|
|
|
|
|
|
[ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], |
775
|
|
|
|
|
|
|
[ {}, "_search", "scroll" ], |
776
|
|
|
|
|
|
|
], |
777
|
|
|
|
|
|
|
qs => { |
778
|
|
|
|
|
|
|
error_trace => "boolean", |
779
|
|
|
|
|
|
|
filter_path => "list", |
780
|
|
|
|
|
|
|
human => "boolean", |
781
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
782
|
|
|
|
|
|
|
scroll => "time", |
783
|
|
|
|
|
|
|
}, |
784
|
|
|
|
|
|
|
}, |
785
|
|
|
|
|
|
|
|
786
|
|
|
|
|
|
|
'search' => { |
787
|
|
|
|
|
|
|
body => {}, |
788
|
|
|
|
|
|
|
doc => "search-search", |
789
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
790
|
|
|
|
|
|
|
paths => [ |
791
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", "_search" ], |
792
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_search" ], |
793
|
|
|
|
|
|
|
[ {}, "_search" ], |
794
|
|
|
|
|
|
|
], |
795
|
|
|
|
|
|
|
qs => { |
796
|
|
|
|
|
|
|
_source => "list", |
797
|
|
|
|
|
|
|
_source_excludes => "list", |
798
|
|
|
|
|
|
|
_source_includes => "list", |
799
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
800
|
|
|
|
|
|
|
allow_partial_search_results => "boolean", |
801
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
802
|
|
|
|
|
|
|
analyzer => "string", |
803
|
|
|
|
|
|
|
batched_reduce_size => "number", |
804
|
|
|
|
|
|
|
ccs_minimize_roundtrips => "boolean", |
805
|
|
|
|
|
|
|
default_operator => "enum", |
806
|
|
|
|
|
|
|
df => "string", |
807
|
|
|
|
|
|
|
docvalue_fields => "list", |
808
|
|
|
|
|
|
|
error_trace => "boolean", |
809
|
|
|
|
|
|
|
expand_wildcards => "enum", |
810
|
|
|
|
|
|
|
explain => "boolean", |
811
|
|
|
|
|
|
|
filter_path => "list", |
812
|
|
|
|
|
|
|
from => "number", |
813
|
|
|
|
|
|
|
human => "boolean", |
814
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
815
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
816
|
|
|
|
|
|
|
lenient => "boolean", |
817
|
|
|
|
|
|
|
max_concurrent_shard_requests => "number", |
818
|
|
|
|
|
|
|
min_compatible_shard_node => "string", |
819
|
|
|
|
|
|
|
pre_filter_shard_size => "number", |
820
|
|
|
|
|
|
|
preference => "string", |
821
|
|
|
|
|
|
|
q => "string", |
822
|
|
|
|
|
|
|
request_cache => "boolean", |
823
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
824
|
|
|
|
|
|
|
routing => "list", |
825
|
|
|
|
|
|
|
scroll => "time", |
826
|
|
|
|
|
|
|
search_type => "enum", |
827
|
|
|
|
|
|
|
seq_no_primary_term => "boolean", |
828
|
|
|
|
|
|
|
size => "number", |
829
|
|
|
|
|
|
|
sort => "list", |
830
|
|
|
|
|
|
|
stats => "list", |
831
|
|
|
|
|
|
|
stored_fields => "list", |
832
|
|
|
|
|
|
|
suggest_field => "string", |
833
|
|
|
|
|
|
|
suggest_mode => "enum", |
834
|
|
|
|
|
|
|
suggest_size => "number", |
835
|
|
|
|
|
|
|
suggest_text => "string", |
836
|
|
|
|
|
|
|
terminate_after => "number", |
837
|
|
|
|
|
|
|
timeout => "time", |
838
|
|
|
|
|
|
|
track_scores => "boolean", |
839
|
|
|
|
|
|
|
track_total_hits => "boolean", |
840
|
|
|
|
|
|
|
typed_keys => "boolean", |
841
|
|
|
|
|
|
|
version => "boolean", |
842
|
|
|
|
|
|
|
}, |
843
|
|
|
|
|
|
|
}, |
844
|
|
|
|
|
|
|
|
845
|
|
|
|
|
|
|
'search_mvt' => { |
846
|
|
|
|
|
|
|
body => {}, |
847
|
|
|
|
|
|
|
doc => "search-vector-tile-api", |
848
|
|
|
|
|
|
|
method => "POST", |
849
|
|
|
|
|
|
|
parts => { |
850
|
|
|
|
|
|
|
field => {}, |
851
|
|
|
|
|
|
|
index => { multi => 1 }, |
852
|
|
|
|
|
|
|
x => {}, |
853
|
|
|
|
|
|
|
y => {}, |
854
|
|
|
|
|
|
|
zoom => {} |
855
|
|
|
|
|
|
|
}, |
856
|
|
|
|
|
|
|
paths => [ |
857
|
|
|
|
|
|
|
[ { field => 2, index => 0, x => 4, y => 5, zoom => 3 }, |
858
|
|
|
|
|
|
|
"{index}", "_mvt", "{field}", "{zoom}", "{x}", "{y}", |
859
|
|
|
|
|
|
|
], |
860
|
|
|
|
|
|
|
], |
861
|
|
|
|
|
|
|
qs => { |
862
|
|
|
|
|
|
|
error_trace => "boolean", |
863
|
|
|
|
|
|
|
exact_bounds => "boolean", |
864
|
|
|
|
|
|
|
extent => "int", |
865
|
|
|
|
|
|
|
filter_path => "list", |
866
|
|
|
|
|
|
|
grid_precision => "int", |
867
|
|
|
|
|
|
|
grid_type => "enum", |
868
|
|
|
|
|
|
|
human => "boolean", |
869
|
|
|
|
|
|
|
size => "int", |
870
|
|
|
|
|
|
|
track_total_hits => "int", |
871
|
|
|
|
|
|
|
}, |
872
|
|
|
|
|
|
|
}, |
873
|
|
|
|
|
|
|
|
874
|
|
|
|
|
|
|
'search_shards' => { |
875
|
|
|
|
|
|
|
doc => "search-shards", |
876
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
877
|
|
|
|
|
|
|
paths => [ |
878
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_search_shards" ], |
879
|
|
|
|
|
|
|
[ {}, "_search_shards" ], |
880
|
|
|
|
|
|
|
], |
881
|
|
|
|
|
|
|
qs => { |
882
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
883
|
|
|
|
|
|
|
error_trace => "boolean", |
884
|
|
|
|
|
|
|
expand_wildcards => "enum", |
885
|
|
|
|
|
|
|
filter_path => "list", |
886
|
|
|
|
|
|
|
human => "boolean", |
887
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
888
|
|
|
|
|
|
|
local => "boolean", |
889
|
|
|
|
|
|
|
preference => "string", |
890
|
|
|
|
|
|
|
routing => "string", |
891
|
|
|
|
|
|
|
}, |
892
|
|
|
|
|
|
|
}, |
893
|
|
|
|
|
|
|
|
894
|
|
|
|
|
|
|
'search_template' => { |
895
|
|
|
|
|
|
|
body => { required => 1 }, |
896
|
|
|
|
|
|
|
doc => "search-template", |
897
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
898
|
|
|
|
|
|
|
paths => [ |
899
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
900
|
|
|
|
|
|
|
"{type}", "_search", |
901
|
|
|
|
|
|
|
"template", |
902
|
|
|
|
|
|
|
], |
903
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_search", "template" ], |
904
|
|
|
|
|
|
|
[ {}, "_search", "template" ], |
905
|
|
|
|
|
|
|
], |
906
|
|
|
|
|
|
|
qs => { |
907
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
908
|
|
|
|
|
|
|
ccs_minimize_roundtrips => "boolean", |
909
|
|
|
|
|
|
|
error_trace => "boolean", |
910
|
|
|
|
|
|
|
expand_wildcards => "enum", |
911
|
|
|
|
|
|
|
explain => "boolean", |
912
|
|
|
|
|
|
|
filter_path => "list", |
913
|
|
|
|
|
|
|
human => "boolean", |
914
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
915
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
916
|
|
|
|
|
|
|
preference => "string", |
917
|
|
|
|
|
|
|
profile => "boolean", |
918
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
919
|
|
|
|
|
|
|
routing => "list", |
920
|
|
|
|
|
|
|
scroll => "time", |
921
|
|
|
|
|
|
|
search_type => "enum", |
922
|
|
|
|
|
|
|
typed_keys => "boolean", |
923
|
|
|
|
|
|
|
}, |
924
|
|
|
|
|
|
|
}, |
925
|
|
|
|
|
|
|
|
926
|
|
|
|
|
|
|
'terms_enum' => { |
927
|
|
|
|
|
|
|
body => {}, |
928
|
|
|
|
|
|
|
doc => "search-terms-enum", |
929
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
930
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_terms_enum" ] ], |
931
|
|
|
|
|
|
|
qs => { |
932
|
|
|
|
|
|
|
error_trace => "boolean", |
933
|
|
|
|
|
|
|
filter_path => "list", |
934
|
|
|
|
|
|
|
human => "boolean" |
935
|
|
|
|
|
|
|
}, |
936
|
|
|
|
|
|
|
}, |
937
|
|
|
|
|
|
|
|
938
|
|
|
|
|
|
|
'termvectors' => { |
939
|
|
|
|
|
|
|
body => {}, |
940
|
|
|
|
|
|
|
doc => "docs-termvectors", |
941
|
|
|
|
|
|
|
parts => { id => {}, index => { required => 1 }, type => {} }, |
942
|
|
|
|
|
|
|
paths => [ |
943
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
944
|
|
|
|
|
|
|
"{type}", "{id}", |
945
|
|
|
|
|
|
|
"_termvectors", |
946
|
|
|
|
|
|
|
], |
947
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_termvectors", "{id}" ], |
948
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}", |
949
|
|
|
|
|
|
|
"_termvectors" |
950
|
|
|
|
|
|
|
], |
951
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_termvectors" ], |
952
|
|
|
|
|
|
|
], |
953
|
|
|
|
|
|
|
qs => { |
954
|
|
|
|
|
|
|
error_trace => "boolean", |
955
|
|
|
|
|
|
|
field_statistics => "boolean", |
956
|
|
|
|
|
|
|
fields => "list", |
957
|
|
|
|
|
|
|
filter_path => "list", |
958
|
|
|
|
|
|
|
human => "boolean", |
959
|
|
|
|
|
|
|
offsets => "boolean", |
960
|
|
|
|
|
|
|
payloads => "boolean", |
961
|
|
|
|
|
|
|
positions => "boolean", |
962
|
|
|
|
|
|
|
preference => "string", |
963
|
|
|
|
|
|
|
realtime => "boolean", |
964
|
|
|
|
|
|
|
routing => "string", |
965
|
|
|
|
|
|
|
term_statistics => "boolean", |
966
|
|
|
|
|
|
|
version => "number", |
967
|
|
|
|
|
|
|
version_type => "enum", |
968
|
|
|
|
|
|
|
}, |
969
|
|
|
|
|
|
|
}, |
970
|
|
|
|
|
|
|
|
971
|
|
|
|
|
|
|
'update' => { |
972
|
|
|
|
|
|
|
body => { required => 1 }, |
973
|
|
|
|
|
|
|
doc => "docs-update", |
974
|
|
|
|
|
|
|
method => "POST", |
975
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
976
|
|
|
|
|
|
|
paths => [ |
977
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, |
978
|
|
|
|
|
|
|
"{index}", "{type}", "{id}", "_update", |
979
|
|
|
|
|
|
|
], |
980
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_update", "{id}" ], |
981
|
|
|
|
|
|
|
], |
982
|
|
|
|
|
|
|
qs => { |
983
|
|
|
|
|
|
|
_source => "list", |
984
|
|
|
|
|
|
|
_source_excludes => "list", |
985
|
|
|
|
|
|
|
_source_includes => "list", |
986
|
|
|
|
|
|
|
error_trace => "boolean", |
987
|
|
|
|
|
|
|
filter_path => "list", |
988
|
|
|
|
|
|
|
human => "boolean", |
989
|
|
|
|
|
|
|
if_primary_term => "number", |
990
|
|
|
|
|
|
|
if_seq_no => "number", |
991
|
|
|
|
|
|
|
lang => "string", |
992
|
|
|
|
|
|
|
refresh => "enum", |
993
|
|
|
|
|
|
|
require_alias => "boolean", |
994
|
|
|
|
|
|
|
retry_on_conflict => "number", |
995
|
|
|
|
|
|
|
routing => "string", |
996
|
|
|
|
|
|
|
timeout => "time", |
997
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
998
|
|
|
|
|
|
|
}, |
999
|
|
|
|
|
|
|
}, |
1000
|
|
|
|
|
|
|
|
1001
|
|
|
|
|
|
|
'update_by_query' => { |
1002
|
|
|
|
|
|
|
body => {}, |
1003
|
|
|
|
|
|
|
doc => "docs-update-by-query", |
1004
|
|
|
|
|
|
|
method => "POST", |
1005
|
|
|
|
|
|
|
parts => { |
1006
|
|
|
|
|
|
|
index => { multi => 1, required => 1 }, |
1007
|
|
|
|
|
|
|
type => { multi => 1 } |
1008
|
|
|
|
|
|
|
}, |
1009
|
|
|
|
|
|
|
paths => [ |
1010
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
1011
|
|
|
|
|
|
|
"{type}", "_update_by_query", |
1012
|
|
|
|
|
|
|
], |
1013
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_update_by_query" ], |
1014
|
|
|
|
|
|
|
], |
1015
|
|
|
|
|
|
|
qs => { |
1016
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
1017
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
1018
|
|
|
|
|
|
|
analyzer => "string", |
1019
|
|
|
|
|
|
|
conflicts => "enum", |
1020
|
|
|
|
|
|
|
default_operator => "enum", |
1021
|
|
|
|
|
|
|
df => "string", |
1022
|
|
|
|
|
|
|
error_trace => "boolean", |
1023
|
|
|
|
|
|
|
expand_wildcards => "enum", |
1024
|
|
|
|
|
|
|
filter_path => "list", |
1025
|
|
|
|
|
|
|
from => "number", |
1026
|
|
|
|
|
|
|
human => "boolean", |
1027
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
1028
|
|
|
|
|
|
|
lenient => "boolean", |
1029
|
|
|
|
|
|
|
max_docs => "number", |
1030
|
|
|
|
|
|
|
pipeline => "string", |
1031
|
|
|
|
|
|
|
preference => "string", |
1032
|
|
|
|
|
|
|
q => "string", |
1033
|
|
|
|
|
|
|
refresh => "boolean", |
1034
|
|
|
|
|
|
|
request_cache => "boolean", |
1035
|
|
|
|
|
|
|
requests_per_second => "number", |
1036
|
|
|
|
|
|
|
routing => "list", |
1037
|
|
|
|
|
|
|
scroll => "time", |
1038
|
|
|
|
|
|
|
scroll_size => "number", |
1039
|
|
|
|
|
|
|
search_timeout => "time", |
1040
|
|
|
|
|
|
|
search_type => "enum", |
1041
|
|
|
|
|
|
|
size => "number", |
1042
|
|
|
|
|
|
|
slices => "number|string", |
1043
|
|
|
|
|
|
|
sort => "list", |
1044
|
|
|
|
|
|
|
stats => "list", |
1045
|
|
|
|
|
|
|
terminate_after => "number", |
1046
|
|
|
|
|
|
|
timeout => "time", |
1047
|
|
|
|
|
|
|
version => "boolean", |
1048
|
|
|
|
|
|
|
version_type => "boolean", |
1049
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
1050
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
1051
|
|
|
|
|
|
|
}, |
1052
|
|
|
|
|
|
|
}, |
1053
|
|
|
|
|
|
|
|
1054
|
|
|
|
|
|
|
'update_by_query_rethrottle' => { |
1055
|
|
|
|
|
|
|
doc => "docs-update-by-query", |
1056
|
|
|
|
|
|
|
method => "POST", |
1057
|
|
|
|
|
|
|
parts => { task_id => {} }, |
1058
|
|
|
|
|
|
|
paths => [ |
1059
|
|
|
|
|
|
|
[ { task_id => 1 }, "_update_by_query", |
1060
|
|
|
|
|
|
|
"{task_id}", "_rethrottle", |
1061
|
|
|
|
|
|
|
], |
1062
|
|
|
|
|
|
|
], |
1063
|
|
|
|
|
|
|
qs => { |
1064
|
|
|
|
|
|
|
error_trace => "boolean", |
1065
|
|
|
|
|
|
|
filter_path => "list", |
1066
|
|
|
|
|
|
|
human => "boolean", |
1067
|
|
|
|
|
|
|
requests_per_second => "number", |
1068
|
|
|
|
|
|
|
}, |
1069
|
|
|
|
|
|
|
}, |
1070
|
|
|
|
|
|
|
|
1071
|
|
|
|
|
|
|
'async_search.delete' => { |
1072
|
|
|
|
|
|
|
doc => "async-search", |
1073
|
|
|
|
|
|
|
method => "DELETE", |
1074
|
|
|
|
|
|
|
parts => { id => {} }, |
1075
|
|
|
|
|
|
|
paths => [ [ { id => 1 }, "_async_search", "{id}" ] ], |
1076
|
|
|
|
|
|
|
qs => { |
1077
|
|
|
|
|
|
|
error_trace => "boolean", |
1078
|
|
|
|
|
|
|
filter_path => "list", |
1079
|
|
|
|
|
|
|
human => "boolean" |
1080
|
|
|
|
|
|
|
}, |
1081
|
|
|
|
|
|
|
}, |
1082
|
|
|
|
|
|
|
|
1083
|
|
|
|
|
|
|
'async_search.get' => { |
1084
|
|
|
|
|
|
|
doc => "async-search", |
1085
|
|
|
|
|
|
|
parts => { id => {} }, |
1086
|
|
|
|
|
|
|
paths => [ [ { id => 1 }, "_async_search", "{id}" ] ], |
1087
|
|
|
|
|
|
|
qs => { |
1088
|
|
|
|
|
|
|
error_trace => "boolean", |
1089
|
|
|
|
|
|
|
filter_path => "list", |
1090
|
|
|
|
|
|
|
human => "boolean", |
1091
|
|
|
|
|
|
|
keep_alive => "time", |
1092
|
|
|
|
|
|
|
typed_keys => "boolean", |
1093
|
|
|
|
|
|
|
wait_for_completion_timeout => "time", |
1094
|
|
|
|
|
|
|
}, |
1095
|
|
|
|
|
|
|
}, |
1096
|
|
|
|
|
|
|
|
1097
|
|
|
|
|
|
|
'async_search.status' => { |
1098
|
|
|
|
|
|
|
doc => "async-search", |
1099
|
|
|
|
|
|
|
parts => { id => {} }, |
1100
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_async_search", "status", "{id}" ] ], |
1101
|
|
|
|
|
|
|
qs => { |
1102
|
|
|
|
|
|
|
error_trace => "boolean", |
1103
|
|
|
|
|
|
|
filter_path => "list", |
1104
|
|
|
|
|
|
|
human => "boolean" |
1105
|
|
|
|
|
|
|
}, |
1106
|
|
|
|
|
|
|
}, |
1107
|
|
|
|
|
|
|
|
1108
|
|
|
|
|
|
|
'async_search.submit' => { |
1109
|
|
|
|
|
|
|
body => {}, |
1110
|
|
|
|
|
|
|
doc => "async-search", |
1111
|
|
|
|
|
|
|
method => "POST", |
1112
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1113
|
|
|
|
|
|
|
paths => [ |
1114
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_async_search" ], |
1115
|
|
|
|
|
|
|
[ {}, "_async_search" ], |
1116
|
|
|
|
|
|
|
], |
1117
|
|
|
|
|
|
|
qs => { |
1118
|
|
|
|
|
|
|
_source => "list", |
1119
|
|
|
|
|
|
|
_source_excludes => "list", |
1120
|
|
|
|
|
|
|
_source_includes => "list", |
1121
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
1122
|
|
|
|
|
|
|
allow_partial_search_results => "boolean", |
1123
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
1124
|
|
|
|
|
|
|
analyzer => "string", |
1125
|
|
|
|
|
|
|
batched_reduce_size => "number", |
1126
|
|
|
|
|
|
|
default_operator => "enum", |
1127
|
|
|
|
|
|
|
df => "string", |
1128
|
|
|
|
|
|
|
docvalue_fields => "list", |
1129
|
|
|
|
|
|
|
error_trace => "boolean", |
1130
|
|
|
|
|
|
|
expand_wildcards => "enum", |
1131
|
|
|
|
|
|
|
explain => "boolean", |
1132
|
|
|
|
|
|
|
filter_path => "list", |
1133
|
|
|
|
|
|
|
from => "number", |
1134
|
|
|
|
|
|
|
human => "boolean", |
1135
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
1136
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
1137
|
|
|
|
|
|
|
keep_alive => "time", |
1138
|
|
|
|
|
|
|
keep_on_completion => "boolean", |
1139
|
|
|
|
|
|
|
lenient => "boolean", |
1140
|
|
|
|
|
|
|
max_concurrent_shard_requests => "number", |
1141
|
|
|
|
|
|
|
preference => "string", |
1142
|
|
|
|
|
|
|
q => "string", |
1143
|
|
|
|
|
|
|
request_cache => "boolean", |
1144
|
|
|
|
|
|
|
routing => "list", |
1145
|
|
|
|
|
|
|
search_type => "enum", |
1146
|
|
|
|
|
|
|
seq_no_primary_term => "boolean", |
1147
|
|
|
|
|
|
|
size => "number", |
1148
|
|
|
|
|
|
|
sort => "list", |
1149
|
|
|
|
|
|
|
stats => "list", |
1150
|
|
|
|
|
|
|
stored_fields => "list", |
1151
|
|
|
|
|
|
|
suggest_field => "string", |
1152
|
|
|
|
|
|
|
suggest_mode => "enum", |
1153
|
|
|
|
|
|
|
suggest_size => "number", |
1154
|
|
|
|
|
|
|
suggest_text => "string", |
1155
|
|
|
|
|
|
|
terminate_after => "number", |
1156
|
|
|
|
|
|
|
timeout => "time", |
1157
|
|
|
|
|
|
|
track_scores => "boolean", |
1158
|
|
|
|
|
|
|
track_total_hits => "boolean", |
1159
|
|
|
|
|
|
|
typed_keys => "boolean", |
1160
|
|
|
|
|
|
|
version => "boolean", |
1161
|
|
|
|
|
|
|
wait_for_completion_timeout => "time", |
1162
|
|
|
|
|
|
|
}, |
1163
|
|
|
|
|
|
|
}, |
1164
|
|
|
|
|
|
|
|
1165
|
|
|
|
|
|
|
'autoscaling.delete_autoscaling_policy' => { |
1166
|
|
|
|
|
|
|
doc => "autoscaling-delete-autoscaling-policy", |
1167
|
|
|
|
|
|
|
method => "DELETE", |
1168
|
|
|
|
|
|
|
parts => { name => {} }, |
1169
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_autoscaling", "policy", "{name}" ] ], |
1170
|
|
|
|
|
|
|
qs => { |
1171
|
|
|
|
|
|
|
error_trace => "boolean", |
1172
|
|
|
|
|
|
|
filter_path => "list", |
1173
|
|
|
|
|
|
|
human => "boolean" |
1174
|
|
|
|
|
|
|
}, |
1175
|
|
|
|
|
|
|
}, |
1176
|
|
|
|
|
|
|
|
1177
|
|
|
|
|
|
|
'autoscaling.get_autoscaling_capacity' => { |
1178
|
|
|
|
|
|
|
doc => "autoscaling-get-autoscaling-capacity", |
1179
|
|
|
|
|
|
|
parts => {}, |
1180
|
|
|
|
|
|
|
paths => [ [ {}, "_autoscaling", "capacity" ] ], |
1181
|
|
|
|
|
|
|
qs => { |
1182
|
|
|
|
|
|
|
error_trace => "boolean", |
1183
|
|
|
|
|
|
|
filter_path => "list", |
1184
|
|
|
|
|
|
|
human => "boolean" |
1185
|
|
|
|
|
|
|
}, |
1186
|
|
|
|
|
|
|
}, |
1187
|
|
|
|
|
|
|
|
1188
|
|
|
|
|
|
|
'autoscaling.get_autoscaling_policy' => { |
1189
|
|
|
|
|
|
|
doc => "autoscaling-get-autoscaling-policy", |
1190
|
|
|
|
|
|
|
parts => { name => {} }, |
1191
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_autoscaling", "policy", "{name}" ] ], |
1192
|
|
|
|
|
|
|
qs => { |
1193
|
|
|
|
|
|
|
error_trace => "boolean", |
1194
|
|
|
|
|
|
|
filter_path => "list", |
1195
|
|
|
|
|
|
|
human => "boolean" |
1196
|
|
|
|
|
|
|
}, |
1197
|
|
|
|
|
|
|
}, |
1198
|
|
|
|
|
|
|
|
1199
|
|
|
|
|
|
|
'autoscaling.put_autoscaling_policy' => { |
1200
|
|
|
|
|
|
|
body => { required => 1 }, |
1201
|
|
|
|
|
|
|
doc => "autoscaling-put-autoscaling-policy", |
1202
|
|
|
|
|
|
|
method => "PUT", |
1203
|
|
|
|
|
|
|
parts => { name => {} }, |
1204
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_autoscaling", "policy", "{name}" ] ], |
1205
|
|
|
|
|
|
|
qs => { |
1206
|
|
|
|
|
|
|
error_trace => "boolean", |
1207
|
|
|
|
|
|
|
filter_path => "list", |
1208
|
|
|
|
|
|
|
human => "boolean" |
1209
|
|
|
|
|
|
|
}, |
1210
|
|
|
|
|
|
|
}, |
1211
|
|
|
|
|
|
|
|
1212
|
|
|
|
|
|
|
'cat.aliases' => { |
1213
|
|
|
|
|
|
|
doc => "cat-alias", |
1214
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
1215
|
|
|
|
|
|
|
paths => [ |
1216
|
|
|
|
|
|
|
[ { name => 2 }, "_cat", "aliases", "{name}" ], |
1217
|
|
|
|
|
|
|
[ {}, "_cat", "aliases" ], |
1218
|
|
|
|
|
|
|
], |
1219
|
|
|
|
|
|
|
qs => { |
1220
|
|
|
|
|
|
|
error_trace => "boolean", |
1221
|
|
|
|
|
|
|
expand_wildcards => "enum", |
1222
|
|
|
|
|
|
|
filter_path => "list", |
1223
|
|
|
|
|
|
|
format => "string", |
1224
|
|
|
|
|
|
|
h => "list", |
1225
|
|
|
|
|
|
|
help => "boolean", |
1226
|
|
|
|
|
|
|
human => "boolean", |
1227
|
|
|
|
|
|
|
local => "boolean", |
1228
|
|
|
|
|
|
|
s => "list", |
1229
|
|
|
|
|
|
|
v => "boolean", |
1230
|
|
|
|
|
|
|
}, |
1231
|
|
|
|
|
|
|
}, |
1232
|
|
|
|
|
|
|
|
1233
|
|
|
|
|
|
|
'cat.allocation' => { |
1234
|
|
|
|
|
|
|
doc => "cat-allocation", |
1235
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
1236
|
|
|
|
|
|
|
paths => [ |
1237
|
|
|
|
|
|
|
[ { node_id => 2 }, "_cat", "allocation", "{node_id}" ], |
1238
|
|
|
|
|
|
|
[ {}, "_cat", "allocation" ], |
1239
|
|
|
|
|
|
|
], |
1240
|
|
|
|
|
|
|
qs => { |
1241
|
|
|
|
|
|
|
bytes => "enum", |
1242
|
|
|
|
|
|
|
error_trace => "boolean", |
1243
|
|
|
|
|
|
|
filter_path => "list", |
1244
|
|
|
|
|
|
|
format => "string", |
1245
|
|
|
|
|
|
|
h => "list", |
1246
|
|
|
|
|
|
|
help => "boolean", |
1247
|
|
|
|
|
|
|
human => "boolean", |
1248
|
|
|
|
|
|
|
local => "boolean", |
1249
|
|
|
|
|
|
|
master_timeout => "time", |
1250
|
|
|
|
|
|
|
s => "list", |
1251
|
|
|
|
|
|
|
v => "boolean", |
1252
|
|
|
|
|
|
|
}, |
1253
|
|
|
|
|
|
|
}, |
1254
|
|
|
|
|
|
|
|
1255
|
|
|
|
|
|
|
'cat.count' => { |
1256
|
|
|
|
|
|
|
doc => "cat-count", |
1257
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1258
|
|
|
|
|
|
|
paths => [ |
1259
|
|
|
|
|
|
|
[ { index => 2 }, "_cat", "count", "{index}" ], |
1260
|
|
|
|
|
|
|
[ {}, "_cat", "count" ], |
1261
|
|
|
|
|
|
|
], |
1262
|
|
|
|
|
|
|
qs => { |
1263
|
|
|
|
|
|
|
error_trace => "boolean", |
1264
|
|
|
|
|
|
|
filter_path => "list", |
1265
|
|
|
|
|
|
|
format => "string", |
1266
|
|
|
|
|
|
|
h => "list", |
1267
|
|
|
|
|
|
|
help => "boolean", |
1268
|
|
|
|
|
|
|
human => "boolean", |
1269
|
|
|
|
|
|
|
s => "list", |
1270
|
|
|
|
|
|
|
v => "boolean", |
1271
|
|
|
|
|
|
|
}, |
1272
|
|
|
|
|
|
|
}, |
1273
|
|
|
|
|
|
|
|
1274
|
|
|
|
|
|
|
'cat.fielddata' => { |
1275
|
|
|
|
|
|
|
doc => "cat-fielddata", |
1276
|
|
|
|
|
|
|
parts => { fields => { multi => 1 } }, |
1277
|
|
|
|
|
|
|
paths => [ |
1278
|
|
|
|
|
|
|
[ { fields => 2 }, "_cat", "fielddata", "{fields}" ], |
1279
|
|
|
|
|
|
|
[ {}, "_cat", "fielddata" ], |
1280
|
|
|
|
|
|
|
], |
1281
|
|
|
|
|
|
|
qs => { |
1282
|
|
|
|
|
|
|
bytes => "enum", |
1283
|
|
|
|
|
|
|
error_trace => "boolean", |
1284
|
|
|
|
|
|
|
filter_path => "list", |
1285
|
|
|
|
|
|
|
format => "string", |
1286
|
|
|
|
|
|
|
h => "list", |
1287
|
|
|
|
|
|
|
help => "boolean", |
1288
|
|
|
|
|
|
|
human => "boolean", |
1289
|
|
|
|
|
|
|
s => "list", |
1290
|
|
|
|
|
|
|
v => "boolean", |
1291
|
|
|
|
|
|
|
}, |
1292
|
|
|
|
|
|
|
}, |
1293
|
|
|
|
|
|
|
|
1294
|
|
|
|
|
|
|
'cat.health' => { |
1295
|
|
|
|
|
|
|
doc => "cat-health", |
1296
|
|
|
|
|
|
|
parts => {}, |
1297
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "health" ] ], |
1298
|
|
|
|
|
|
|
qs => { |
1299
|
|
|
|
|
|
|
error_trace => "boolean", |
1300
|
|
|
|
|
|
|
filter_path => "list", |
1301
|
|
|
|
|
|
|
format => "string", |
1302
|
|
|
|
|
|
|
h => "list", |
1303
|
|
|
|
|
|
|
help => "boolean", |
1304
|
|
|
|
|
|
|
human => "boolean", |
1305
|
|
|
|
|
|
|
s => "list", |
1306
|
|
|
|
|
|
|
time => "enum", |
1307
|
|
|
|
|
|
|
ts => "boolean", |
1308
|
|
|
|
|
|
|
v => "boolean", |
1309
|
|
|
|
|
|
|
}, |
1310
|
|
|
|
|
|
|
}, |
1311
|
|
|
|
|
|
|
|
1312
|
|
|
|
|
|
|
'cat.help' => { |
1313
|
|
|
|
|
|
|
doc => "cat", |
1314
|
|
|
|
|
|
|
parts => {}, |
1315
|
|
|
|
|
|
|
paths => [ [ {}, "_cat" ] ], |
1316
|
|
|
|
|
|
|
qs => { |
1317
|
|
|
|
|
|
|
error_trace => "boolean", |
1318
|
|
|
|
|
|
|
filter_path => "list", |
1319
|
|
|
|
|
|
|
help => "boolean", |
1320
|
|
|
|
|
|
|
human => "boolean", |
1321
|
|
|
|
|
|
|
s => "list", |
1322
|
|
|
|
|
|
|
}, |
1323
|
|
|
|
|
|
|
}, |
1324
|
|
|
|
|
|
|
|
1325
|
|
|
|
|
|
|
'cat.indices' => { |
1326
|
|
|
|
|
|
|
doc => "cat-indices", |
1327
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1328
|
|
|
|
|
|
|
paths => [ |
1329
|
|
|
|
|
|
|
[ { index => 2 }, "_cat", "indices", "{index}" ], |
1330
|
|
|
|
|
|
|
[ {}, "_cat", "indices" ], |
1331
|
|
|
|
|
|
|
], |
1332
|
|
|
|
|
|
|
qs => { |
1333
|
|
|
|
|
|
|
bytes => "enum", |
1334
|
|
|
|
|
|
|
error_trace => "boolean", |
1335
|
|
|
|
|
|
|
expand_wildcards => "enum", |
1336
|
|
|
|
|
|
|
filter_path => "list", |
1337
|
|
|
|
|
|
|
format => "string", |
1338
|
|
|
|
|
|
|
h => "list", |
1339
|
|
|
|
|
|
|
health => "enum", |
1340
|
|
|
|
|
|
|
help => "boolean", |
1341
|
|
|
|
|
|
|
human => "boolean", |
1342
|
|
|
|
|
|
|
include_unloaded_segments => "boolean", |
1343
|
|
|
|
|
|
|
local => "boolean", |
1344
|
|
|
|
|
|
|
master_timeout => "time", |
1345
|
|
|
|
|
|
|
pri => "boolean", |
1346
|
|
|
|
|
|
|
s => "list", |
1347
|
|
|
|
|
|
|
time => "enum", |
1348
|
|
|
|
|
|
|
v => "boolean", |
1349
|
|
|
|
|
|
|
}, |
1350
|
|
|
|
|
|
|
}, |
1351
|
|
|
|
|
|
|
|
1352
|
|
|
|
|
|
|
'cat.master' => { |
1353
|
|
|
|
|
|
|
doc => "cat-master", |
1354
|
|
|
|
|
|
|
parts => {}, |
1355
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "master" ] ], |
1356
|
|
|
|
|
|
|
qs => { |
1357
|
|
|
|
|
|
|
error_trace => "boolean", |
1358
|
|
|
|
|
|
|
filter_path => "list", |
1359
|
|
|
|
|
|
|
format => "string", |
1360
|
|
|
|
|
|
|
h => "list", |
1361
|
|
|
|
|
|
|
help => "boolean", |
1362
|
|
|
|
|
|
|
human => "boolean", |
1363
|
|
|
|
|
|
|
local => "boolean", |
1364
|
|
|
|
|
|
|
master_timeout => "time", |
1365
|
|
|
|
|
|
|
s => "list", |
1366
|
|
|
|
|
|
|
v => "boolean", |
1367
|
|
|
|
|
|
|
}, |
1368
|
|
|
|
|
|
|
}, |
1369
|
|
|
|
|
|
|
|
1370
|
|
|
|
|
|
|
'cat.ml_data_frame_analytics' => { |
1371
|
|
|
|
|
|
|
doc => "cat-dfanalytics", |
1372
|
|
|
|
|
|
|
parts => { id => {} }, |
1373
|
|
|
|
|
|
|
paths => [ |
1374
|
|
|
|
|
|
|
[ { id => 4 }, "_cat", "ml", "data_frame", "analytics", "{id}" ], |
1375
|
|
|
|
|
|
|
[ {}, "_cat", "ml", "data_frame", "analytics" ], |
1376
|
|
|
|
|
|
|
], |
1377
|
|
|
|
|
|
|
qs => { |
1378
|
|
|
|
|
|
|
allow_no_match => "boolean", |
1379
|
|
|
|
|
|
|
bytes => "enum", |
1380
|
|
|
|
|
|
|
error_trace => "boolean", |
1381
|
|
|
|
|
|
|
filter_path => "list", |
1382
|
|
|
|
|
|
|
format => "string", |
1383
|
|
|
|
|
|
|
h => "list", |
1384
|
|
|
|
|
|
|
help => "boolean", |
1385
|
|
|
|
|
|
|
human => "boolean", |
1386
|
|
|
|
|
|
|
s => "list", |
1387
|
|
|
|
|
|
|
time => "enum", |
1388
|
|
|
|
|
|
|
v => "boolean", |
1389
|
|
|
|
|
|
|
}, |
1390
|
|
|
|
|
|
|
}, |
1391
|
|
|
|
|
|
|
|
1392
|
|
|
|
|
|
|
'cat.ml_datafeeds' => { |
1393
|
|
|
|
|
|
|
doc => "cat-datafeeds", |
1394
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
1395
|
|
|
|
|
|
|
paths => [ |
1396
|
|
|
|
|
|
|
[ { datafeed_id => 3 }, "_cat", |
1397
|
|
|
|
|
|
|
"ml", "datafeeds", |
1398
|
|
|
|
|
|
|
"{datafeed_id}" |
1399
|
|
|
|
|
|
|
], |
1400
|
|
|
|
|
|
|
[ {}, "_cat", "ml", "datafeeds" ], |
1401
|
|
|
|
|
|
|
], |
1402
|
|
|
|
|
|
|
qs => { |
1403
|
|
|
|
|
|
|
allow_no_datafeeds => "boolean", |
1404
|
|
|
|
|
|
|
allow_no_match => "boolean", |
1405
|
|
|
|
|
|
|
error_trace => "boolean", |
1406
|
|
|
|
|
|
|
filter_path => "list", |
1407
|
|
|
|
|
|
|
format => "string", |
1408
|
|
|
|
|
|
|
h => "list", |
1409
|
|
|
|
|
|
|
help => "boolean", |
1410
|
|
|
|
|
|
|
human => "boolean", |
1411
|
|
|
|
|
|
|
s => "list", |
1412
|
|
|
|
|
|
|
time => "enum", |
1413
|
|
|
|
|
|
|
v => "boolean", |
1414
|
|
|
|
|
|
|
}, |
1415
|
|
|
|
|
|
|
}, |
1416
|
|
|
|
|
|
|
|
1417
|
|
|
|
|
|
|
'cat.ml_jobs' => { |
1418
|
|
|
|
|
|
|
doc => "cat-anomaly-detectors", |
1419
|
|
|
|
|
|
|
parts => { job_id => {} }, |
1420
|
|
|
|
|
|
|
paths => [ |
1421
|
|
|
|
|
|
|
[ { job_id => 3 }, "_cat", "ml", "anomaly_detectors", |
1422
|
|
|
|
|
|
|
"{job_id}" |
1423
|
|
|
|
|
|
|
], |
1424
|
|
|
|
|
|
|
[ {}, "_cat", "ml", "anomaly_detectors" ], |
1425
|
|
|
|
|
|
|
], |
1426
|
|
|
|
|
|
|
qs => { |
1427
|
|
|
|
|
|
|
allow_no_jobs => "boolean", |
1428
|
|
|
|
|
|
|
allow_no_match => "boolean", |
1429
|
|
|
|
|
|
|
bytes => "enum", |
1430
|
|
|
|
|
|
|
error_trace => "boolean", |
1431
|
|
|
|
|
|
|
filter_path => "list", |
1432
|
|
|
|
|
|
|
format => "string", |
1433
|
|
|
|
|
|
|
h => "list", |
1434
|
|
|
|
|
|
|
help => "boolean", |
1435
|
|
|
|
|
|
|
human => "boolean", |
1436
|
|
|
|
|
|
|
s => "list", |
1437
|
|
|
|
|
|
|
time => "enum", |
1438
|
|
|
|
|
|
|
v => "boolean", |
1439
|
|
|
|
|
|
|
}, |
1440
|
|
|
|
|
|
|
}, |
1441
|
|
|
|
|
|
|
|
1442
|
|
|
|
|
|
|
'cat.ml_trained_models' => { |
1443
|
|
|
|
|
|
|
doc => "cat-trained-model", |
1444
|
|
|
|
|
|
|
parts => { model_id => {} }, |
1445
|
|
|
|
|
|
|
paths => [ |
1446
|
|
|
|
|
|
|
[ { model_id => 3 }, "_cat", |
1447
|
|
|
|
|
|
|
"ml", "trained_models", |
1448
|
|
|
|
|
|
|
"{model_id}" |
1449
|
|
|
|
|
|
|
], |
1450
|
|
|
|
|
|
|
[ {}, "_cat", "ml", "trained_models" ], |
1451
|
|
|
|
|
|
|
], |
1452
|
|
|
|
|
|
|
qs => { |
1453
|
|
|
|
|
|
|
allow_no_match => "boolean", |
1454
|
|
|
|
|
|
|
bytes => "enum", |
1455
|
|
|
|
|
|
|
error_trace => "boolean", |
1456
|
|
|
|
|
|
|
filter_path => "list", |
1457
|
|
|
|
|
|
|
format => "string", |
1458
|
|
|
|
|
|
|
from => "int", |
1459
|
|
|
|
|
|
|
h => "list", |
1460
|
|
|
|
|
|
|
help => "boolean", |
1461
|
|
|
|
|
|
|
human => "boolean", |
1462
|
|
|
|
|
|
|
s => "list", |
1463
|
|
|
|
|
|
|
size => "int", |
1464
|
|
|
|
|
|
|
time => "enum", |
1465
|
|
|
|
|
|
|
v => "boolean", |
1466
|
|
|
|
|
|
|
}, |
1467
|
|
|
|
|
|
|
}, |
1468
|
|
|
|
|
|
|
|
1469
|
|
|
|
|
|
|
'cat.nodeattrs' => { |
1470
|
|
|
|
|
|
|
doc => "cat-nodeattrs", |
1471
|
|
|
|
|
|
|
parts => {}, |
1472
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "nodeattrs" ] ], |
1473
|
|
|
|
|
|
|
qs => { |
1474
|
|
|
|
|
|
|
error_trace => "boolean", |
1475
|
|
|
|
|
|
|
filter_path => "list", |
1476
|
|
|
|
|
|
|
format => "string", |
1477
|
|
|
|
|
|
|
h => "list", |
1478
|
|
|
|
|
|
|
help => "boolean", |
1479
|
|
|
|
|
|
|
human => "boolean", |
1480
|
|
|
|
|
|
|
local => "boolean", |
1481
|
|
|
|
|
|
|
master_timeout => "time", |
1482
|
|
|
|
|
|
|
s => "list", |
1483
|
|
|
|
|
|
|
v => "boolean", |
1484
|
|
|
|
|
|
|
}, |
1485
|
|
|
|
|
|
|
}, |
1486
|
|
|
|
|
|
|
|
1487
|
|
|
|
|
|
|
'cat.nodes' => { |
1488
|
|
|
|
|
|
|
doc => "cat-nodes", |
1489
|
|
|
|
|
|
|
parts => {}, |
1490
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "nodes" ] ], |
1491
|
|
|
|
|
|
|
qs => { |
1492
|
|
|
|
|
|
|
bytes => "enum", |
1493
|
|
|
|
|
|
|
error_trace => "boolean", |
1494
|
|
|
|
|
|
|
filter_path => "list", |
1495
|
|
|
|
|
|
|
format => "string", |
1496
|
|
|
|
|
|
|
full_id => "boolean", |
1497
|
|
|
|
|
|
|
h => "list", |
1498
|
|
|
|
|
|
|
help => "boolean", |
1499
|
|
|
|
|
|
|
human => "boolean", |
1500
|
|
|
|
|
|
|
include_unloaded_segments => "boolean", |
1501
|
|
|
|
|
|
|
local => "boolean", |
1502
|
|
|
|
|
|
|
master_timeout => "time", |
1503
|
|
|
|
|
|
|
s => "list", |
1504
|
|
|
|
|
|
|
time => "enum", |
1505
|
|
|
|
|
|
|
v => "boolean", |
1506
|
|
|
|
|
|
|
}, |
1507
|
|
|
|
|
|
|
}, |
1508
|
|
|
|
|
|
|
|
1509
|
|
|
|
|
|
|
'cat.pending_tasks' => { |
1510
|
|
|
|
|
|
|
doc => "cat-pending-tasks", |
1511
|
|
|
|
|
|
|
parts => {}, |
1512
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "pending_tasks" ] ], |
1513
|
|
|
|
|
|
|
qs => { |
1514
|
|
|
|
|
|
|
error_trace => "boolean", |
1515
|
|
|
|
|
|
|
filter_path => "list", |
1516
|
|
|
|
|
|
|
format => "string", |
1517
|
|
|
|
|
|
|
h => "list", |
1518
|
|
|
|
|
|
|
help => "boolean", |
1519
|
|
|
|
|
|
|
human => "boolean", |
1520
|
|
|
|
|
|
|
local => "boolean", |
1521
|
|
|
|
|
|
|
master_timeout => "time", |
1522
|
|
|
|
|
|
|
s => "list", |
1523
|
|
|
|
|
|
|
time => "enum", |
1524
|
|
|
|
|
|
|
v => "boolean", |
1525
|
|
|
|
|
|
|
}, |
1526
|
|
|
|
|
|
|
}, |
1527
|
|
|
|
|
|
|
|
1528
|
|
|
|
|
|
|
'cat.plugins' => { |
1529
|
|
|
|
|
|
|
doc => "cat-plugins", |
1530
|
|
|
|
|
|
|
parts => {}, |
1531
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "plugins" ] ], |
1532
|
|
|
|
|
|
|
qs => { |
1533
|
|
|
|
|
|
|
error_trace => "boolean", |
1534
|
|
|
|
|
|
|
filter_path => "list", |
1535
|
|
|
|
|
|
|
format => "string", |
1536
|
|
|
|
|
|
|
h => "list", |
1537
|
|
|
|
|
|
|
help => "boolean", |
1538
|
|
|
|
|
|
|
human => "boolean", |
1539
|
|
|
|
|
|
|
include_bootstrap => "boolean", |
1540
|
|
|
|
|
|
|
local => "boolean", |
1541
|
|
|
|
|
|
|
master_timeout => "time", |
1542
|
|
|
|
|
|
|
s => "list", |
1543
|
|
|
|
|
|
|
v => "boolean", |
1544
|
|
|
|
|
|
|
}, |
1545
|
|
|
|
|
|
|
}, |
1546
|
|
|
|
|
|
|
|
1547
|
|
|
|
|
|
|
'cat.recovery' => { |
1548
|
|
|
|
|
|
|
doc => "cat-recovery", |
1549
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1550
|
|
|
|
|
|
|
paths => [ |
1551
|
|
|
|
|
|
|
[ { index => 2 }, "_cat", "recovery", "{index}" ], |
1552
|
|
|
|
|
|
|
[ {}, "_cat", "recovery" ], |
1553
|
|
|
|
|
|
|
], |
1554
|
|
|
|
|
|
|
qs => { |
1555
|
|
|
|
|
|
|
active_only => "boolean", |
1556
|
|
|
|
|
|
|
bytes => "enum", |
1557
|
|
|
|
|
|
|
detailed => "boolean", |
1558
|
|
|
|
|
|
|
error_trace => "boolean", |
1559
|
|
|
|
|
|
|
filter_path => "list", |
1560
|
|
|
|
|
|
|
format => "string", |
1561
|
|
|
|
|
|
|
h => "list", |
1562
|
|
|
|
|
|
|
help => "boolean", |
1563
|
|
|
|
|
|
|
human => "boolean", |
1564
|
|
|
|
|
|
|
s => "list", |
1565
|
|
|
|
|
|
|
time => "enum", |
1566
|
|
|
|
|
|
|
v => "boolean", |
1567
|
|
|
|
|
|
|
}, |
1568
|
|
|
|
|
|
|
}, |
1569
|
|
|
|
|
|
|
|
1570
|
|
|
|
|
|
|
'cat.repositories' => { |
1571
|
|
|
|
|
|
|
doc => "cat-repositories", |
1572
|
|
|
|
|
|
|
parts => {}, |
1573
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "repositories" ] ], |
1574
|
|
|
|
|
|
|
qs => { |
1575
|
|
|
|
|
|
|
error_trace => "boolean", |
1576
|
|
|
|
|
|
|
filter_path => "list", |
1577
|
|
|
|
|
|
|
format => "string", |
1578
|
|
|
|
|
|
|
h => "list", |
1579
|
|
|
|
|
|
|
help => "boolean", |
1580
|
|
|
|
|
|
|
human => "boolean", |
1581
|
|
|
|
|
|
|
local => "boolean", |
1582
|
|
|
|
|
|
|
master_timeout => "time", |
1583
|
|
|
|
|
|
|
s => "list", |
1584
|
|
|
|
|
|
|
v => "boolean", |
1585
|
|
|
|
|
|
|
}, |
1586
|
|
|
|
|
|
|
}, |
1587
|
|
|
|
|
|
|
|
1588
|
|
|
|
|
|
|
'cat.segments' => { |
1589
|
|
|
|
|
|
|
doc => "cat-segments", |
1590
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1591
|
|
|
|
|
|
|
paths => [ |
1592
|
|
|
|
|
|
|
[ { index => 2 }, "_cat", "segments", "{index}" ], |
1593
|
|
|
|
|
|
|
[ {}, "_cat", "segments" ], |
1594
|
|
|
|
|
|
|
], |
1595
|
|
|
|
|
|
|
qs => { |
1596
|
|
|
|
|
|
|
bytes => "enum", |
1597
|
|
|
|
|
|
|
error_trace => "boolean", |
1598
|
|
|
|
|
|
|
filter_path => "list", |
1599
|
|
|
|
|
|
|
format => "string", |
1600
|
|
|
|
|
|
|
h => "list", |
1601
|
|
|
|
|
|
|
help => "boolean", |
1602
|
|
|
|
|
|
|
human => "boolean", |
1603
|
|
|
|
|
|
|
s => "list", |
1604
|
|
|
|
|
|
|
v => "boolean", |
1605
|
|
|
|
|
|
|
}, |
1606
|
|
|
|
|
|
|
}, |
1607
|
|
|
|
|
|
|
|
1608
|
|
|
|
|
|
|
'cat.shards' => { |
1609
|
|
|
|
|
|
|
doc => "cat-shards", |
1610
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1611
|
|
|
|
|
|
|
paths => [ |
1612
|
|
|
|
|
|
|
[ { index => 2 }, "_cat", "shards", "{index}" ], |
1613
|
|
|
|
|
|
|
[ {}, "_cat", "shards" ], |
1614
|
|
|
|
|
|
|
], |
1615
|
|
|
|
|
|
|
qs => { |
1616
|
|
|
|
|
|
|
bytes => "enum", |
1617
|
|
|
|
|
|
|
error_trace => "boolean", |
1618
|
|
|
|
|
|
|
filter_path => "list", |
1619
|
|
|
|
|
|
|
format => "string", |
1620
|
|
|
|
|
|
|
h => "list", |
1621
|
|
|
|
|
|
|
help => "boolean", |
1622
|
|
|
|
|
|
|
human => "boolean", |
1623
|
|
|
|
|
|
|
local => "boolean", |
1624
|
|
|
|
|
|
|
master_timeout => "time", |
1625
|
|
|
|
|
|
|
s => "list", |
1626
|
|
|
|
|
|
|
time => "enum", |
1627
|
|
|
|
|
|
|
v => "boolean", |
1628
|
|
|
|
|
|
|
}, |
1629
|
|
|
|
|
|
|
}, |
1630
|
|
|
|
|
|
|
|
1631
|
|
|
|
|
|
|
'cat.snapshots' => { |
1632
|
|
|
|
|
|
|
doc => "cat-snapshots", |
1633
|
|
|
|
|
|
|
parts => { repository => { multi => 1 } }, |
1634
|
|
|
|
|
|
|
paths => [ |
1635
|
|
|
|
|
|
|
[ { repository => 2 }, "_cat", "snapshots", "{repository}" ], |
1636
|
|
|
|
|
|
|
[ {}, "_cat", "snapshots" ], |
1637
|
|
|
|
|
|
|
], |
1638
|
|
|
|
|
|
|
qs => { |
1639
|
|
|
|
|
|
|
error_trace => "boolean", |
1640
|
|
|
|
|
|
|
filter_path => "list", |
1641
|
|
|
|
|
|
|
format => "string", |
1642
|
|
|
|
|
|
|
h => "list", |
1643
|
|
|
|
|
|
|
help => "boolean", |
1644
|
|
|
|
|
|
|
human => "boolean", |
1645
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
1646
|
|
|
|
|
|
|
master_timeout => "time", |
1647
|
|
|
|
|
|
|
s => "list", |
1648
|
|
|
|
|
|
|
time => "enum", |
1649
|
|
|
|
|
|
|
v => "boolean", |
1650
|
|
|
|
|
|
|
}, |
1651
|
|
|
|
|
|
|
}, |
1652
|
|
|
|
|
|
|
|
1653
|
|
|
|
|
|
|
'cat.tasks' => { |
1654
|
|
|
|
|
|
|
doc => "tasks", |
1655
|
|
|
|
|
|
|
parts => {}, |
1656
|
|
|
|
|
|
|
paths => [ [ {}, "_cat", "tasks" ] ], |
1657
|
|
|
|
|
|
|
qs => { |
1658
|
|
|
|
|
|
|
actions => "list", |
1659
|
|
|
|
|
|
|
detailed => "boolean", |
1660
|
|
|
|
|
|
|
error_trace => "boolean", |
1661
|
|
|
|
|
|
|
filter_path => "list", |
1662
|
|
|
|
|
|
|
format => "string", |
1663
|
|
|
|
|
|
|
h => "list", |
1664
|
|
|
|
|
|
|
help => "boolean", |
1665
|
|
|
|
|
|
|
human => "boolean", |
1666
|
|
|
|
|
|
|
nodes => "list", |
1667
|
|
|
|
|
|
|
parent_task_id => "string", |
1668
|
|
|
|
|
|
|
s => "list", |
1669
|
|
|
|
|
|
|
time => "enum", |
1670
|
|
|
|
|
|
|
v => "boolean", |
1671
|
|
|
|
|
|
|
}, |
1672
|
|
|
|
|
|
|
}, |
1673
|
|
|
|
|
|
|
|
1674
|
|
|
|
|
|
|
'cat.templates' => { |
1675
|
|
|
|
|
|
|
doc => "cat-templates", |
1676
|
|
|
|
|
|
|
parts => { name => {} }, |
1677
|
|
|
|
|
|
|
paths => [ |
1678
|
|
|
|
|
|
|
[ { name => 2 }, "_cat", "templates", "{name}" ], |
1679
|
|
|
|
|
|
|
[ {}, "_cat", "templates" ], |
1680
|
|
|
|
|
|
|
], |
1681
|
|
|
|
|
|
|
qs => { |
1682
|
|
|
|
|
|
|
error_trace => "boolean", |
1683
|
|
|
|
|
|
|
filter_path => "list", |
1684
|
|
|
|
|
|
|
format => "string", |
1685
|
|
|
|
|
|
|
h => "list", |
1686
|
|
|
|
|
|
|
help => "boolean", |
1687
|
|
|
|
|
|
|
human => "boolean", |
1688
|
|
|
|
|
|
|
local => "boolean", |
1689
|
|
|
|
|
|
|
master_timeout => "time", |
1690
|
|
|
|
|
|
|
s => "list", |
1691
|
|
|
|
|
|
|
v => "boolean", |
1692
|
|
|
|
|
|
|
}, |
1693
|
|
|
|
|
|
|
}, |
1694
|
|
|
|
|
|
|
|
1695
|
|
|
|
|
|
|
'cat.thread_pool' => { |
1696
|
|
|
|
|
|
|
doc => "cat-thread-pool", |
1697
|
|
|
|
|
|
|
parts => { thread_pool_patterns => { multi => 1 } }, |
1698
|
|
|
|
|
|
|
paths => [ |
1699
|
|
|
|
|
|
|
[ { thread_pool_patterns => 2 }, "_cat", |
1700
|
|
|
|
|
|
|
"thread_pool", "{thread_pool_patterns}", |
1701
|
|
|
|
|
|
|
], |
1702
|
|
|
|
|
|
|
[ {}, "_cat", "thread_pool" ], |
1703
|
|
|
|
|
|
|
], |
1704
|
|
|
|
|
|
|
qs => { |
1705
|
|
|
|
|
|
|
error_trace => "boolean", |
1706
|
|
|
|
|
|
|
filter_path => "list", |
1707
|
|
|
|
|
|
|
format => "string", |
1708
|
|
|
|
|
|
|
h => "list", |
1709
|
|
|
|
|
|
|
help => "boolean", |
1710
|
|
|
|
|
|
|
human => "boolean", |
1711
|
|
|
|
|
|
|
local => "boolean", |
1712
|
|
|
|
|
|
|
master_timeout => "time", |
1713
|
|
|
|
|
|
|
s => "list", |
1714
|
|
|
|
|
|
|
size => "enum", |
1715
|
|
|
|
|
|
|
v => "boolean", |
1716
|
|
|
|
|
|
|
}, |
1717
|
|
|
|
|
|
|
}, |
1718
|
|
|
|
|
|
|
|
1719
|
|
|
|
|
|
|
'cat.transforms' => { |
1720
|
|
|
|
|
|
|
doc => "cat-transforms", |
1721
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
1722
|
|
|
|
|
|
|
paths => [ |
1723
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_cat", "transforms", "{transform_id}" ], |
1724
|
|
|
|
|
|
|
[ {}, "_cat", "transforms" ], |
1725
|
|
|
|
|
|
|
], |
1726
|
|
|
|
|
|
|
qs => { |
1727
|
|
|
|
|
|
|
allow_no_match => "boolean", |
1728
|
|
|
|
|
|
|
error_trace => "boolean", |
1729
|
|
|
|
|
|
|
filter_path => "list", |
1730
|
|
|
|
|
|
|
format => "string", |
1731
|
|
|
|
|
|
|
from => "int", |
1732
|
|
|
|
|
|
|
h => "list", |
1733
|
|
|
|
|
|
|
help => "boolean", |
1734
|
|
|
|
|
|
|
human => "boolean", |
1735
|
|
|
|
|
|
|
s => "list", |
1736
|
|
|
|
|
|
|
size => "int", |
1737
|
|
|
|
|
|
|
time => "enum", |
1738
|
|
|
|
|
|
|
v => "boolean", |
1739
|
|
|
|
|
|
|
}, |
1740
|
|
|
|
|
|
|
}, |
1741
|
|
|
|
|
|
|
|
1742
|
|
|
|
|
|
|
'ccr.delete_auto_follow_pattern' => { |
1743
|
|
|
|
|
|
|
doc => "ccr-delete-auto-follow-pattern", |
1744
|
|
|
|
|
|
|
method => "DELETE", |
1745
|
|
|
|
|
|
|
parts => { name => {} }, |
1746
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_ccr", "auto_follow", "{name}" ] ], |
1747
|
|
|
|
|
|
|
qs => { |
1748
|
|
|
|
|
|
|
error_trace => "boolean", |
1749
|
|
|
|
|
|
|
filter_path => "list", |
1750
|
|
|
|
|
|
|
human => "boolean" |
1751
|
|
|
|
|
|
|
}, |
1752
|
|
|
|
|
|
|
}, |
1753
|
|
|
|
|
|
|
|
1754
|
|
|
|
|
|
|
'ccr.follow' => { |
1755
|
|
|
|
|
|
|
body => { required => 1 }, |
1756
|
|
|
|
|
|
|
doc => "ccr-put-follow", |
1757
|
|
|
|
|
|
|
method => "PUT", |
1758
|
|
|
|
|
|
|
parts => { index => {} }, |
1759
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "follow" ] ], |
1760
|
|
|
|
|
|
|
qs => { |
1761
|
|
|
|
|
|
|
error_trace => "boolean", |
1762
|
|
|
|
|
|
|
filter_path => "list", |
1763
|
|
|
|
|
|
|
human => "boolean", |
1764
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
1765
|
|
|
|
|
|
|
}, |
1766
|
|
|
|
|
|
|
}, |
1767
|
|
|
|
|
|
|
|
1768
|
|
|
|
|
|
|
'ccr.follow_info' => { |
1769
|
|
|
|
|
|
|
doc => "ccr-get-follow-info", |
1770
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1771
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "info" ] ], |
1772
|
|
|
|
|
|
|
qs => { |
1773
|
|
|
|
|
|
|
error_trace => "boolean", |
1774
|
|
|
|
|
|
|
filter_path => "list", |
1775
|
|
|
|
|
|
|
human => "boolean" |
1776
|
|
|
|
|
|
|
}, |
1777
|
|
|
|
|
|
|
}, |
1778
|
|
|
|
|
|
|
|
1779
|
|
|
|
|
|
|
'ccr.follow_stats' => { |
1780
|
|
|
|
|
|
|
doc => "ccr-get-follow-stats", |
1781
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1782
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "stats" ] ], |
1783
|
|
|
|
|
|
|
qs => { |
1784
|
|
|
|
|
|
|
error_trace => "boolean", |
1785
|
|
|
|
|
|
|
filter_path => "list", |
1786
|
|
|
|
|
|
|
human => "boolean" |
1787
|
|
|
|
|
|
|
}, |
1788
|
|
|
|
|
|
|
}, |
1789
|
|
|
|
|
|
|
|
1790
|
|
|
|
|
|
|
'ccr.forget_follower' => { |
1791
|
|
|
|
|
|
|
body => { required => 1 }, |
1792
|
|
|
|
|
|
|
doc => "ccr-post-forget-follower", |
1793
|
|
|
|
|
|
|
method => "POST", |
1794
|
|
|
|
|
|
|
parts => { index => {} }, |
1795
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "forget_follower" ] ], |
1796
|
|
|
|
|
|
|
qs => { |
1797
|
|
|
|
|
|
|
error_trace => "boolean", |
1798
|
|
|
|
|
|
|
filter_path => "list", |
1799
|
|
|
|
|
|
|
human => "boolean" |
1800
|
|
|
|
|
|
|
}, |
1801
|
|
|
|
|
|
|
}, |
1802
|
|
|
|
|
|
|
|
1803
|
|
|
|
|
|
|
'ccr.get_auto_follow_pattern' => { |
1804
|
|
|
|
|
|
|
doc => "ccr-get-auto-follow-pattern", |
1805
|
|
|
|
|
|
|
parts => { name => {} }, |
1806
|
|
|
|
|
|
|
paths => [ |
1807
|
|
|
|
|
|
|
[ { name => 2 }, "_ccr", "auto_follow", "{name}" ], |
1808
|
|
|
|
|
|
|
[ {}, "_ccr", "auto_follow" ], |
1809
|
|
|
|
|
|
|
], |
1810
|
|
|
|
|
|
|
qs => { |
1811
|
|
|
|
|
|
|
error_trace => "boolean", |
1812
|
|
|
|
|
|
|
filter_path => "list", |
1813
|
|
|
|
|
|
|
human => "boolean" |
1814
|
|
|
|
|
|
|
}, |
1815
|
|
|
|
|
|
|
}, |
1816
|
|
|
|
|
|
|
|
1817
|
|
|
|
|
|
|
'ccr.pause_auto_follow_pattern' => { |
1818
|
|
|
|
|
|
|
doc => "ccr-pause-auto-follow-pattern", |
1819
|
|
|
|
|
|
|
method => "POST", |
1820
|
|
|
|
|
|
|
parts => { name => {} }, |
1821
|
|
|
|
|
|
|
paths => |
1822
|
|
|
|
|
|
|
[ [ { name => 2 }, "_ccr", "auto_follow", "{name}", "pause" ] ], |
1823
|
|
|
|
|
|
|
qs => { |
1824
|
|
|
|
|
|
|
error_trace => "boolean", |
1825
|
|
|
|
|
|
|
filter_path => "list", |
1826
|
|
|
|
|
|
|
human => "boolean" |
1827
|
|
|
|
|
|
|
}, |
1828
|
|
|
|
|
|
|
}, |
1829
|
|
|
|
|
|
|
|
1830
|
|
|
|
|
|
|
'ccr.pause_follow' => { |
1831
|
|
|
|
|
|
|
doc => "ccr-post-pause-follow", |
1832
|
|
|
|
|
|
|
method => "POST", |
1833
|
|
|
|
|
|
|
parts => { index => {} }, |
1834
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "pause_follow" ] ], |
1835
|
|
|
|
|
|
|
qs => { |
1836
|
|
|
|
|
|
|
error_trace => "boolean", |
1837
|
|
|
|
|
|
|
filter_path => "list", |
1838
|
|
|
|
|
|
|
human => "boolean" |
1839
|
|
|
|
|
|
|
}, |
1840
|
|
|
|
|
|
|
}, |
1841
|
|
|
|
|
|
|
|
1842
|
|
|
|
|
|
|
'ccr.put_auto_follow_pattern' => { |
1843
|
|
|
|
|
|
|
body => { required => 1 }, |
1844
|
|
|
|
|
|
|
doc => "ccr-put-auto-follow-pattern", |
1845
|
|
|
|
|
|
|
method => "PUT", |
1846
|
|
|
|
|
|
|
parts => { name => {} }, |
1847
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_ccr", "auto_follow", "{name}" ] ], |
1848
|
|
|
|
|
|
|
qs => { |
1849
|
|
|
|
|
|
|
error_trace => "boolean", |
1850
|
|
|
|
|
|
|
filter_path => "list", |
1851
|
|
|
|
|
|
|
human => "boolean" |
1852
|
|
|
|
|
|
|
}, |
1853
|
|
|
|
|
|
|
}, |
1854
|
|
|
|
|
|
|
|
1855
|
|
|
|
|
|
|
'ccr.resume_auto_follow_pattern' => { |
1856
|
|
|
|
|
|
|
doc => "ccr-resume-auto-follow-pattern", |
1857
|
|
|
|
|
|
|
method => "POST", |
1858
|
|
|
|
|
|
|
parts => { name => {} }, |
1859
|
|
|
|
|
|
|
paths => |
1860
|
|
|
|
|
|
|
[ [ { name => 2 }, "_ccr", "auto_follow", "{name}", "resume" ] ], |
1861
|
|
|
|
|
|
|
qs => { |
1862
|
|
|
|
|
|
|
error_trace => "boolean", |
1863
|
|
|
|
|
|
|
filter_path => "list", |
1864
|
|
|
|
|
|
|
human => "boolean" |
1865
|
|
|
|
|
|
|
}, |
1866
|
|
|
|
|
|
|
}, |
1867
|
|
|
|
|
|
|
|
1868
|
|
|
|
|
|
|
'ccr.resume_follow' => { |
1869
|
|
|
|
|
|
|
body => {}, |
1870
|
|
|
|
|
|
|
doc => "ccr-post-resume-follow", |
1871
|
|
|
|
|
|
|
method => "POST", |
1872
|
|
|
|
|
|
|
parts => { index => {} }, |
1873
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "resume_follow" ] ], |
1874
|
|
|
|
|
|
|
qs => { |
1875
|
|
|
|
|
|
|
error_trace => "boolean", |
1876
|
|
|
|
|
|
|
filter_path => "list", |
1877
|
|
|
|
|
|
|
human => "boolean" |
1878
|
|
|
|
|
|
|
}, |
1879
|
|
|
|
|
|
|
}, |
1880
|
|
|
|
|
|
|
|
1881
|
|
|
|
|
|
|
'ccr.stats' => { |
1882
|
|
|
|
|
|
|
doc => "ccr-get-stats", |
1883
|
|
|
|
|
|
|
parts => {}, |
1884
|
|
|
|
|
|
|
paths => [ [ {}, "_ccr", "stats" ] ], |
1885
|
|
|
|
|
|
|
qs => { |
1886
|
|
|
|
|
|
|
error_trace => "boolean", |
1887
|
|
|
|
|
|
|
filter_path => "list", |
1888
|
|
|
|
|
|
|
human => "boolean" |
1889
|
|
|
|
|
|
|
}, |
1890
|
|
|
|
|
|
|
}, |
1891
|
|
|
|
|
|
|
|
1892
|
|
|
|
|
|
|
'ccr.unfollow' => { |
1893
|
|
|
|
|
|
|
doc => "ccr-post-unfollow", |
1894
|
|
|
|
|
|
|
method => "POST", |
1895
|
|
|
|
|
|
|
parts => { index => {} }, |
1896
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ccr", "unfollow" ] ], |
1897
|
|
|
|
|
|
|
qs => { |
1898
|
|
|
|
|
|
|
error_trace => "boolean", |
1899
|
|
|
|
|
|
|
filter_path => "list", |
1900
|
|
|
|
|
|
|
human => "boolean" |
1901
|
|
|
|
|
|
|
}, |
1902
|
|
|
|
|
|
|
}, |
1903
|
|
|
|
|
|
|
|
1904
|
|
|
|
|
|
|
'cluster.allocation_explain' => { |
1905
|
|
|
|
|
|
|
body => {}, |
1906
|
|
|
|
|
|
|
doc => "cluster-allocation-explain", |
1907
|
|
|
|
|
|
|
parts => {}, |
1908
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "allocation", "explain" ] ], |
1909
|
|
|
|
|
|
|
qs => { |
1910
|
|
|
|
|
|
|
error_trace => "boolean", |
1911
|
|
|
|
|
|
|
filter_path => "list", |
1912
|
|
|
|
|
|
|
human => "boolean", |
1913
|
|
|
|
|
|
|
include_disk_info => "boolean", |
1914
|
|
|
|
|
|
|
include_yes_decisions => "boolean", |
1915
|
|
|
|
|
|
|
}, |
1916
|
|
|
|
|
|
|
}, |
1917
|
|
|
|
|
|
|
|
1918
|
|
|
|
|
|
|
'cluster.delete_component_template' => { |
1919
|
|
|
|
|
|
|
doc => "indices-component-template", |
1920
|
|
|
|
|
|
|
method => "DELETE", |
1921
|
|
|
|
|
|
|
parts => { name => {} }, |
1922
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_component_template", "{name}" ] ], |
1923
|
|
|
|
|
|
|
qs => { |
1924
|
|
|
|
|
|
|
error_trace => "boolean", |
1925
|
|
|
|
|
|
|
filter_path => "list", |
1926
|
|
|
|
|
|
|
human => "boolean", |
1927
|
|
|
|
|
|
|
master_timeout => "time", |
1928
|
|
|
|
|
|
|
timeout => "time", |
1929
|
|
|
|
|
|
|
}, |
1930
|
|
|
|
|
|
|
}, |
1931
|
|
|
|
|
|
|
|
1932
|
|
|
|
|
|
|
'cluster.delete_voting_config_exclusions' => { |
1933
|
|
|
|
|
|
|
doc => "voting-config-exclusions", |
1934
|
|
|
|
|
|
|
method => "DELETE", |
1935
|
|
|
|
|
|
|
parts => {}, |
1936
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "voting_config_exclusions" ] ], |
1937
|
|
|
|
|
|
|
qs => { |
1938
|
|
|
|
|
|
|
error_trace => "boolean", |
1939
|
|
|
|
|
|
|
filter_path => "list", |
1940
|
|
|
|
|
|
|
human => "boolean", |
1941
|
|
|
|
|
|
|
wait_for_removal => "boolean", |
1942
|
|
|
|
|
|
|
}, |
1943
|
|
|
|
|
|
|
}, |
1944
|
|
|
|
|
|
|
|
1945
|
|
|
|
|
|
|
'cluster.exists_component_template' => { |
1946
|
|
|
|
|
|
|
doc => "indices-component-template", |
1947
|
|
|
|
|
|
|
method => "HEAD", |
1948
|
|
|
|
|
|
|
parts => { name => {} }, |
1949
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_component_template", "{name}" ] ], |
1950
|
|
|
|
|
|
|
qs => { |
1951
|
|
|
|
|
|
|
error_trace => "boolean", |
1952
|
|
|
|
|
|
|
filter_path => "list", |
1953
|
|
|
|
|
|
|
human => "boolean", |
1954
|
|
|
|
|
|
|
local => "boolean", |
1955
|
|
|
|
|
|
|
master_timeout => "time", |
1956
|
|
|
|
|
|
|
}, |
1957
|
|
|
|
|
|
|
}, |
1958
|
|
|
|
|
|
|
|
1959
|
|
|
|
|
|
|
'cluster.get_component_template' => { |
1960
|
|
|
|
|
|
|
doc => "indices-component-template", |
1961
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
1962
|
|
|
|
|
|
|
paths => [ |
1963
|
|
|
|
|
|
|
[ { name => 1 }, "_component_template", "{name}" ], |
1964
|
|
|
|
|
|
|
[ {}, "_component_template" ], |
1965
|
|
|
|
|
|
|
], |
1966
|
|
|
|
|
|
|
qs => { |
1967
|
|
|
|
|
|
|
error_trace => "boolean", |
1968
|
|
|
|
|
|
|
filter_path => "list", |
1969
|
|
|
|
|
|
|
human => "boolean", |
1970
|
|
|
|
|
|
|
local => "boolean", |
1971
|
|
|
|
|
|
|
master_timeout => "time", |
1972
|
|
|
|
|
|
|
}, |
1973
|
|
|
|
|
|
|
}, |
1974
|
|
|
|
|
|
|
|
1975
|
|
|
|
|
|
|
'cluster.get_settings' => { |
1976
|
|
|
|
|
|
|
doc => "cluster-get-settings", |
1977
|
|
|
|
|
|
|
parts => {}, |
1978
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "settings" ] ], |
1979
|
|
|
|
|
|
|
qs => { |
1980
|
|
|
|
|
|
|
error_trace => "boolean", |
1981
|
|
|
|
|
|
|
filter_path => "list", |
1982
|
|
|
|
|
|
|
flat_settings => "boolean", |
1983
|
|
|
|
|
|
|
human => "boolean", |
1984
|
|
|
|
|
|
|
include_defaults => "boolean", |
1985
|
|
|
|
|
|
|
master_timeout => "time", |
1986
|
|
|
|
|
|
|
timeout => "time", |
1987
|
|
|
|
|
|
|
}, |
1988
|
|
|
|
|
|
|
}, |
1989
|
|
|
|
|
|
|
|
1990
|
|
|
|
|
|
|
'cluster.health' => { |
1991
|
|
|
|
|
|
|
doc => "cluster-health", |
1992
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
1993
|
|
|
|
|
|
|
paths => [ |
1994
|
|
|
|
|
|
|
[ { index => 2 }, "_cluster", "health", "{index}" ], |
1995
|
|
|
|
|
|
|
[ {}, "_cluster", "health" ], |
1996
|
|
|
|
|
|
|
], |
1997
|
|
|
|
|
|
|
qs => { |
1998
|
|
|
|
|
|
|
error_trace => "boolean", |
1999
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2000
|
|
|
|
|
|
|
filter_path => "list", |
2001
|
|
|
|
|
|
|
human => "boolean", |
2002
|
|
|
|
|
|
|
level => "enum", |
2003
|
|
|
|
|
|
|
local => "boolean", |
2004
|
|
|
|
|
|
|
master_timeout => "time", |
2005
|
|
|
|
|
|
|
timeout => "time", |
2006
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
2007
|
|
|
|
|
|
|
wait_for_events => "enum", |
2008
|
|
|
|
|
|
|
wait_for_no_initializing_shards => "boolean", |
2009
|
|
|
|
|
|
|
wait_for_no_relocating_shards => "boolean", |
2010
|
|
|
|
|
|
|
wait_for_nodes => "string", |
2011
|
|
|
|
|
|
|
wait_for_status => "enum", |
2012
|
|
|
|
|
|
|
}, |
2013
|
|
|
|
|
|
|
}, |
2014
|
|
|
|
|
|
|
|
2015
|
|
|
|
|
|
|
'cluster.pending_tasks' => { |
2016
|
|
|
|
|
|
|
doc => "cluster-pending", |
2017
|
|
|
|
|
|
|
parts => {}, |
2018
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "pending_tasks" ] ], |
2019
|
|
|
|
|
|
|
qs => { |
2020
|
|
|
|
|
|
|
error_trace => "boolean", |
2021
|
|
|
|
|
|
|
filter_path => "list", |
2022
|
|
|
|
|
|
|
human => "boolean", |
2023
|
|
|
|
|
|
|
local => "boolean", |
2024
|
|
|
|
|
|
|
master_timeout => "time", |
2025
|
|
|
|
|
|
|
}, |
2026
|
|
|
|
|
|
|
}, |
2027
|
|
|
|
|
|
|
|
2028
|
|
|
|
|
|
|
'cluster.post_voting_config_exclusions' => { |
2029
|
|
|
|
|
|
|
doc => "voting-config-exclusions", |
2030
|
|
|
|
|
|
|
method => "POST", |
2031
|
|
|
|
|
|
|
parts => {}, |
2032
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "voting_config_exclusions" ] ], |
2033
|
|
|
|
|
|
|
qs => { |
2034
|
|
|
|
|
|
|
error_trace => "boolean", |
2035
|
|
|
|
|
|
|
filter_path => "list", |
2036
|
|
|
|
|
|
|
human => "boolean", |
2037
|
|
|
|
|
|
|
node_ids => "string", |
2038
|
|
|
|
|
|
|
node_names => "string", |
2039
|
|
|
|
|
|
|
timeout => "time", |
2040
|
|
|
|
|
|
|
}, |
2041
|
|
|
|
|
|
|
}, |
2042
|
|
|
|
|
|
|
|
2043
|
|
|
|
|
|
|
'cluster.put_component_template' => { |
2044
|
|
|
|
|
|
|
body => { required => 1 }, |
2045
|
|
|
|
|
|
|
doc => "indices-component-template", |
2046
|
|
|
|
|
|
|
method => "PUT", |
2047
|
|
|
|
|
|
|
parts => { name => {} }, |
2048
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_component_template", "{name}" ] ], |
2049
|
|
|
|
|
|
|
qs => { |
2050
|
|
|
|
|
|
|
create => "boolean", |
2051
|
|
|
|
|
|
|
error_trace => "boolean", |
2052
|
|
|
|
|
|
|
filter_path => "list", |
2053
|
|
|
|
|
|
|
human => "boolean", |
2054
|
|
|
|
|
|
|
master_timeout => "time", |
2055
|
|
|
|
|
|
|
timeout => "time", |
2056
|
|
|
|
|
|
|
}, |
2057
|
|
|
|
|
|
|
}, |
2058
|
|
|
|
|
|
|
|
2059
|
|
|
|
|
|
|
'cluster.put_settings' => { |
2060
|
|
|
|
|
|
|
body => { required => 1 }, |
2061
|
|
|
|
|
|
|
doc => "cluster-update-settings", |
2062
|
|
|
|
|
|
|
method => "PUT", |
2063
|
|
|
|
|
|
|
parts => {}, |
2064
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "settings" ] ], |
2065
|
|
|
|
|
|
|
qs => { |
2066
|
|
|
|
|
|
|
error_trace => "boolean", |
2067
|
|
|
|
|
|
|
filter_path => "list", |
2068
|
|
|
|
|
|
|
flat_settings => "boolean", |
2069
|
|
|
|
|
|
|
human => "boolean", |
2070
|
|
|
|
|
|
|
master_timeout => "time", |
2071
|
|
|
|
|
|
|
timeout => "time", |
2072
|
|
|
|
|
|
|
}, |
2073
|
|
|
|
|
|
|
}, |
2074
|
|
|
|
|
|
|
|
2075
|
|
|
|
|
|
|
'cluster.remote_info' => { |
2076
|
|
|
|
|
|
|
doc => "cluster-remote-info", |
2077
|
|
|
|
|
|
|
parts => {}, |
2078
|
|
|
|
|
|
|
paths => [ [ {}, "_remote", "info" ] ], |
2079
|
|
|
|
|
|
|
qs => { |
2080
|
|
|
|
|
|
|
error_trace => "boolean", |
2081
|
|
|
|
|
|
|
filter_path => "list", |
2082
|
|
|
|
|
|
|
human => "boolean" |
2083
|
|
|
|
|
|
|
}, |
2084
|
|
|
|
|
|
|
}, |
2085
|
|
|
|
|
|
|
|
2086
|
|
|
|
|
|
|
'cluster.reroute' => { |
2087
|
|
|
|
|
|
|
body => {}, |
2088
|
|
|
|
|
|
|
doc => "cluster-reroute", |
2089
|
|
|
|
|
|
|
method => "POST", |
2090
|
|
|
|
|
|
|
parts => {}, |
2091
|
|
|
|
|
|
|
paths => [ [ {}, "_cluster", "reroute" ] ], |
2092
|
|
|
|
|
|
|
qs => { |
2093
|
|
|
|
|
|
|
dry_run => "boolean", |
2094
|
|
|
|
|
|
|
error_trace => "boolean", |
2095
|
|
|
|
|
|
|
explain => "boolean", |
2096
|
|
|
|
|
|
|
filter_path => "list", |
2097
|
|
|
|
|
|
|
human => "boolean", |
2098
|
|
|
|
|
|
|
master_timeout => "time", |
2099
|
|
|
|
|
|
|
metric => "list", |
2100
|
|
|
|
|
|
|
retry_failed => "boolean", |
2101
|
|
|
|
|
|
|
timeout => "time", |
2102
|
|
|
|
|
|
|
}, |
2103
|
|
|
|
|
|
|
}, |
2104
|
|
|
|
|
|
|
|
2105
|
|
|
|
|
|
|
'cluster.state' => { |
2106
|
|
|
|
|
|
|
doc => "cluster-state", |
2107
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, metric => { multi => 1 } }, |
2108
|
|
|
|
|
|
|
paths => [ |
2109
|
|
|
|
|
|
|
[ { index => 3, metric => 2 }, "_cluster", |
2110
|
|
|
|
|
|
|
"state", "{metric}", |
2111
|
|
|
|
|
|
|
"{index}", |
2112
|
|
|
|
|
|
|
], |
2113
|
|
|
|
|
|
|
[ { metric => 2 }, "_cluster", "state", "{metric}" ], |
2114
|
|
|
|
|
|
|
[ {}, "_cluster", "state" ], |
2115
|
|
|
|
|
|
|
], |
2116
|
|
|
|
|
|
|
qs => { |
2117
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2118
|
|
|
|
|
|
|
error_trace => "boolean", |
2119
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2120
|
|
|
|
|
|
|
filter_path => "list", |
2121
|
|
|
|
|
|
|
flat_settings => "boolean", |
2122
|
|
|
|
|
|
|
human => "boolean", |
2123
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2124
|
|
|
|
|
|
|
local => "boolean", |
2125
|
|
|
|
|
|
|
master_timeout => "time", |
2126
|
|
|
|
|
|
|
wait_for_metadata_version => "number", |
2127
|
|
|
|
|
|
|
wait_for_timeout => "time", |
2128
|
|
|
|
|
|
|
}, |
2129
|
|
|
|
|
|
|
}, |
2130
|
|
|
|
|
|
|
|
2131
|
|
|
|
|
|
|
'cluster.stats' => { |
2132
|
|
|
|
|
|
|
doc => "cluster-stats", |
2133
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
2134
|
|
|
|
|
|
|
paths => [ |
2135
|
|
|
|
|
|
|
[ { node_id => 3 }, "_cluster", "stats", "nodes", "{node_id}" ], |
2136
|
|
|
|
|
|
|
[ {}, "_cluster", "stats" ], |
2137
|
|
|
|
|
|
|
], |
2138
|
|
|
|
|
|
|
qs => { |
2139
|
|
|
|
|
|
|
error_trace => "boolean", |
2140
|
|
|
|
|
|
|
filter_path => "list", |
2141
|
|
|
|
|
|
|
flat_settings => "boolean", |
2142
|
|
|
|
|
|
|
human => "boolean", |
2143
|
|
|
|
|
|
|
timeout => "time", |
2144
|
|
|
|
|
|
|
}, |
2145
|
|
|
|
|
|
|
}, |
2146
|
|
|
|
|
|
|
|
2147
|
|
|
|
|
|
|
'dangling_indices.delete_dangling_index' => { |
2148
|
|
|
|
|
|
|
doc => "modules-gateway-dangling-indices", |
2149
|
|
|
|
|
|
|
method => "DELETE", |
2150
|
|
|
|
|
|
|
parts => { index_uuid => {} }, |
2151
|
|
|
|
|
|
|
paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], |
2152
|
|
|
|
|
|
|
qs => { |
2153
|
|
|
|
|
|
|
accept_data_loss => "boolean", |
2154
|
|
|
|
|
|
|
error_trace => "boolean", |
2155
|
|
|
|
|
|
|
filter_path => "list", |
2156
|
|
|
|
|
|
|
human => "boolean", |
2157
|
|
|
|
|
|
|
master_timeout => "time", |
2158
|
|
|
|
|
|
|
timeout => "time", |
2159
|
|
|
|
|
|
|
}, |
2160
|
|
|
|
|
|
|
}, |
2161
|
|
|
|
|
|
|
|
2162
|
|
|
|
|
|
|
'dangling_indices.import_dangling_index' => { |
2163
|
|
|
|
|
|
|
doc => "modules-gateway-dangling-indices", |
2164
|
|
|
|
|
|
|
method => "POST", |
2165
|
|
|
|
|
|
|
parts => { index_uuid => {} }, |
2166
|
|
|
|
|
|
|
paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], |
2167
|
|
|
|
|
|
|
qs => { |
2168
|
|
|
|
|
|
|
accept_data_loss => "boolean", |
2169
|
|
|
|
|
|
|
error_trace => "boolean", |
2170
|
|
|
|
|
|
|
filter_path => "list", |
2171
|
|
|
|
|
|
|
human => "boolean", |
2172
|
|
|
|
|
|
|
master_timeout => "time", |
2173
|
|
|
|
|
|
|
timeout => "time", |
2174
|
|
|
|
|
|
|
}, |
2175
|
|
|
|
|
|
|
}, |
2176
|
|
|
|
|
|
|
|
2177
|
|
|
|
|
|
|
'dangling_indices.list_dangling_indices' => { |
2178
|
|
|
|
|
|
|
doc => "modules-gateway-dangling-indices", |
2179
|
|
|
|
|
|
|
parts => {}, |
2180
|
|
|
|
|
|
|
paths => [ [ {}, "_dangling" ] ], |
2181
|
|
|
|
|
|
|
qs => { |
2182
|
|
|
|
|
|
|
error_trace => "boolean", |
2183
|
|
|
|
|
|
|
filter_path => "list", |
2184
|
|
|
|
|
|
|
human => "boolean" |
2185
|
|
|
|
|
|
|
}, |
2186
|
|
|
|
|
|
|
}, |
2187
|
|
|
|
|
|
|
|
2188
|
|
|
|
|
|
|
'data_frame_transform_deprecated.delete_transform' => { |
2189
|
|
|
|
|
|
|
doc => "delete-transform", |
2190
|
|
|
|
|
|
|
method => "DELETE", |
2191
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2192
|
|
|
|
|
|
|
paths => [ |
2193
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2194
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2195
|
|
|
|
|
|
|
], |
2196
|
|
|
|
|
|
|
], |
2197
|
|
|
|
|
|
|
qs => { |
2198
|
|
|
|
|
|
|
error_trace => "boolean", |
2199
|
|
|
|
|
|
|
filter_path => "list", |
2200
|
|
|
|
|
|
|
force => "boolean", |
2201
|
|
|
|
|
|
|
human => "boolean", |
2202
|
|
|
|
|
|
|
}, |
2203
|
|
|
|
|
|
|
}, |
2204
|
|
|
|
|
|
|
|
2205
|
|
|
|
|
|
|
'data_frame_transform_deprecated.get_transform' => { |
2206
|
|
|
|
|
|
|
doc => "get-transform", |
2207
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2208
|
|
|
|
|
|
|
paths => [ |
2209
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2210
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2211
|
|
|
|
|
|
|
], |
2212
|
|
|
|
|
|
|
[ {}, "_data_frame", "transforms" ], |
2213
|
|
|
|
|
|
|
], |
2214
|
|
|
|
|
|
|
qs => { |
2215
|
|
|
|
|
|
|
allow_no_match => "boolean", |
2216
|
|
|
|
|
|
|
error_trace => "boolean", |
2217
|
|
|
|
|
|
|
exclude_generated => "boolean", |
2218
|
|
|
|
|
|
|
filter_path => "list", |
2219
|
|
|
|
|
|
|
from => "int", |
2220
|
|
|
|
|
|
|
human => "boolean", |
2221
|
|
|
|
|
|
|
size => "int", |
2222
|
|
|
|
|
|
|
}, |
2223
|
|
|
|
|
|
|
}, |
2224
|
|
|
|
|
|
|
|
2225
|
|
|
|
|
|
|
'data_frame_transform_deprecated.get_transform_stats' => { |
2226
|
|
|
|
|
|
|
doc => "get-transform-stats", |
2227
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2228
|
|
|
|
|
|
|
paths => [ |
2229
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2230
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2231
|
|
|
|
|
|
|
"_stats", |
2232
|
|
|
|
|
|
|
], |
2233
|
|
|
|
|
|
|
], |
2234
|
|
|
|
|
|
|
qs => { |
2235
|
|
|
|
|
|
|
allow_no_match => "boolean", |
2236
|
|
|
|
|
|
|
error_trace => "boolean", |
2237
|
|
|
|
|
|
|
filter_path => "list", |
2238
|
|
|
|
|
|
|
from => "number", |
2239
|
|
|
|
|
|
|
human => "boolean", |
2240
|
|
|
|
|
|
|
size => "number", |
2241
|
|
|
|
|
|
|
}, |
2242
|
|
|
|
|
|
|
}, |
2243
|
|
|
|
|
|
|
|
2244
|
|
|
|
|
|
|
'data_frame_transform_deprecated.preview_transform' => { |
2245
|
|
|
|
|
|
|
body => { required => 1 }, |
2246
|
|
|
|
|
|
|
doc => "preview-transform", |
2247
|
|
|
|
|
|
|
method => "POST", |
2248
|
|
|
|
|
|
|
parts => {}, |
2249
|
|
|
|
|
|
|
paths => [ [ {}, "_data_frame", "transforms", "_preview" ] ], |
2250
|
|
|
|
|
|
|
qs => { |
2251
|
|
|
|
|
|
|
error_trace => "boolean", |
2252
|
|
|
|
|
|
|
filter_path => "list", |
2253
|
|
|
|
|
|
|
human => "boolean" |
2254
|
|
|
|
|
|
|
}, |
2255
|
|
|
|
|
|
|
}, |
2256
|
|
|
|
|
|
|
|
2257
|
|
|
|
|
|
|
'data_frame_transform_deprecated.put_transform' => { |
2258
|
|
|
|
|
|
|
body => { required => 1 }, |
2259
|
|
|
|
|
|
|
doc => "put-transform", |
2260
|
|
|
|
|
|
|
method => "PUT", |
2261
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2262
|
|
|
|
|
|
|
paths => [ |
2263
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2264
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2265
|
|
|
|
|
|
|
], |
2266
|
|
|
|
|
|
|
], |
2267
|
|
|
|
|
|
|
qs => { |
2268
|
|
|
|
|
|
|
defer_validation => "boolean", |
2269
|
|
|
|
|
|
|
error_trace => "boolean", |
2270
|
|
|
|
|
|
|
filter_path => "list", |
2271
|
|
|
|
|
|
|
human => "boolean", |
2272
|
|
|
|
|
|
|
}, |
2273
|
|
|
|
|
|
|
}, |
2274
|
|
|
|
|
|
|
|
2275
|
|
|
|
|
|
|
'data_frame_transform_deprecated.start_transform' => { |
2276
|
|
|
|
|
|
|
doc => "start-transform", |
2277
|
|
|
|
|
|
|
method => "POST", |
2278
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2279
|
|
|
|
|
|
|
paths => [ |
2280
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2281
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2282
|
|
|
|
|
|
|
"_start", |
2283
|
|
|
|
|
|
|
], |
2284
|
|
|
|
|
|
|
], |
2285
|
|
|
|
|
|
|
qs => { |
2286
|
|
|
|
|
|
|
error_trace => "boolean", |
2287
|
|
|
|
|
|
|
filter_path => "list", |
2288
|
|
|
|
|
|
|
human => "boolean", |
2289
|
|
|
|
|
|
|
timeout => "time", |
2290
|
|
|
|
|
|
|
}, |
2291
|
|
|
|
|
|
|
}, |
2292
|
|
|
|
|
|
|
|
2293
|
|
|
|
|
|
|
'data_frame_transform_deprecated.stop_transform' => { |
2294
|
|
|
|
|
|
|
doc => "stop-transform", |
2295
|
|
|
|
|
|
|
method => "POST", |
2296
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
2297
|
|
|
|
|
|
|
paths => [ |
2298
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2299
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2300
|
|
|
|
|
|
|
"_stop", |
2301
|
|
|
|
|
|
|
], |
2302
|
|
|
|
|
|
|
], |
2303
|
|
|
|
|
|
|
qs => { |
2304
|
|
|
|
|
|
|
allow_no_match => "boolean", |
2305
|
|
|
|
|
|
|
error_trace => "boolean", |
2306
|
|
|
|
|
|
|
filter_path => "list", |
2307
|
|
|
|
|
|
|
human => "boolean", |
2308
|
|
|
|
|
|
|
timeout => "time", |
2309
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
2310
|
|
|
|
|
|
|
}, |
2311
|
|
|
|
|
|
|
}, |
2312
|
|
|
|
|
|
|
|
2313
|
|
|
|
|
|
|
'data_frame_transform_deprecated.update_transform' => { |
2314
|
|
|
|
|
|
|
body => { required => 1 }, |
2315
|
|
|
|
|
|
|
doc => "update-transform", |
2316
|
|
|
|
|
|
|
method => "POST", |
2317
|
|
|
|
|
|
|
parts => { transform_id => { required => 1 } }, |
2318
|
|
|
|
|
|
|
paths => [ |
2319
|
|
|
|
|
|
|
[ { transform_id => 2 }, "_data_frame", |
2320
|
|
|
|
|
|
|
"transforms", "{transform_id}", |
2321
|
|
|
|
|
|
|
"_update", |
2322
|
|
|
|
|
|
|
], |
2323
|
|
|
|
|
|
|
], |
2324
|
|
|
|
|
|
|
qs => { |
2325
|
|
|
|
|
|
|
defer_validation => "boolean", |
2326
|
|
|
|
|
|
|
error_trace => "boolean", |
2327
|
|
|
|
|
|
|
filter_path => "list", |
2328
|
|
|
|
|
|
|
human => "boolean", |
2329
|
|
|
|
|
|
|
}, |
2330
|
|
|
|
|
|
|
}, |
2331
|
|
|
|
|
|
|
|
2332
|
|
|
|
|
|
|
'enrich.delete_policy' => { |
2333
|
|
|
|
|
|
|
doc => "delete-enrich-policy-api", |
2334
|
|
|
|
|
|
|
method => "DELETE", |
2335
|
|
|
|
|
|
|
parts => { name => {} }, |
2336
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], |
2337
|
|
|
|
|
|
|
qs => { |
2338
|
|
|
|
|
|
|
error_trace => "boolean", |
2339
|
|
|
|
|
|
|
filter_path => "list", |
2340
|
|
|
|
|
|
|
human => "boolean" |
2341
|
|
|
|
|
|
|
}, |
2342
|
|
|
|
|
|
|
}, |
2343
|
|
|
|
|
|
|
|
2344
|
|
|
|
|
|
|
'enrich.execute_policy' => { |
2345
|
|
|
|
|
|
|
doc => "execute-enrich-policy-api", |
2346
|
|
|
|
|
|
|
method => "PUT", |
2347
|
|
|
|
|
|
|
parts => { name => {} }, |
2348
|
|
|
|
|
|
|
paths => |
2349
|
|
|
|
|
|
|
[ [ { name => 2 }, "_enrich", "policy", "{name}", "_execute" ] ], |
2350
|
|
|
|
|
|
|
qs => { |
2351
|
|
|
|
|
|
|
error_trace => "boolean", |
2352
|
|
|
|
|
|
|
filter_path => "list", |
2353
|
|
|
|
|
|
|
human => "boolean", |
2354
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
2355
|
|
|
|
|
|
|
}, |
2356
|
|
|
|
|
|
|
}, |
2357
|
|
|
|
|
|
|
|
2358
|
|
|
|
|
|
|
'enrich.get_policy' => { |
2359
|
|
|
|
|
|
|
doc => "get-enrich-policy-api", |
2360
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
2361
|
|
|
|
|
|
|
paths => [ |
2362
|
|
|
|
|
|
|
[ { name => 2 }, "_enrich", "policy", "{name}" ], |
2363
|
|
|
|
|
|
|
[ {}, "_enrich", "policy" ], |
2364
|
|
|
|
|
|
|
], |
2365
|
|
|
|
|
|
|
qs => { |
2366
|
|
|
|
|
|
|
error_trace => "boolean", |
2367
|
|
|
|
|
|
|
filter_path => "list", |
2368
|
|
|
|
|
|
|
human => "boolean" |
2369
|
|
|
|
|
|
|
}, |
2370
|
|
|
|
|
|
|
}, |
2371
|
|
|
|
|
|
|
|
2372
|
|
|
|
|
|
|
'enrich.put_policy' => { |
2373
|
|
|
|
|
|
|
body => { required => 1 }, |
2374
|
|
|
|
|
|
|
doc => "put-enrich-policy-api", |
2375
|
|
|
|
|
|
|
method => "PUT", |
2376
|
|
|
|
|
|
|
parts => { name => {} }, |
2377
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], |
2378
|
|
|
|
|
|
|
qs => { |
2379
|
|
|
|
|
|
|
error_trace => "boolean", |
2380
|
|
|
|
|
|
|
filter_path => "list", |
2381
|
|
|
|
|
|
|
human => "boolean" |
2382
|
|
|
|
|
|
|
}, |
2383
|
|
|
|
|
|
|
}, |
2384
|
|
|
|
|
|
|
|
2385
|
|
|
|
|
|
|
'enrich.stats' => { |
2386
|
|
|
|
|
|
|
doc => "enrich-stats-api", |
2387
|
|
|
|
|
|
|
parts => {}, |
2388
|
|
|
|
|
|
|
paths => [ [ {}, "_enrich", "_stats" ] ], |
2389
|
|
|
|
|
|
|
qs => { |
2390
|
|
|
|
|
|
|
error_trace => "boolean", |
2391
|
|
|
|
|
|
|
filter_path => "list", |
2392
|
|
|
|
|
|
|
human => "boolean" |
2393
|
|
|
|
|
|
|
}, |
2394
|
|
|
|
|
|
|
}, |
2395
|
|
|
|
|
|
|
|
2396
|
|
|
|
|
|
|
'eql.delete' => { |
2397
|
|
|
|
|
|
|
doc => "eql-search-api", |
2398
|
|
|
|
|
|
|
method => "DELETE", |
2399
|
|
|
|
|
|
|
parts => { id => {} }, |
2400
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], |
2401
|
|
|
|
|
|
|
qs => { |
2402
|
|
|
|
|
|
|
error_trace => "boolean", |
2403
|
|
|
|
|
|
|
filter_path => "list", |
2404
|
|
|
|
|
|
|
human => "boolean" |
2405
|
|
|
|
|
|
|
}, |
2406
|
|
|
|
|
|
|
}, |
2407
|
|
|
|
|
|
|
|
2408
|
|
|
|
|
|
|
'eql.get' => { |
2409
|
|
|
|
|
|
|
doc => "eql-search-api", |
2410
|
|
|
|
|
|
|
parts => { id => {} }, |
2411
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], |
2412
|
|
|
|
|
|
|
qs => { |
2413
|
|
|
|
|
|
|
error_trace => "boolean", |
2414
|
|
|
|
|
|
|
filter_path => "list", |
2415
|
|
|
|
|
|
|
human => "boolean", |
2416
|
|
|
|
|
|
|
keep_alive => "time", |
2417
|
|
|
|
|
|
|
wait_for_completion_timeout => "time", |
2418
|
|
|
|
|
|
|
}, |
2419
|
|
|
|
|
|
|
}, |
2420
|
|
|
|
|
|
|
|
2421
|
|
|
|
|
|
|
'eql.get_status' => { |
2422
|
|
|
|
|
|
|
doc => "eql-search-api", |
2423
|
|
|
|
|
|
|
parts => { id => {} }, |
2424
|
|
|
|
|
|
|
paths => [ [ { id => 3 }, "_eql", "search", "status", "{id}" ] ], |
2425
|
|
|
|
|
|
|
qs => { |
2426
|
|
|
|
|
|
|
error_trace => "boolean", |
2427
|
|
|
|
|
|
|
filter_path => "list", |
2428
|
|
|
|
|
|
|
human => "boolean" |
2429
|
|
|
|
|
|
|
}, |
2430
|
|
|
|
|
|
|
}, |
2431
|
|
|
|
|
|
|
|
2432
|
|
|
|
|
|
|
'eql.search' => { |
2433
|
|
|
|
|
|
|
body => { required => 1 }, |
2434
|
|
|
|
|
|
|
doc => "eql-search-api", |
2435
|
|
|
|
|
|
|
parts => { index => {} }, |
2436
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_eql", "search" ] ], |
2437
|
|
|
|
|
|
|
qs => { |
2438
|
|
|
|
|
|
|
error_trace => "boolean", |
2439
|
|
|
|
|
|
|
filter_path => "list", |
2440
|
|
|
|
|
|
|
human => "boolean", |
2441
|
|
|
|
|
|
|
keep_alive => "time", |
2442
|
|
|
|
|
|
|
keep_on_completion => "boolean", |
2443
|
|
|
|
|
|
|
wait_for_completion_timeout => "time", |
2444
|
|
|
|
|
|
|
}, |
2445
|
|
|
|
|
|
|
}, |
2446
|
|
|
|
|
|
|
|
2447
|
|
|
|
|
|
|
'features.get_features' => { |
2448
|
|
|
|
|
|
|
doc => "get-features-api", |
2449
|
|
|
|
|
|
|
parts => {}, |
2450
|
|
|
|
|
|
|
paths => [ [ {}, "_features" ] ], |
2451
|
|
|
|
|
|
|
qs => { |
2452
|
|
|
|
|
|
|
error_trace => "boolean", |
2453
|
|
|
|
|
|
|
filter_path => "list", |
2454
|
|
|
|
|
|
|
human => "boolean", |
2455
|
|
|
|
|
|
|
master_timeout => "time", |
2456
|
|
|
|
|
|
|
}, |
2457
|
|
|
|
|
|
|
}, |
2458
|
|
|
|
|
|
|
|
2459
|
|
|
|
|
|
|
'features.reset_features' => { |
2460
|
|
|
|
|
|
|
doc => "modules-snapshots", |
2461
|
|
|
|
|
|
|
method => "POST", |
2462
|
|
|
|
|
|
|
parts => {}, |
2463
|
|
|
|
|
|
|
paths => [ [ {}, "_features", "_reset" ] ], |
2464
|
|
|
|
|
|
|
qs => { |
2465
|
|
|
|
|
|
|
error_trace => "boolean", |
2466
|
|
|
|
|
|
|
filter_path => "list", |
2467
|
|
|
|
|
|
|
human => "boolean" |
2468
|
|
|
|
|
|
|
}, |
2469
|
|
|
|
|
|
|
}, |
2470
|
|
|
|
|
|
|
|
2471
|
|
|
|
|
|
|
'fleet.global_checkpoints' => { |
2472
|
|
|
|
|
|
|
doc => "get-global-checkpoints", |
2473
|
|
|
|
|
|
|
parts => { index => {} }, |
2474
|
|
|
|
|
|
|
paths => |
2475
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_fleet", "global_checkpoints" ] ], |
2476
|
|
|
|
|
|
|
qs => { |
2477
|
|
|
|
|
|
|
checkpoints => "list", |
2478
|
|
|
|
|
|
|
error_trace => "boolean", |
2479
|
|
|
|
|
|
|
filter_path => "list", |
2480
|
|
|
|
|
|
|
human => "boolean", |
2481
|
|
|
|
|
|
|
timeout => "time", |
2482
|
|
|
|
|
|
|
wait_for_advance => "boolean", |
2483
|
|
|
|
|
|
|
wait_for_index => "boolean", |
2484
|
|
|
|
|
|
|
}, |
2485
|
|
|
|
|
|
|
}, |
2486
|
|
|
|
|
|
|
|
2487
|
|
|
|
|
|
|
'fleet.msearch' => { |
2488
|
|
|
|
|
|
|
body => { required => 1 }, |
2489
|
|
|
|
|
|
|
parts => { index => {} }, |
2490
|
|
|
|
|
|
|
paths => [ |
2491
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_fleet", "_fleet_msearch" ], |
2492
|
|
|
|
|
|
|
[ {}, "_fleet", "_fleet_msearch" ], |
2493
|
|
|
|
|
|
|
], |
2494
|
|
|
|
|
|
|
qs => { |
2495
|
|
|
|
|
|
|
error_trace => "boolean", |
2496
|
|
|
|
|
|
|
filter_path => "list", |
2497
|
|
|
|
|
|
|
human => "boolean" |
2498
|
|
|
|
|
|
|
}, |
2499
|
|
|
|
|
|
|
serialize => "bulk", |
2500
|
|
|
|
|
|
|
}, |
2501
|
|
|
|
|
|
|
|
2502
|
|
|
|
|
|
|
'fleet.search' => { |
2503
|
|
|
|
|
|
|
body => {}, |
2504
|
|
|
|
|
|
|
parts => { index => {} }, |
2505
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_fleet", "_fleet_search" ] ], |
2506
|
|
|
|
|
|
|
qs => { |
2507
|
|
|
|
|
|
|
allow_partial_search_results => "boolean", |
2508
|
|
|
|
|
|
|
error_trace => "boolean", |
2509
|
|
|
|
|
|
|
filter_path => "list", |
2510
|
|
|
|
|
|
|
human => "boolean", |
2511
|
|
|
|
|
|
|
wait_for_checkpoints => "list", |
2512
|
|
|
|
|
|
|
wait_for_checkpoints_timeout => "time", |
2513
|
|
|
|
|
|
|
}, |
2514
|
|
|
|
|
|
|
}, |
2515
|
|
|
|
|
|
|
|
2516
|
|
|
|
|
|
|
'graph.explore' => { |
2517
|
|
|
|
|
|
|
body => {}, |
2518
|
|
|
|
|
|
|
doc => "graph-explore-api", |
2519
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
2520
|
|
|
|
|
|
|
paths => [ |
2521
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
2522
|
|
|
|
|
|
|
"{type}", "_graph", |
2523
|
|
|
|
|
|
|
"explore", |
2524
|
|
|
|
|
|
|
], |
2525
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_graph", "explore" ], |
2526
|
|
|
|
|
|
|
], |
2527
|
|
|
|
|
|
|
qs => { |
2528
|
|
|
|
|
|
|
error_trace => "boolean", |
2529
|
|
|
|
|
|
|
filter_path => "list", |
2530
|
|
|
|
|
|
|
human => "boolean", |
2531
|
|
|
|
|
|
|
routing => "string", |
2532
|
|
|
|
|
|
|
timeout => "time", |
2533
|
|
|
|
|
|
|
}, |
2534
|
|
|
|
|
|
|
}, |
2535
|
|
|
|
|
|
|
|
2536
|
|
|
|
|
|
|
'ilm.delete_lifecycle' => { |
2537
|
|
|
|
|
|
|
doc => "ilm-delete-lifecycle", |
2538
|
|
|
|
|
|
|
method => "DELETE", |
2539
|
|
|
|
|
|
|
parts => { policy => {} }, |
2540
|
|
|
|
|
|
|
paths => [ [ { policy => 2 }, "_ilm", "policy", "{policy}" ] ], |
2541
|
|
|
|
|
|
|
qs => { |
2542
|
|
|
|
|
|
|
error_trace => "boolean", |
2543
|
|
|
|
|
|
|
filter_path => "list", |
2544
|
|
|
|
|
|
|
human => "boolean" |
2545
|
|
|
|
|
|
|
}, |
2546
|
|
|
|
|
|
|
}, |
2547
|
|
|
|
|
|
|
|
2548
|
|
|
|
|
|
|
'ilm.explain_lifecycle' => { |
2549
|
|
|
|
|
|
|
doc => "ilm-explain-lifecycle", |
2550
|
|
|
|
|
|
|
parts => { index => {} }, |
2551
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ilm", "explain" ] ], |
2552
|
|
|
|
|
|
|
qs => { |
2553
|
|
|
|
|
|
|
error_trace => "boolean", |
2554
|
|
|
|
|
|
|
filter_path => "list", |
2555
|
|
|
|
|
|
|
human => "boolean", |
2556
|
|
|
|
|
|
|
only_errors => "boolean", |
2557
|
|
|
|
|
|
|
only_managed => "boolean", |
2558
|
|
|
|
|
|
|
}, |
2559
|
|
|
|
|
|
|
}, |
2560
|
|
|
|
|
|
|
|
2561
|
|
|
|
|
|
|
'ilm.get_lifecycle' => { |
2562
|
|
|
|
|
|
|
doc => "ilm-get-lifecycle", |
2563
|
|
|
|
|
|
|
parts => { policy => {} }, |
2564
|
|
|
|
|
|
|
paths => [ |
2565
|
|
|
|
|
|
|
[ { policy => 2 }, "_ilm", "policy", "{policy}" ], |
2566
|
|
|
|
|
|
|
[ {}, "_ilm", "policy" ], |
2567
|
|
|
|
|
|
|
], |
2568
|
|
|
|
|
|
|
qs => { |
2569
|
|
|
|
|
|
|
error_trace => "boolean", |
2570
|
|
|
|
|
|
|
filter_path => "list", |
2571
|
|
|
|
|
|
|
human => "boolean" |
2572
|
|
|
|
|
|
|
}, |
2573
|
|
|
|
|
|
|
}, |
2574
|
|
|
|
|
|
|
|
2575
|
|
|
|
|
|
|
'ilm.get_status' => { |
2576
|
|
|
|
|
|
|
doc => "ilm-get-status", |
2577
|
|
|
|
|
|
|
parts => {}, |
2578
|
|
|
|
|
|
|
paths => [ [ {}, "_ilm", "status" ] ], |
2579
|
|
|
|
|
|
|
qs => { |
2580
|
|
|
|
|
|
|
error_trace => "boolean", |
2581
|
|
|
|
|
|
|
filter_path => "list", |
2582
|
|
|
|
|
|
|
human => "boolean" |
2583
|
|
|
|
|
|
|
}, |
2584
|
|
|
|
|
|
|
}, |
2585
|
|
|
|
|
|
|
|
2586
|
|
|
|
|
|
|
'ilm.migrate_to_data_tiers' => { |
2587
|
|
|
|
|
|
|
body => {}, |
2588
|
|
|
|
|
|
|
doc => "ilm-migrate-to-data-tiers", |
2589
|
|
|
|
|
|
|
method => "POST", |
2590
|
|
|
|
|
|
|
parts => {}, |
2591
|
|
|
|
|
|
|
paths => [ [ {}, "_ilm", "migrate_to_data_tiers" ] ], |
2592
|
|
|
|
|
|
|
qs => { |
2593
|
|
|
|
|
|
|
dry_run => "boolean", |
2594
|
|
|
|
|
|
|
error_trace => "boolean", |
2595
|
|
|
|
|
|
|
filter_path => "list", |
2596
|
|
|
|
|
|
|
human => "boolean", |
2597
|
|
|
|
|
|
|
}, |
2598
|
|
|
|
|
|
|
}, |
2599
|
|
|
|
|
|
|
|
2600
|
|
|
|
|
|
|
'ilm.move_to_step' => { |
2601
|
|
|
|
|
|
|
body => {}, |
2602
|
|
|
|
|
|
|
doc => "ilm-move-to-step", |
2603
|
|
|
|
|
|
|
method => "POST", |
2604
|
|
|
|
|
|
|
parts => { index => {} }, |
2605
|
|
|
|
|
|
|
paths => [ [ { index => 2 }, "_ilm", "move", "{index}" ] ], |
2606
|
|
|
|
|
|
|
qs => { |
2607
|
|
|
|
|
|
|
error_trace => "boolean", |
2608
|
|
|
|
|
|
|
filter_path => "list", |
2609
|
|
|
|
|
|
|
human => "boolean" |
2610
|
|
|
|
|
|
|
}, |
2611
|
|
|
|
|
|
|
}, |
2612
|
|
|
|
|
|
|
|
2613
|
|
|
|
|
|
|
'ilm.put_lifecycle' => { |
2614
|
|
|
|
|
|
|
body => {}, |
2615
|
|
|
|
|
|
|
doc => "ilm-put-lifecycle", |
2616
|
|
|
|
|
|
|
method => "PUT", |
2617
|
|
|
|
|
|
|
parts => { policy => {} }, |
2618
|
|
|
|
|
|
|
paths => [ [ { policy => 2 }, "_ilm", "policy", "{policy}" ] ], |
2619
|
|
|
|
|
|
|
qs => { |
2620
|
|
|
|
|
|
|
error_trace => "boolean", |
2621
|
|
|
|
|
|
|
filter_path => "list", |
2622
|
|
|
|
|
|
|
human => "boolean" |
2623
|
|
|
|
|
|
|
}, |
2624
|
|
|
|
|
|
|
}, |
2625
|
|
|
|
|
|
|
|
2626
|
|
|
|
|
|
|
'ilm.remove_policy' => { |
2627
|
|
|
|
|
|
|
doc => "ilm-remove-policy", |
2628
|
|
|
|
|
|
|
method => "POST", |
2629
|
|
|
|
|
|
|
parts => { index => {} }, |
2630
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ilm", "remove" ] ], |
2631
|
|
|
|
|
|
|
qs => { |
2632
|
|
|
|
|
|
|
error_trace => "boolean", |
2633
|
|
|
|
|
|
|
filter_path => "list", |
2634
|
|
|
|
|
|
|
human => "boolean" |
2635
|
|
|
|
|
|
|
}, |
2636
|
|
|
|
|
|
|
}, |
2637
|
|
|
|
|
|
|
|
2638
|
|
|
|
|
|
|
'ilm.retry' => { |
2639
|
|
|
|
|
|
|
doc => "ilm-retry-policy", |
2640
|
|
|
|
|
|
|
method => "POST", |
2641
|
|
|
|
|
|
|
parts => { index => {} }, |
2642
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_ilm", "retry" ] ], |
2643
|
|
|
|
|
|
|
qs => { |
2644
|
|
|
|
|
|
|
error_trace => "boolean", |
2645
|
|
|
|
|
|
|
filter_path => "list", |
2646
|
|
|
|
|
|
|
human => "boolean" |
2647
|
|
|
|
|
|
|
}, |
2648
|
|
|
|
|
|
|
}, |
2649
|
|
|
|
|
|
|
|
2650
|
|
|
|
|
|
|
'ilm.start' => { |
2651
|
|
|
|
|
|
|
doc => "ilm-start", |
2652
|
|
|
|
|
|
|
method => "POST", |
2653
|
|
|
|
|
|
|
parts => {}, |
2654
|
|
|
|
|
|
|
paths => [ [ {}, "_ilm", "start" ] ], |
2655
|
|
|
|
|
|
|
qs => { |
2656
|
|
|
|
|
|
|
error_trace => "boolean", |
2657
|
|
|
|
|
|
|
filter_path => "list", |
2658
|
|
|
|
|
|
|
human => "boolean" |
2659
|
|
|
|
|
|
|
}, |
2660
|
|
|
|
|
|
|
}, |
2661
|
|
|
|
|
|
|
|
2662
|
|
|
|
|
|
|
'ilm.stop' => { |
2663
|
|
|
|
|
|
|
doc => "ilm-stop", |
2664
|
|
|
|
|
|
|
method => "POST", |
2665
|
|
|
|
|
|
|
parts => {}, |
2666
|
|
|
|
|
|
|
paths => [ [ {}, "_ilm", "stop" ] ], |
2667
|
|
|
|
|
|
|
qs => { |
2668
|
|
|
|
|
|
|
error_trace => "boolean", |
2669
|
|
|
|
|
|
|
filter_path => "list", |
2670
|
|
|
|
|
|
|
human => "boolean" |
2671
|
|
|
|
|
|
|
}, |
2672
|
|
|
|
|
|
|
}, |
2673
|
|
|
|
|
|
|
|
2674
|
|
|
|
|
|
|
'indices.add_block' => { |
2675
|
|
|
|
|
|
|
doc => "index-modules-blocks", |
2676
|
|
|
|
|
|
|
method => "PUT", |
2677
|
|
|
|
|
|
|
parts => { block => {}, index => { multi => 1 } }, |
2678
|
|
|
|
|
|
|
paths => [ |
2679
|
|
|
|
|
|
|
[ { block => 2, index => 0 }, "{index}", "_block", "{block}" ] |
2680
|
|
|
|
|
|
|
], |
2681
|
|
|
|
|
|
|
qs => { |
2682
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2683
|
|
|
|
|
|
|
error_trace => "boolean", |
2684
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2685
|
|
|
|
|
|
|
filter_path => "list", |
2686
|
|
|
|
|
|
|
human => "boolean", |
2687
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2688
|
|
|
|
|
|
|
master_timeout => "time", |
2689
|
|
|
|
|
|
|
timeout => "time", |
2690
|
|
|
|
|
|
|
}, |
2691
|
|
|
|
|
|
|
}, |
2692
|
|
|
|
|
|
|
|
2693
|
|
|
|
|
|
|
'indices.analyze' => { |
2694
|
|
|
|
|
|
|
body => {}, |
2695
|
|
|
|
|
|
|
doc => "indices-analyze", |
2696
|
|
|
|
|
|
|
parts => { index => {} }, |
2697
|
|
|
|
|
|
|
paths => |
2698
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_analyze" ], [ {}, "_analyze" ] ], |
2699
|
|
|
|
|
|
|
qs => { |
2700
|
|
|
|
|
|
|
error_trace => "boolean", |
2701
|
|
|
|
|
|
|
filter_path => "list", |
2702
|
|
|
|
|
|
|
human => "boolean" |
2703
|
|
|
|
|
|
|
}, |
2704
|
|
|
|
|
|
|
}, |
2705
|
|
|
|
|
|
|
|
2706
|
|
|
|
|
|
|
'indices.clear_cache' => { |
2707
|
|
|
|
|
|
|
doc => "indices-clearcache", |
2708
|
|
|
|
|
|
|
method => "POST", |
2709
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
2710
|
|
|
|
|
|
|
paths => [ |
2711
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_cache", "clear" ], |
2712
|
|
|
|
|
|
|
[ {}, "_cache", "clear" ], |
2713
|
|
|
|
|
|
|
], |
2714
|
|
|
|
|
|
|
qs => { |
2715
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2716
|
|
|
|
|
|
|
error_trace => "boolean", |
2717
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2718
|
|
|
|
|
|
|
fielddata => "boolean", |
2719
|
|
|
|
|
|
|
fields => "list", |
2720
|
|
|
|
|
|
|
filter_path => "list", |
2721
|
|
|
|
|
|
|
human => "boolean", |
2722
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2723
|
|
|
|
|
|
|
query => "boolean", |
2724
|
|
|
|
|
|
|
request => "boolean", |
2725
|
|
|
|
|
|
|
}, |
2726
|
|
|
|
|
|
|
}, |
2727
|
|
|
|
|
|
|
|
2728
|
|
|
|
|
|
|
'indices.clone' => { |
2729
|
|
|
|
|
|
|
body => {}, |
2730
|
|
|
|
|
|
|
doc => "indices-clone-index", |
2731
|
|
|
|
|
|
|
method => "PUT", |
2732
|
|
|
|
|
|
|
parts => { index => {}, target => {} }, |
2733
|
|
|
|
|
|
|
paths => [ |
2734
|
|
|
|
|
|
|
[ { index => 0, target => 2 }, "{index}", "_clone", "{target}" ], |
2735
|
|
|
|
|
|
|
], |
2736
|
|
|
|
|
|
|
qs => { |
2737
|
|
|
|
|
|
|
error_trace => "boolean", |
2738
|
|
|
|
|
|
|
filter_path => "list", |
2739
|
|
|
|
|
|
|
human => "boolean", |
2740
|
|
|
|
|
|
|
master_timeout => "time", |
2741
|
|
|
|
|
|
|
timeout => "time", |
2742
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
2743
|
|
|
|
|
|
|
}, |
2744
|
|
|
|
|
|
|
}, |
2745
|
|
|
|
|
|
|
|
2746
|
|
|
|
|
|
|
'indices.close' => { |
2747
|
|
|
|
|
|
|
doc => "indices-open-close", |
2748
|
|
|
|
|
|
|
method => "POST", |
2749
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
2750
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_close" ] ], |
2751
|
|
|
|
|
|
|
qs => { |
2752
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2753
|
|
|
|
|
|
|
error_trace => "boolean", |
2754
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2755
|
|
|
|
|
|
|
filter_path => "list", |
2756
|
|
|
|
|
|
|
human => "boolean", |
2757
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2758
|
|
|
|
|
|
|
master_timeout => "time", |
2759
|
|
|
|
|
|
|
timeout => "time", |
2760
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
2761
|
|
|
|
|
|
|
}, |
2762
|
|
|
|
|
|
|
}, |
2763
|
|
|
|
|
|
|
|
2764
|
|
|
|
|
|
|
'indices.create' => { |
2765
|
|
|
|
|
|
|
body => {}, |
2766
|
|
|
|
|
|
|
doc => "indices-create-index", |
2767
|
|
|
|
|
|
|
method => "PUT", |
2768
|
|
|
|
|
|
|
parts => { index => {} }, |
2769
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}" ] ], |
2770
|
|
|
|
|
|
|
qs => { |
2771
|
|
|
|
|
|
|
error_trace => "boolean", |
2772
|
|
|
|
|
|
|
filter_path => "list", |
2773
|
|
|
|
|
|
|
human => "boolean", |
2774
|
|
|
|
|
|
|
include_type_name => "boolean", |
2775
|
|
|
|
|
|
|
master_timeout => "time", |
2776
|
|
|
|
|
|
|
timeout => "time", |
2777
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
2778
|
|
|
|
|
|
|
}, |
2779
|
|
|
|
|
|
|
}, |
2780
|
|
|
|
|
|
|
|
2781
|
|
|
|
|
|
|
'indices.create_data_stream' => { |
2782
|
|
|
|
|
|
|
doc => "data-streams", |
2783
|
|
|
|
|
|
|
method => "PUT", |
2784
|
|
|
|
|
|
|
parts => { name => {} }, |
2785
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_data_stream", "{name}" ] ], |
2786
|
|
|
|
|
|
|
qs => { |
2787
|
|
|
|
|
|
|
error_trace => "boolean", |
2788
|
|
|
|
|
|
|
filter_path => "list", |
2789
|
|
|
|
|
|
|
human => "boolean" |
2790
|
|
|
|
|
|
|
}, |
2791
|
|
|
|
|
|
|
}, |
2792
|
|
|
|
|
|
|
|
2793
|
|
|
|
|
|
|
'indices.data_streams_stats' => { |
2794
|
|
|
|
|
|
|
doc => "data-streams", |
2795
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
2796
|
|
|
|
|
|
|
paths => [ |
2797
|
|
|
|
|
|
|
[ { name => 1 }, "_data_stream", "{name}", "_stats" ], |
2798
|
|
|
|
|
|
|
[ {}, "_data_stream", "_stats" ], |
2799
|
|
|
|
|
|
|
], |
2800
|
|
|
|
|
|
|
qs => { |
2801
|
|
|
|
|
|
|
error_trace => "boolean", |
2802
|
|
|
|
|
|
|
filter_path => "list", |
2803
|
|
|
|
|
|
|
human => "boolean" |
2804
|
|
|
|
|
|
|
}, |
2805
|
|
|
|
|
|
|
}, |
2806
|
|
|
|
|
|
|
|
2807
|
|
|
|
|
|
|
'indices.delete' => { |
2808
|
|
|
|
|
|
|
doc => "indices-delete-index", |
2809
|
|
|
|
|
|
|
method => "DELETE", |
2810
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
2811
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}" ] ], |
2812
|
|
|
|
|
|
|
qs => { |
2813
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2814
|
|
|
|
|
|
|
error_trace => "boolean", |
2815
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2816
|
|
|
|
|
|
|
filter_path => "list", |
2817
|
|
|
|
|
|
|
human => "boolean", |
2818
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2819
|
|
|
|
|
|
|
master_timeout => "time", |
2820
|
|
|
|
|
|
|
timeout => "time", |
2821
|
|
|
|
|
|
|
}, |
2822
|
|
|
|
|
|
|
}, |
2823
|
|
|
|
|
|
|
|
2824
|
|
|
|
|
|
|
'indices.delete_alias' => { |
2825
|
|
|
|
|
|
|
doc => "indices-aliases", |
2826
|
|
|
|
|
|
|
method => "DELETE", |
2827
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, name => { multi => 1 } }, |
2828
|
|
|
|
|
|
|
paths => |
2829
|
|
|
|
|
|
|
[ [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ] ], |
2830
|
|
|
|
|
|
|
qs => { |
2831
|
|
|
|
|
|
|
error_trace => "boolean", |
2832
|
|
|
|
|
|
|
filter_path => "list", |
2833
|
|
|
|
|
|
|
human => "boolean", |
2834
|
|
|
|
|
|
|
master_timeout => "time", |
2835
|
|
|
|
|
|
|
timeout => "time", |
2836
|
|
|
|
|
|
|
}, |
2837
|
|
|
|
|
|
|
}, |
2838
|
|
|
|
|
|
|
|
2839
|
|
|
|
|
|
|
'indices.delete_data_stream' => { |
2840
|
|
|
|
|
|
|
doc => "data-streams", |
2841
|
|
|
|
|
|
|
method => "DELETE", |
2842
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
2843
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_data_stream", "{name}" ] ], |
2844
|
|
|
|
|
|
|
qs => { |
2845
|
|
|
|
|
|
|
error_trace => "boolean", |
2846
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2847
|
|
|
|
|
|
|
filter_path => "list", |
2848
|
|
|
|
|
|
|
human => "boolean", |
2849
|
|
|
|
|
|
|
}, |
2850
|
|
|
|
|
|
|
}, |
2851
|
|
|
|
|
|
|
|
2852
|
|
|
|
|
|
|
'indices.delete_index_template' => { |
2853
|
|
|
|
|
|
|
doc => "indices-templates", |
2854
|
|
|
|
|
|
|
method => "DELETE", |
2855
|
|
|
|
|
|
|
parts => { name => {} }, |
2856
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], |
2857
|
|
|
|
|
|
|
qs => { |
2858
|
|
|
|
|
|
|
error_trace => "boolean", |
2859
|
|
|
|
|
|
|
filter_path => "list", |
2860
|
|
|
|
|
|
|
human => "boolean", |
2861
|
|
|
|
|
|
|
master_timeout => "time", |
2862
|
|
|
|
|
|
|
timeout => "time", |
2863
|
|
|
|
|
|
|
}, |
2864
|
|
|
|
|
|
|
}, |
2865
|
|
|
|
|
|
|
|
2866
|
|
|
|
|
|
|
'indices.delete_template' => { |
2867
|
|
|
|
|
|
|
doc => "indices-templates", |
2868
|
|
|
|
|
|
|
method => "DELETE", |
2869
|
|
|
|
|
|
|
parts => { name => {} }, |
2870
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_template", "{name}" ] ], |
2871
|
|
|
|
|
|
|
qs => { |
2872
|
|
|
|
|
|
|
error_trace => "boolean", |
2873
|
|
|
|
|
|
|
filter_path => "list", |
2874
|
|
|
|
|
|
|
human => "boolean", |
2875
|
|
|
|
|
|
|
master_timeout => "time", |
2876
|
|
|
|
|
|
|
timeout => "time", |
2877
|
|
|
|
|
|
|
}, |
2878
|
|
|
|
|
|
|
}, |
2879
|
|
|
|
|
|
|
|
2880
|
|
|
|
|
|
|
'indices.disk_usage' => { |
2881
|
|
|
|
|
|
|
doc => "indices-disk-usage", |
2882
|
|
|
|
|
|
|
method => "POST", |
2883
|
|
|
|
|
|
|
parts => { index => {} }, |
2884
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_disk_usage" ] ], |
2885
|
|
|
|
|
|
|
qs => { |
2886
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2887
|
|
|
|
|
|
|
error_trace => "boolean", |
2888
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2889
|
|
|
|
|
|
|
filter_path => "list", |
2890
|
|
|
|
|
|
|
flush => "boolean", |
2891
|
|
|
|
|
|
|
human => "boolean", |
2892
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2893
|
|
|
|
|
|
|
run_expensive_tasks => "boolean", |
2894
|
|
|
|
|
|
|
}, |
2895
|
|
|
|
|
|
|
}, |
2896
|
|
|
|
|
|
|
|
2897
|
|
|
|
|
|
|
'indices.exists' => { |
2898
|
|
|
|
|
|
|
doc => "indices-exists", |
2899
|
|
|
|
|
|
|
method => "HEAD", |
2900
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
2901
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}" ] ], |
2902
|
|
|
|
|
|
|
qs => { |
2903
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2904
|
|
|
|
|
|
|
error_trace => "boolean", |
2905
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2906
|
|
|
|
|
|
|
filter_path => "list", |
2907
|
|
|
|
|
|
|
flat_settings => "boolean", |
2908
|
|
|
|
|
|
|
human => "boolean", |
2909
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2910
|
|
|
|
|
|
|
include_defaults => "boolean", |
2911
|
|
|
|
|
|
|
local => "boolean", |
2912
|
|
|
|
|
|
|
}, |
2913
|
|
|
|
|
|
|
}, |
2914
|
|
|
|
|
|
|
|
2915
|
|
|
|
|
|
|
'indices.exists_alias' => { |
2916
|
|
|
|
|
|
|
doc => "indices-aliases", |
2917
|
|
|
|
|
|
|
method => "HEAD", |
2918
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, name => { multi => 1 } }, |
2919
|
|
|
|
|
|
|
paths => [ |
2920
|
|
|
|
|
|
|
[ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], |
2921
|
|
|
|
|
|
|
[ { name => 1 }, "_alias", "{name}" ], |
2922
|
|
|
|
|
|
|
], |
2923
|
|
|
|
|
|
|
qs => { |
2924
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2925
|
|
|
|
|
|
|
error_trace => "boolean", |
2926
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2927
|
|
|
|
|
|
|
filter_path => "list", |
2928
|
|
|
|
|
|
|
human => "boolean", |
2929
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2930
|
|
|
|
|
|
|
local => "boolean", |
2931
|
|
|
|
|
|
|
}, |
2932
|
|
|
|
|
|
|
}, |
2933
|
|
|
|
|
|
|
|
2934
|
|
|
|
|
|
|
'indices.exists_index_template' => { |
2935
|
|
|
|
|
|
|
doc => "indices-templates", |
2936
|
|
|
|
|
|
|
method => "HEAD", |
2937
|
|
|
|
|
|
|
parts => { name => {} }, |
2938
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], |
2939
|
|
|
|
|
|
|
qs => { |
2940
|
|
|
|
|
|
|
error_trace => "boolean", |
2941
|
|
|
|
|
|
|
filter_path => "list", |
2942
|
|
|
|
|
|
|
flat_settings => "boolean", |
2943
|
|
|
|
|
|
|
human => "boolean", |
2944
|
|
|
|
|
|
|
local => "boolean", |
2945
|
|
|
|
|
|
|
master_timeout => "time", |
2946
|
|
|
|
|
|
|
}, |
2947
|
|
|
|
|
|
|
}, |
2948
|
|
|
|
|
|
|
|
2949
|
|
|
|
|
|
|
'indices.exists_template' => { |
2950
|
|
|
|
|
|
|
doc => "indices-templates", |
2951
|
|
|
|
|
|
|
method => "HEAD", |
2952
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
2953
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_template", "{name}" ] ], |
2954
|
|
|
|
|
|
|
qs => { |
2955
|
|
|
|
|
|
|
error_trace => "boolean", |
2956
|
|
|
|
|
|
|
filter_path => "list", |
2957
|
|
|
|
|
|
|
flat_settings => "boolean", |
2958
|
|
|
|
|
|
|
human => "boolean", |
2959
|
|
|
|
|
|
|
local => "boolean", |
2960
|
|
|
|
|
|
|
master_timeout => "time", |
2961
|
|
|
|
|
|
|
}, |
2962
|
|
|
|
|
|
|
}, |
2963
|
|
|
|
|
|
|
|
2964
|
|
|
|
|
|
|
'indices.exists_type' => { |
2965
|
|
|
|
|
|
|
doc => "indices-types-exists", |
2966
|
|
|
|
|
|
|
method => "HEAD", |
2967
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
2968
|
|
|
|
|
|
|
paths => [ |
2969
|
|
|
|
|
|
|
[ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ] |
2970
|
|
|
|
|
|
|
], |
2971
|
|
|
|
|
|
|
qs => { |
2972
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2973
|
|
|
|
|
|
|
error_trace => "boolean", |
2974
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2975
|
|
|
|
|
|
|
filter_path => "list", |
2976
|
|
|
|
|
|
|
human => "boolean", |
2977
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2978
|
|
|
|
|
|
|
local => "boolean", |
2979
|
|
|
|
|
|
|
}, |
2980
|
|
|
|
|
|
|
}, |
2981
|
|
|
|
|
|
|
|
2982
|
|
|
|
|
|
|
'indices.field_usage_stats' => { |
2983
|
|
|
|
|
|
|
doc => "field-usage-stats", |
2984
|
|
|
|
|
|
|
parts => { index => {} }, |
2985
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_field_usage_stats" ] ], |
2986
|
|
|
|
|
|
|
qs => { |
2987
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
2988
|
|
|
|
|
|
|
error_trace => "boolean", |
2989
|
|
|
|
|
|
|
expand_wildcards => "enum", |
2990
|
|
|
|
|
|
|
fields => "list", |
2991
|
|
|
|
|
|
|
filter_path => "list", |
2992
|
|
|
|
|
|
|
human => "boolean", |
2993
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
2994
|
|
|
|
|
|
|
}, |
2995
|
|
|
|
|
|
|
}, |
2996
|
|
|
|
|
|
|
|
2997
|
|
|
|
|
|
|
'indices.flush' => { |
2998
|
|
|
|
|
|
|
doc => "indices-flush", |
2999
|
|
|
|
|
|
|
method => "POST", |
3000
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3001
|
|
|
|
|
|
|
paths => |
3002
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_flush" ], [ {}, "_flush" ] ], |
3003
|
|
|
|
|
|
|
qs => { |
3004
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3005
|
|
|
|
|
|
|
error_trace => "boolean", |
3006
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3007
|
|
|
|
|
|
|
filter_path => "list", |
3008
|
|
|
|
|
|
|
force => "boolean", |
3009
|
|
|
|
|
|
|
human => "boolean", |
3010
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3011
|
|
|
|
|
|
|
wait_if_ongoing => "boolean", |
3012
|
|
|
|
|
|
|
}, |
3013
|
|
|
|
|
|
|
}, |
3014
|
|
|
|
|
|
|
|
3015
|
|
|
|
|
|
|
'indices.flush_synced' => { |
3016
|
|
|
|
|
|
|
doc => "indices-synced-flush-api", |
3017
|
|
|
|
|
|
|
method => "POST", |
3018
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3019
|
|
|
|
|
|
|
paths => [ |
3020
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_flush", "synced" ], |
3021
|
|
|
|
|
|
|
[ {}, "_flush", "synced" ], |
3022
|
|
|
|
|
|
|
], |
3023
|
|
|
|
|
|
|
qs => { |
3024
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3025
|
|
|
|
|
|
|
error_trace => "boolean", |
3026
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3027
|
|
|
|
|
|
|
filter_path => "list", |
3028
|
|
|
|
|
|
|
human => "boolean", |
3029
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3030
|
|
|
|
|
|
|
}, |
3031
|
|
|
|
|
|
|
}, |
3032
|
|
|
|
|
|
|
|
3033
|
|
|
|
|
|
|
'indices.forcemerge' => { |
3034
|
|
|
|
|
|
|
doc => "indices-forcemerge", |
3035
|
|
|
|
|
|
|
method => "POST", |
3036
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3037
|
|
|
|
|
|
|
paths => [ |
3038
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_forcemerge" ], |
3039
|
|
|
|
|
|
|
[ {}, "_forcemerge" ], |
3040
|
|
|
|
|
|
|
], |
3041
|
|
|
|
|
|
|
qs => { |
3042
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3043
|
|
|
|
|
|
|
error_trace => "boolean", |
3044
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3045
|
|
|
|
|
|
|
filter_path => "list", |
3046
|
|
|
|
|
|
|
flush => "boolean", |
3047
|
|
|
|
|
|
|
human => "boolean", |
3048
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3049
|
|
|
|
|
|
|
max_num_segments => "number", |
3050
|
|
|
|
|
|
|
only_expunge_deletes => "boolean", |
3051
|
|
|
|
|
|
|
}, |
3052
|
|
|
|
|
|
|
}, |
3053
|
|
|
|
|
|
|
|
3054
|
|
|
|
|
|
|
'indices.freeze' => { |
3055
|
|
|
|
|
|
|
doc => "freeze-index-api", |
3056
|
|
|
|
|
|
|
method => "POST", |
3057
|
|
|
|
|
|
|
parts => { index => {} }, |
3058
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_freeze" ] ], |
3059
|
|
|
|
|
|
|
qs => { |
3060
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3061
|
|
|
|
|
|
|
error_trace => "boolean", |
3062
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3063
|
|
|
|
|
|
|
filter_path => "list", |
3064
|
|
|
|
|
|
|
human => "boolean", |
3065
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3066
|
|
|
|
|
|
|
master_timeout => "time", |
3067
|
|
|
|
|
|
|
timeout => "time", |
3068
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3069
|
|
|
|
|
|
|
}, |
3070
|
|
|
|
|
|
|
}, |
3071
|
|
|
|
|
|
|
|
3072
|
|
|
|
|
|
|
'indices.get' => { |
3073
|
|
|
|
|
|
|
doc => "indices-get-index", |
3074
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3075
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}" ] ], |
3076
|
|
|
|
|
|
|
qs => { |
3077
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3078
|
|
|
|
|
|
|
error_trace => "boolean", |
3079
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3080
|
|
|
|
|
|
|
filter_path => "list", |
3081
|
|
|
|
|
|
|
flat_settings => "boolean", |
3082
|
|
|
|
|
|
|
human => "boolean", |
3083
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3084
|
|
|
|
|
|
|
include_defaults => "boolean", |
3085
|
|
|
|
|
|
|
include_type_name => "boolean", |
3086
|
|
|
|
|
|
|
local => "boolean", |
3087
|
|
|
|
|
|
|
master_timeout => "time", |
3088
|
|
|
|
|
|
|
}, |
3089
|
|
|
|
|
|
|
}, |
3090
|
|
|
|
|
|
|
|
3091
|
|
|
|
|
|
|
'indices.get_alias' => { |
3092
|
|
|
|
|
|
|
doc => "indices-aliases", |
3093
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, name => { multi => 1 } }, |
3094
|
|
|
|
|
|
|
paths => [ |
3095
|
|
|
|
|
|
|
[ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], |
3096
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_alias" ], |
3097
|
|
|
|
|
|
|
[ { name => 1 }, "_alias", "{name}" ], |
3098
|
|
|
|
|
|
|
[ {}, "_alias" ], |
3099
|
|
|
|
|
|
|
], |
3100
|
|
|
|
|
|
|
qs => { |
3101
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3102
|
|
|
|
|
|
|
error_trace => "boolean", |
3103
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3104
|
|
|
|
|
|
|
filter_path => "list", |
3105
|
|
|
|
|
|
|
human => "boolean", |
3106
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3107
|
|
|
|
|
|
|
local => "boolean", |
3108
|
|
|
|
|
|
|
}, |
3109
|
|
|
|
|
|
|
}, |
3110
|
|
|
|
|
|
|
|
3111
|
|
|
|
|
|
|
'indices.get_data_stream' => { |
3112
|
|
|
|
|
|
|
doc => "data-streams", |
3113
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
3114
|
|
|
|
|
|
|
paths => [ |
3115
|
|
|
|
|
|
|
[ { name => 1 }, "_data_stream", "{name}" ], |
3116
|
|
|
|
|
|
|
[ {}, "_data_stream" ], |
3117
|
|
|
|
|
|
|
], |
3118
|
|
|
|
|
|
|
qs => { |
3119
|
|
|
|
|
|
|
error_trace => "boolean", |
3120
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3121
|
|
|
|
|
|
|
filter_path => "list", |
3122
|
|
|
|
|
|
|
human => "boolean", |
3123
|
|
|
|
|
|
|
}, |
3124
|
|
|
|
|
|
|
}, |
3125
|
|
|
|
|
|
|
|
3126
|
|
|
|
|
|
|
'indices.get_field_mapping' => { |
3127
|
|
|
|
|
|
|
doc => "indices-get-field-mapping", |
3128
|
|
|
|
|
|
|
parts => { |
3129
|
|
|
|
|
|
|
fields => { multi => 1 }, |
3130
|
|
|
|
|
|
|
index => { multi => 1 }, |
3131
|
|
|
|
|
|
|
type => { multi => 1 }, |
3132
|
|
|
|
|
|
|
}, |
3133
|
|
|
|
|
|
|
paths => [ |
3134
|
|
|
|
|
|
|
[ { fields => 4, index => 0, type => 2 }, "{index}", |
3135
|
|
|
|
|
|
|
"_mapping", "{type}", |
3136
|
|
|
|
|
|
|
"field", "{fields}", |
3137
|
|
|
|
|
|
|
], |
3138
|
|
|
|
|
|
|
[ { fields => 3, index => 0 }, "{index}", |
3139
|
|
|
|
|
|
|
"_mapping", "field", |
3140
|
|
|
|
|
|
|
"{fields}", |
3141
|
|
|
|
|
|
|
], |
3142
|
|
|
|
|
|
|
[ { fields => 3, type => 1 }, "_mapping", |
3143
|
|
|
|
|
|
|
"{type}", "field", |
3144
|
|
|
|
|
|
|
"{fields}", |
3145
|
|
|
|
|
|
|
], |
3146
|
|
|
|
|
|
|
[ { fields => 2 }, "_mapping", "field", "{fields}" ], |
3147
|
|
|
|
|
|
|
], |
3148
|
|
|
|
|
|
|
qs => { |
3149
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3150
|
|
|
|
|
|
|
error_trace => "boolean", |
3151
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3152
|
|
|
|
|
|
|
filter_path => "list", |
3153
|
|
|
|
|
|
|
human => "boolean", |
3154
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3155
|
|
|
|
|
|
|
include_defaults => "boolean", |
3156
|
|
|
|
|
|
|
include_type_name => "boolean", |
3157
|
|
|
|
|
|
|
local => "boolean", |
3158
|
|
|
|
|
|
|
}, |
3159
|
|
|
|
|
|
|
}, |
3160
|
|
|
|
|
|
|
|
3161
|
|
|
|
|
|
|
'indices.get_index_template' => { |
3162
|
|
|
|
|
|
|
doc => "indices-templates", |
3163
|
|
|
|
|
|
|
parts => { name => {} }, |
3164
|
|
|
|
|
|
|
paths => [ |
3165
|
|
|
|
|
|
|
[ { name => 1 }, "_index_template", "{name}" ], |
3166
|
|
|
|
|
|
|
[ {}, "_index_template" ], |
3167
|
|
|
|
|
|
|
], |
3168
|
|
|
|
|
|
|
qs => { |
3169
|
|
|
|
|
|
|
error_trace => "boolean", |
3170
|
|
|
|
|
|
|
filter_path => "list", |
3171
|
|
|
|
|
|
|
flat_settings => "boolean", |
3172
|
|
|
|
|
|
|
human => "boolean", |
3173
|
|
|
|
|
|
|
local => "boolean", |
3174
|
|
|
|
|
|
|
master_timeout => "time", |
3175
|
|
|
|
|
|
|
}, |
3176
|
|
|
|
|
|
|
}, |
3177
|
|
|
|
|
|
|
|
3178
|
|
|
|
|
|
|
'indices.get_mapping' => { |
3179
|
|
|
|
|
|
|
doc => "indices-get-mapping", |
3180
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
3181
|
|
|
|
|
|
|
paths => [ |
3182
|
|
|
|
|
|
|
[ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ], |
3183
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_mapping" ], |
3184
|
|
|
|
|
|
|
[ { type => 1 }, "_mapping", "{type}" ], |
3185
|
|
|
|
|
|
|
[ {}, "_mapping" ], |
3186
|
|
|
|
|
|
|
], |
3187
|
|
|
|
|
|
|
qs => { |
3188
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3189
|
|
|
|
|
|
|
error_trace => "boolean", |
3190
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3191
|
|
|
|
|
|
|
filter_path => "list", |
3192
|
|
|
|
|
|
|
human => "boolean", |
3193
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3194
|
|
|
|
|
|
|
include_type_name => "boolean", |
3195
|
|
|
|
|
|
|
local => "boolean", |
3196
|
|
|
|
|
|
|
master_timeout => "time", |
3197
|
|
|
|
|
|
|
}, |
3198
|
|
|
|
|
|
|
}, |
3199
|
|
|
|
|
|
|
|
3200
|
|
|
|
|
|
|
'indices.get_settings' => { |
3201
|
|
|
|
|
|
|
doc => "indices-get-settings", |
3202
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, name => { multi => 1 } }, |
3203
|
|
|
|
|
|
|
paths => [ |
3204
|
|
|
|
|
|
|
[ { index => 0, name => 2 }, "{index}", "_settings", "{name}" ], |
3205
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_settings" ], |
3206
|
|
|
|
|
|
|
[ { name => 1 }, "_settings", "{name}" ], |
3207
|
|
|
|
|
|
|
[ {}, "_settings" ], |
3208
|
|
|
|
|
|
|
], |
3209
|
|
|
|
|
|
|
qs => { |
3210
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3211
|
|
|
|
|
|
|
error_trace => "boolean", |
3212
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3213
|
|
|
|
|
|
|
filter_path => "list", |
3214
|
|
|
|
|
|
|
flat_settings => "boolean", |
3215
|
|
|
|
|
|
|
human => "boolean", |
3216
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3217
|
|
|
|
|
|
|
include_defaults => "boolean", |
3218
|
|
|
|
|
|
|
local => "boolean", |
3219
|
|
|
|
|
|
|
master_timeout => "time", |
3220
|
|
|
|
|
|
|
}, |
3221
|
|
|
|
|
|
|
}, |
3222
|
|
|
|
|
|
|
|
3223
|
|
|
|
|
|
|
'indices.get_template' => { |
3224
|
|
|
|
|
|
|
doc => "indices-templates", |
3225
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
3226
|
|
|
|
|
|
|
paths => |
3227
|
|
|
|
|
|
|
[ [ { name => 1 }, "_template", "{name}" ], [ {}, "_template" ] ], |
3228
|
|
|
|
|
|
|
qs => { |
3229
|
|
|
|
|
|
|
error_trace => "boolean", |
3230
|
|
|
|
|
|
|
filter_path => "list", |
3231
|
|
|
|
|
|
|
flat_settings => "boolean", |
3232
|
|
|
|
|
|
|
human => "boolean", |
3233
|
|
|
|
|
|
|
include_type_name => "boolean", |
3234
|
|
|
|
|
|
|
local => "boolean", |
3235
|
|
|
|
|
|
|
master_timeout => "time", |
3236
|
|
|
|
|
|
|
}, |
3237
|
|
|
|
|
|
|
}, |
3238
|
|
|
|
|
|
|
|
3239
|
|
|
|
|
|
|
'indices.get_upgrade' => { |
3240
|
|
|
|
|
|
|
doc => "indices-upgrade", |
3241
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3242
|
|
|
|
|
|
|
paths => |
3243
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_upgrade" ], [ {}, "_upgrade" ] ], |
3244
|
|
|
|
|
|
|
qs => { |
3245
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3246
|
|
|
|
|
|
|
error_trace => "boolean", |
3247
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3248
|
|
|
|
|
|
|
filter_path => "list", |
3249
|
|
|
|
|
|
|
human => "boolean", |
3250
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3251
|
|
|
|
|
|
|
}, |
3252
|
|
|
|
|
|
|
}, |
3253
|
|
|
|
|
|
|
|
3254
|
|
|
|
|
|
|
'indices.migrate_to_data_stream' => { |
3255
|
|
|
|
|
|
|
doc => "data-streams", |
3256
|
|
|
|
|
|
|
method => "POST", |
3257
|
|
|
|
|
|
|
parts => { name => {} }, |
3258
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_data_stream", "_migrate", "{name}" ] ], |
3259
|
|
|
|
|
|
|
qs => { |
3260
|
|
|
|
|
|
|
error_trace => "boolean", |
3261
|
|
|
|
|
|
|
filter_path => "list", |
3262
|
|
|
|
|
|
|
human => "boolean" |
3263
|
|
|
|
|
|
|
}, |
3264
|
|
|
|
|
|
|
}, |
3265
|
|
|
|
|
|
|
|
3266
|
|
|
|
|
|
|
'indices.modify_data_stream' => { |
3267
|
|
|
|
|
|
|
body => { required => 1 }, |
3268
|
|
|
|
|
|
|
doc => "data-streams", |
3269
|
|
|
|
|
|
|
method => "POST", |
3270
|
|
|
|
|
|
|
parts => {}, |
3271
|
|
|
|
|
|
|
paths => [ [ {}, "_data_stream", "_modify" ] ], |
3272
|
|
|
|
|
|
|
qs => { |
3273
|
|
|
|
|
|
|
error_trace => "boolean", |
3274
|
|
|
|
|
|
|
filter_path => "list", |
3275
|
|
|
|
|
|
|
human => "boolean" |
3276
|
|
|
|
|
|
|
}, |
3277
|
|
|
|
|
|
|
}, |
3278
|
|
|
|
|
|
|
|
3279
|
|
|
|
|
|
|
'indices.open' => { |
3280
|
|
|
|
|
|
|
doc => "indices-open-close", |
3281
|
|
|
|
|
|
|
method => "POST", |
3282
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3283
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_open" ] ], |
3284
|
|
|
|
|
|
|
qs => { |
3285
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3286
|
|
|
|
|
|
|
error_trace => "boolean", |
3287
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3288
|
|
|
|
|
|
|
filter_path => "list", |
3289
|
|
|
|
|
|
|
human => "boolean", |
3290
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3291
|
|
|
|
|
|
|
master_timeout => "time", |
3292
|
|
|
|
|
|
|
timeout => "time", |
3293
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3294
|
|
|
|
|
|
|
}, |
3295
|
|
|
|
|
|
|
}, |
3296
|
|
|
|
|
|
|
|
3297
|
|
|
|
|
|
|
'indices.promote_data_stream' => { |
3298
|
|
|
|
|
|
|
doc => "data-streams", |
3299
|
|
|
|
|
|
|
method => "POST", |
3300
|
|
|
|
|
|
|
parts => { name => {} }, |
3301
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_data_stream", "_promote", "{name}" ] ], |
3302
|
|
|
|
|
|
|
qs => { |
3303
|
|
|
|
|
|
|
error_trace => "boolean", |
3304
|
|
|
|
|
|
|
filter_path => "list", |
3305
|
|
|
|
|
|
|
human => "boolean" |
3306
|
|
|
|
|
|
|
}, |
3307
|
|
|
|
|
|
|
}, |
3308
|
|
|
|
|
|
|
|
3309
|
|
|
|
|
|
|
'indices.put_alias' => { |
3310
|
|
|
|
|
|
|
body => {}, |
3311
|
|
|
|
|
|
|
doc => "indices-aliases", |
3312
|
|
|
|
|
|
|
method => "PUT", |
3313
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, name => {} }, |
3314
|
|
|
|
|
|
|
paths => |
3315
|
|
|
|
|
|
|
[ [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ] ], |
3316
|
|
|
|
|
|
|
qs => { |
3317
|
|
|
|
|
|
|
error_trace => "boolean", |
3318
|
|
|
|
|
|
|
filter_path => "list", |
3319
|
|
|
|
|
|
|
human => "boolean", |
3320
|
|
|
|
|
|
|
master_timeout => "time", |
3321
|
|
|
|
|
|
|
timeout => "time", |
3322
|
|
|
|
|
|
|
}, |
3323
|
|
|
|
|
|
|
}, |
3324
|
|
|
|
|
|
|
|
3325
|
|
|
|
|
|
|
'indices.put_index_template' => { |
3326
|
|
|
|
|
|
|
body => { required => 1 }, |
3327
|
|
|
|
|
|
|
doc => "indices-templates", |
3328
|
|
|
|
|
|
|
method => "PUT", |
3329
|
|
|
|
|
|
|
parts => { name => {} }, |
3330
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], |
3331
|
|
|
|
|
|
|
qs => { |
3332
|
|
|
|
|
|
|
cause => "string", |
3333
|
|
|
|
|
|
|
create => "boolean", |
3334
|
|
|
|
|
|
|
error_trace => "boolean", |
3335
|
|
|
|
|
|
|
filter_path => "list", |
3336
|
|
|
|
|
|
|
human => "boolean", |
3337
|
|
|
|
|
|
|
master_timeout => "time", |
3338
|
|
|
|
|
|
|
}, |
3339
|
|
|
|
|
|
|
}, |
3340
|
|
|
|
|
|
|
|
3341
|
|
|
|
|
|
|
'indices.put_mapping' => { |
3342
|
|
|
|
|
|
|
body => { required => 1 }, |
3343
|
|
|
|
|
|
|
doc => "indices-put-mapping", |
3344
|
|
|
|
|
|
|
method => "PUT", |
3345
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => {} }, |
3346
|
|
|
|
|
|
|
paths => [ |
3347
|
|
|
|
|
|
|
[ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ], |
3348
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_mapping" ], |
3349
|
|
|
|
|
|
|
[ { type => 1 }, "_mapping", "{type}" ], |
3350
|
|
|
|
|
|
|
], |
3351
|
|
|
|
|
|
|
qs => { |
3352
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3353
|
|
|
|
|
|
|
error_trace => "boolean", |
3354
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3355
|
|
|
|
|
|
|
filter_path => "list", |
3356
|
|
|
|
|
|
|
human => "boolean", |
3357
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3358
|
|
|
|
|
|
|
include_type_name => "boolean", |
3359
|
|
|
|
|
|
|
master_timeout => "time", |
3360
|
|
|
|
|
|
|
timeout => "time", |
3361
|
|
|
|
|
|
|
write_index_only => "boolean", |
3362
|
|
|
|
|
|
|
}, |
3363
|
|
|
|
|
|
|
}, |
3364
|
|
|
|
|
|
|
|
3365
|
|
|
|
|
|
|
'indices.put_settings' => { |
3366
|
|
|
|
|
|
|
body => { required => 1 }, |
3367
|
|
|
|
|
|
|
doc => "indices-update-settings", |
3368
|
|
|
|
|
|
|
method => "PUT", |
3369
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3370
|
|
|
|
|
|
|
paths => [ |
3371
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_settings" ], |
3372
|
|
|
|
|
|
|
[ {}, "_settings" ] |
3373
|
|
|
|
|
|
|
], |
3374
|
|
|
|
|
|
|
qs => { |
3375
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3376
|
|
|
|
|
|
|
error_trace => "boolean", |
3377
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3378
|
|
|
|
|
|
|
filter_path => "list", |
3379
|
|
|
|
|
|
|
flat_settings => "boolean", |
3380
|
|
|
|
|
|
|
human => "boolean", |
3381
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3382
|
|
|
|
|
|
|
master_timeout => "time", |
3383
|
|
|
|
|
|
|
preserve_existing => "boolean", |
3384
|
|
|
|
|
|
|
timeout => "time", |
3385
|
|
|
|
|
|
|
}, |
3386
|
|
|
|
|
|
|
}, |
3387
|
|
|
|
|
|
|
|
3388
|
|
|
|
|
|
|
'indices.put_template' => { |
3389
|
|
|
|
|
|
|
body => { required => 1 }, |
3390
|
|
|
|
|
|
|
doc => "indices-templates", |
3391
|
|
|
|
|
|
|
method => "PUT", |
3392
|
|
|
|
|
|
|
parts => { name => {} }, |
3393
|
|
|
|
|
|
|
paths => [ [ { name => 1 }, "_template", "{name}" ] ], |
3394
|
|
|
|
|
|
|
qs => { |
3395
|
|
|
|
|
|
|
create => "boolean", |
3396
|
|
|
|
|
|
|
error_trace => "boolean", |
3397
|
|
|
|
|
|
|
filter_path => "list", |
3398
|
|
|
|
|
|
|
human => "boolean", |
3399
|
|
|
|
|
|
|
include_type_name => "boolean", |
3400
|
|
|
|
|
|
|
master_timeout => "time", |
3401
|
|
|
|
|
|
|
order => "number", |
3402
|
|
|
|
|
|
|
}, |
3403
|
|
|
|
|
|
|
}, |
3404
|
|
|
|
|
|
|
|
3405
|
|
|
|
|
|
|
'indices.recovery' => { |
3406
|
|
|
|
|
|
|
doc => "indices-recovery", |
3407
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3408
|
|
|
|
|
|
|
paths => [ |
3409
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_recovery" ], |
3410
|
|
|
|
|
|
|
[ {}, "_recovery" ] |
3411
|
|
|
|
|
|
|
], |
3412
|
|
|
|
|
|
|
qs => { |
3413
|
|
|
|
|
|
|
active_only => "boolean", |
3414
|
|
|
|
|
|
|
detailed => "boolean", |
3415
|
|
|
|
|
|
|
error_trace => "boolean", |
3416
|
|
|
|
|
|
|
filter_path => "list", |
3417
|
|
|
|
|
|
|
human => "boolean", |
3418
|
|
|
|
|
|
|
}, |
3419
|
|
|
|
|
|
|
}, |
3420
|
|
|
|
|
|
|
|
3421
|
|
|
|
|
|
|
'indices.refresh' => { |
3422
|
|
|
|
|
|
|
doc => "indices-refresh", |
3423
|
|
|
|
|
|
|
method => "POST", |
3424
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3425
|
|
|
|
|
|
|
paths => |
3426
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_refresh" ], [ {}, "_refresh" ] ], |
3427
|
|
|
|
|
|
|
qs => { |
3428
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3429
|
|
|
|
|
|
|
error_trace => "boolean", |
3430
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3431
|
|
|
|
|
|
|
filter_path => "list", |
3432
|
|
|
|
|
|
|
human => "boolean", |
3433
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3434
|
|
|
|
|
|
|
}, |
3435
|
|
|
|
|
|
|
}, |
3436
|
|
|
|
|
|
|
|
3437
|
|
|
|
|
|
|
'indices.reload_search_analyzers' => { |
3438
|
|
|
|
|
|
|
doc => "indices-reload-analyzers", |
3439
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3440
|
|
|
|
|
|
|
paths => |
3441
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_reload_search_analyzers" ] ], |
3442
|
|
|
|
|
|
|
qs => { |
3443
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3444
|
|
|
|
|
|
|
error_trace => "boolean", |
3445
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3446
|
|
|
|
|
|
|
filter_path => "list", |
3447
|
|
|
|
|
|
|
human => "boolean", |
3448
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3449
|
|
|
|
|
|
|
}, |
3450
|
|
|
|
|
|
|
}, |
3451
|
|
|
|
|
|
|
|
3452
|
|
|
|
|
|
|
'indices.resolve_index' => { |
3453
|
|
|
|
|
|
|
doc => "indices-resolve-index-api", |
3454
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
3455
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_resolve", "index", "{name}" ] ], |
3456
|
|
|
|
|
|
|
qs => { |
3457
|
|
|
|
|
|
|
error_trace => "boolean", |
3458
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3459
|
|
|
|
|
|
|
filter_path => "list", |
3460
|
|
|
|
|
|
|
human => "boolean", |
3461
|
|
|
|
|
|
|
}, |
3462
|
|
|
|
|
|
|
}, |
3463
|
|
|
|
|
|
|
|
3464
|
|
|
|
|
|
|
'indices.rollover' => { |
3465
|
|
|
|
|
|
|
body => {}, |
3466
|
|
|
|
|
|
|
doc => "indices-rollover-index", |
3467
|
|
|
|
|
|
|
method => "POST", |
3468
|
|
|
|
|
|
|
parts => { alias => {}, new_index => {} }, |
3469
|
|
|
|
|
|
|
paths => [ |
3470
|
|
|
|
|
|
|
[ { alias => 0, new_index => 2 }, "{alias}", |
3471
|
|
|
|
|
|
|
"_rollover", "{new_index}", |
3472
|
|
|
|
|
|
|
], |
3473
|
|
|
|
|
|
|
[ { alias => 0 }, "{alias}", "_rollover" ], |
3474
|
|
|
|
|
|
|
], |
3475
|
|
|
|
|
|
|
qs => { |
3476
|
|
|
|
|
|
|
dry_run => "boolean", |
3477
|
|
|
|
|
|
|
error_trace => "boolean", |
3478
|
|
|
|
|
|
|
filter_path => "list", |
3479
|
|
|
|
|
|
|
human => "boolean", |
3480
|
|
|
|
|
|
|
include_type_name => "boolean", |
3481
|
|
|
|
|
|
|
master_timeout => "time", |
3482
|
|
|
|
|
|
|
timeout => "time", |
3483
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3484
|
|
|
|
|
|
|
}, |
3485
|
|
|
|
|
|
|
}, |
3486
|
|
|
|
|
|
|
|
3487
|
|
|
|
|
|
|
'indices.segments' => { |
3488
|
|
|
|
|
|
|
doc => "indices-segments", |
3489
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3490
|
|
|
|
|
|
|
paths => [ |
3491
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_segments" ], |
3492
|
|
|
|
|
|
|
[ {}, "_segments" ] |
3493
|
|
|
|
|
|
|
], |
3494
|
|
|
|
|
|
|
qs => { |
3495
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3496
|
|
|
|
|
|
|
error_trace => "boolean", |
3497
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3498
|
|
|
|
|
|
|
filter_path => "list", |
3499
|
|
|
|
|
|
|
human => "boolean", |
3500
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3501
|
|
|
|
|
|
|
verbose => "boolean", |
3502
|
|
|
|
|
|
|
}, |
3503
|
|
|
|
|
|
|
}, |
3504
|
|
|
|
|
|
|
|
3505
|
|
|
|
|
|
|
'indices.shard_stores' => { |
3506
|
|
|
|
|
|
|
doc => "indices-shards-stores", |
3507
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3508
|
|
|
|
|
|
|
paths => [ |
3509
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_shard_stores" ], |
3510
|
|
|
|
|
|
|
[ {}, "_shard_stores" ], |
3511
|
|
|
|
|
|
|
], |
3512
|
|
|
|
|
|
|
qs => { |
3513
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3514
|
|
|
|
|
|
|
error_trace => "boolean", |
3515
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3516
|
|
|
|
|
|
|
filter_path => "list", |
3517
|
|
|
|
|
|
|
human => "boolean", |
3518
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3519
|
|
|
|
|
|
|
status => "list", |
3520
|
|
|
|
|
|
|
}, |
3521
|
|
|
|
|
|
|
}, |
3522
|
|
|
|
|
|
|
|
3523
|
|
|
|
|
|
|
'indices.shrink' => { |
3524
|
|
|
|
|
|
|
body => {}, |
3525
|
|
|
|
|
|
|
doc => "indices-shrink-index", |
3526
|
|
|
|
|
|
|
method => "PUT", |
3527
|
|
|
|
|
|
|
parts => { index => {}, target => {} }, |
3528
|
|
|
|
|
|
|
paths => [ |
3529
|
|
|
|
|
|
|
[ { index => 0, target => 2 }, "{index}", "_shrink", "{target}" ], |
3530
|
|
|
|
|
|
|
], |
3531
|
|
|
|
|
|
|
qs => { |
3532
|
|
|
|
|
|
|
copy_settings => "boolean", |
3533
|
|
|
|
|
|
|
error_trace => "boolean", |
3534
|
|
|
|
|
|
|
filter_path => "list", |
3535
|
|
|
|
|
|
|
human => "boolean", |
3536
|
|
|
|
|
|
|
master_timeout => "time", |
3537
|
|
|
|
|
|
|
timeout => "time", |
3538
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3539
|
|
|
|
|
|
|
}, |
3540
|
|
|
|
|
|
|
}, |
3541
|
|
|
|
|
|
|
|
3542
|
|
|
|
|
|
|
'indices.simulate_index_template' => { |
3543
|
|
|
|
|
|
|
body => {}, |
3544
|
|
|
|
|
|
|
doc => "indices-templates", |
3545
|
|
|
|
|
|
|
method => "POST", |
3546
|
|
|
|
|
|
|
parts => { name => {} }, |
3547
|
|
|
|
|
|
|
paths => [ |
3548
|
|
|
|
|
|
|
[ { name => 2 }, "_index_template", "_simulate_index", "{name}" ], |
3549
|
|
|
|
|
|
|
], |
3550
|
|
|
|
|
|
|
qs => { |
3551
|
|
|
|
|
|
|
cause => "string", |
3552
|
|
|
|
|
|
|
create => "boolean", |
3553
|
|
|
|
|
|
|
error_trace => "boolean", |
3554
|
|
|
|
|
|
|
filter_path => "list", |
3555
|
|
|
|
|
|
|
human => "boolean", |
3556
|
|
|
|
|
|
|
master_timeout => "time", |
3557
|
|
|
|
|
|
|
}, |
3558
|
|
|
|
|
|
|
}, |
3559
|
|
|
|
|
|
|
|
3560
|
|
|
|
|
|
|
'indices.simulate_template' => { |
3561
|
|
|
|
|
|
|
body => {}, |
3562
|
|
|
|
|
|
|
doc => "indices-templates", |
3563
|
|
|
|
|
|
|
method => "POST", |
3564
|
|
|
|
|
|
|
parts => { name => {} }, |
3565
|
|
|
|
|
|
|
paths => [ |
3566
|
|
|
|
|
|
|
[ { name => 2 }, "_index_template", "_simulate", "{name}" ], |
3567
|
|
|
|
|
|
|
[ {}, "_index_template", "_simulate" ], |
3568
|
|
|
|
|
|
|
], |
3569
|
|
|
|
|
|
|
qs => { |
3570
|
|
|
|
|
|
|
cause => "string", |
3571
|
|
|
|
|
|
|
create => "boolean", |
3572
|
|
|
|
|
|
|
error_trace => "boolean", |
3573
|
|
|
|
|
|
|
filter_path => "list", |
3574
|
|
|
|
|
|
|
human => "boolean", |
3575
|
|
|
|
|
|
|
master_timeout => "time", |
3576
|
|
|
|
|
|
|
}, |
3577
|
|
|
|
|
|
|
}, |
3578
|
|
|
|
|
|
|
|
3579
|
|
|
|
|
|
|
'indices.split' => { |
3580
|
|
|
|
|
|
|
body => {}, |
3581
|
|
|
|
|
|
|
doc => "indices-split-index", |
3582
|
|
|
|
|
|
|
method => "PUT", |
3583
|
|
|
|
|
|
|
parts => { index => {}, target => {} }, |
3584
|
|
|
|
|
|
|
paths => [ |
3585
|
|
|
|
|
|
|
[ { index => 0, target => 2 }, "{index}", "_split", "{target}" ], |
3586
|
|
|
|
|
|
|
], |
3587
|
|
|
|
|
|
|
qs => { |
3588
|
|
|
|
|
|
|
copy_settings => "boolean", |
3589
|
|
|
|
|
|
|
error_trace => "boolean", |
3590
|
|
|
|
|
|
|
filter_path => "list", |
3591
|
|
|
|
|
|
|
human => "boolean", |
3592
|
|
|
|
|
|
|
master_timeout => "time", |
3593
|
|
|
|
|
|
|
timeout => "time", |
3594
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3595
|
|
|
|
|
|
|
}, |
3596
|
|
|
|
|
|
|
}, |
3597
|
|
|
|
|
|
|
|
3598
|
|
|
|
|
|
|
'indices.stats' => { |
3599
|
|
|
|
|
|
|
doc => "indices-stats", |
3600
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, metric => { multi => 1 } }, |
3601
|
|
|
|
|
|
|
paths => [ |
3602
|
|
|
|
|
|
|
[ { index => 0, metric => 2 }, "{index}", "_stats", "{metric}" ], |
3603
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_stats" ], |
3604
|
|
|
|
|
|
|
[ { metric => 1 }, "_stats", "{metric}" ], |
3605
|
|
|
|
|
|
|
[ {}, "_stats" ], |
3606
|
|
|
|
|
|
|
], |
3607
|
|
|
|
|
|
|
qs => { |
3608
|
|
|
|
|
|
|
completion_fields => "list", |
3609
|
|
|
|
|
|
|
error_trace => "boolean", |
3610
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3611
|
|
|
|
|
|
|
fielddata_fields => "list", |
3612
|
|
|
|
|
|
|
fields => "list", |
3613
|
|
|
|
|
|
|
filter_path => "list", |
3614
|
|
|
|
|
|
|
forbid_closed_indices => "boolean", |
3615
|
|
|
|
|
|
|
groups => "list", |
3616
|
|
|
|
|
|
|
human => "boolean", |
3617
|
|
|
|
|
|
|
include_segment_file_sizes => "boolean", |
3618
|
|
|
|
|
|
|
include_unloaded_segments => "boolean", |
3619
|
|
|
|
|
|
|
level => "enum", |
3620
|
|
|
|
|
|
|
types => "list", |
3621
|
|
|
|
|
|
|
}, |
3622
|
|
|
|
|
|
|
}, |
3623
|
|
|
|
|
|
|
|
3624
|
|
|
|
|
|
|
'indices.unfreeze' => { |
3625
|
|
|
|
|
|
|
doc => "unfreeze-index-api", |
3626
|
|
|
|
|
|
|
method => "POST", |
3627
|
|
|
|
|
|
|
parts => { index => {} }, |
3628
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_unfreeze" ] ], |
3629
|
|
|
|
|
|
|
qs => { |
3630
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3631
|
|
|
|
|
|
|
error_trace => "boolean", |
3632
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3633
|
|
|
|
|
|
|
filter_path => "list", |
3634
|
|
|
|
|
|
|
human => "boolean", |
3635
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3636
|
|
|
|
|
|
|
master_timeout => "time", |
3637
|
|
|
|
|
|
|
timeout => "time", |
3638
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
3639
|
|
|
|
|
|
|
}, |
3640
|
|
|
|
|
|
|
}, |
3641
|
|
|
|
|
|
|
|
3642
|
|
|
|
|
|
|
'indices.update_aliases' => { |
3643
|
|
|
|
|
|
|
body => { required => 1 }, |
3644
|
|
|
|
|
|
|
doc => "indices-aliases", |
3645
|
|
|
|
|
|
|
method => "POST", |
3646
|
|
|
|
|
|
|
parts => {}, |
3647
|
|
|
|
|
|
|
paths => [ [ {}, "_aliases" ] ], |
3648
|
|
|
|
|
|
|
qs => { |
3649
|
|
|
|
|
|
|
error_trace => "boolean", |
3650
|
|
|
|
|
|
|
filter_path => "list", |
3651
|
|
|
|
|
|
|
human => "boolean", |
3652
|
|
|
|
|
|
|
master_timeout => "time", |
3653
|
|
|
|
|
|
|
timeout => "time", |
3654
|
|
|
|
|
|
|
}, |
3655
|
|
|
|
|
|
|
}, |
3656
|
|
|
|
|
|
|
|
3657
|
|
|
|
|
|
|
'indices.upgrade' => { |
3658
|
|
|
|
|
|
|
doc => "indices-upgrade", |
3659
|
|
|
|
|
|
|
method => "POST", |
3660
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
3661
|
|
|
|
|
|
|
paths => |
3662
|
|
|
|
|
|
|
[ [ { index => 0 }, "{index}", "_upgrade" ], [ {}, "_upgrade" ] ], |
3663
|
|
|
|
|
|
|
qs => { |
3664
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3665
|
|
|
|
|
|
|
error_trace => "boolean", |
3666
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3667
|
|
|
|
|
|
|
filter_path => "list", |
3668
|
|
|
|
|
|
|
human => "boolean", |
3669
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3670
|
|
|
|
|
|
|
only_ancient_segments => "boolean", |
3671
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
3672
|
|
|
|
|
|
|
}, |
3673
|
|
|
|
|
|
|
}, |
3674
|
|
|
|
|
|
|
|
3675
|
|
|
|
|
|
|
'indices.validate_query' => { |
3676
|
|
|
|
|
|
|
body => {}, |
3677
|
|
|
|
|
|
|
doc => "search-validate", |
3678
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => { multi => 1 } }, |
3679
|
|
|
|
|
|
|
paths => [ |
3680
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
3681
|
|
|
|
|
|
|
"{type}", "_validate", |
3682
|
|
|
|
|
|
|
"query", |
3683
|
|
|
|
|
|
|
], |
3684
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_validate", "query" ], |
3685
|
|
|
|
|
|
|
[ {}, "_validate", "query" ], |
3686
|
|
|
|
|
|
|
], |
3687
|
|
|
|
|
|
|
qs => { |
3688
|
|
|
|
|
|
|
all_shards => "boolean", |
3689
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
3690
|
|
|
|
|
|
|
analyze_wildcard => "boolean", |
3691
|
|
|
|
|
|
|
analyzer => "string", |
3692
|
|
|
|
|
|
|
default_operator => "enum", |
3693
|
|
|
|
|
|
|
df => "string", |
3694
|
|
|
|
|
|
|
error_trace => "boolean", |
3695
|
|
|
|
|
|
|
expand_wildcards => "enum", |
3696
|
|
|
|
|
|
|
explain => "boolean", |
3697
|
|
|
|
|
|
|
filter_path => "list", |
3698
|
|
|
|
|
|
|
human => "boolean", |
3699
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
3700
|
|
|
|
|
|
|
lenient => "boolean", |
3701
|
|
|
|
|
|
|
q => "string", |
3702
|
|
|
|
|
|
|
rewrite => "boolean", |
3703
|
|
|
|
|
|
|
}, |
3704
|
|
|
|
|
|
|
}, |
3705
|
|
|
|
|
|
|
|
3706
|
|
|
|
|
|
|
'ingest.delete_pipeline' => { |
3707
|
|
|
|
|
|
|
doc => "delete-pipeline-api", |
3708
|
|
|
|
|
|
|
method => "DELETE", |
3709
|
|
|
|
|
|
|
parts => { id => {} }, |
3710
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_ingest", "pipeline", "{id}" ] ], |
3711
|
|
|
|
|
|
|
qs => { |
3712
|
|
|
|
|
|
|
error_trace => "boolean", |
3713
|
|
|
|
|
|
|
filter_path => "list", |
3714
|
|
|
|
|
|
|
human => "boolean", |
3715
|
|
|
|
|
|
|
master_timeout => "time", |
3716
|
|
|
|
|
|
|
timeout => "time", |
3717
|
|
|
|
|
|
|
}, |
3718
|
|
|
|
|
|
|
}, |
3719
|
|
|
|
|
|
|
|
3720
|
|
|
|
|
|
|
'ingest.geo_ip_stats' => { |
3721
|
|
|
|
|
|
|
doc => "geoip-stats-api", |
3722
|
|
|
|
|
|
|
parts => {}, |
3723
|
|
|
|
|
|
|
paths => [ [ {}, "_ingest", "geoip", "stats" ] ], |
3724
|
|
|
|
|
|
|
qs => { |
3725
|
|
|
|
|
|
|
error_trace => "boolean", |
3726
|
|
|
|
|
|
|
filter_path => "list", |
3727
|
|
|
|
|
|
|
human => "boolean" |
3728
|
|
|
|
|
|
|
}, |
3729
|
|
|
|
|
|
|
}, |
3730
|
|
|
|
|
|
|
|
3731
|
|
|
|
|
|
|
'ingest.get_pipeline' => { |
3732
|
|
|
|
|
|
|
doc => "get-pipeline-api", |
3733
|
|
|
|
|
|
|
parts => { id => {} }, |
3734
|
|
|
|
|
|
|
paths => [ |
3735
|
|
|
|
|
|
|
[ { id => 2 }, "_ingest", "pipeline", "{id}" ], |
3736
|
|
|
|
|
|
|
[ {}, "_ingest", "pipeline" ], |
3737
|
|
|
|
|
|
|
], |
3738
|
|
|
|
|
|
|
qs => { |
3739
|
|
|
|
|
|
|
error_trace => "boolean", |
3740
|
|
|
|
|
|
|
filter_path => "list", |
3741
|
|
|
|
|
|
|
human => "boolean", |
3742
|
|
|
|
|
|
|
master_timeout => "time", |
3743
|
|
|
|
|
|
|
summary => "boolean", |
3744
|
|
|
|
|
|
|
}, |
3745
|
|
|
|
|
|
|
}, |
3746
|
|
|
|
|
|
|
|
3747
|
|
|
|
|
|
|
'ingest.processor_grok' => { |
3748
|
|
|
|
|
|
|
doc => "", |
3749
|
|
|
|
|
|
|
parts => {}, |
3750
|
|
|
|
|
|
|
paths => [ [ {}, "_ingest", "processor", "grok" ] ], |
3751
|
|
|
|
|
|
|
qs => { |
3752
|
|
|
|
|
|
|
error_trace => "boolean", |
3753
|
|
|
|
|
|
|
filter_path => "list", |
3754
|
|
|
|
|
|
|
human => "boolean" |
3755
|
|
|
|
|
|
|
}, |
3756
|
|
|
|
|
|
|
}, |
3757
|
|
|
|
|
|
|
|
3758
|
|
|
|
|
|
|
'ingest.put_pipeline' => { |
3759
|
|
|
|
|
|
|
body => { required => 1 }, |
3760
|
|
|
|
|
|
|
doc => "put-pipeline-api", |
3761
|
|
|
|
|
|
|
method => "PUT", |
3762
|
|
|
|
|
|
|
parts => { id => {} }, |
3763
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_ingest", "pipeline", "{id}" ] ], |
3764
|
|
|
|
|
|
|
qs => { |
3765
|
|
|
|
|
|
|
error_trace => "boolean", |
3766
|
|
|
|
|
|
|
filter_path => "list", |
3767
|
|
|
|
|
|
|
human => "boolean", |
3768
|
|
|
|
|
|
|
if_version => "int", |
3769
|
|
|
|
|
|
|
master_timeout => "time", |
3770
|
|
|
|
|
|
|
timeout => "time", |
3771
|
|
|
|
|
|
|
}, |
3772
|
|
|
|
|
|
|
}, |
3773
|
|
|
|
|
|
|
|
3774
|
|
|
|
|
|
|
'ingest.simulate' => { |
3775
|
|
|
|
|
|
|
body => { required => 1 }, |
3776
|
|
|
|
|
|
|
doc => "simulate-pipeline-api", |
3777
|
|
|
|
|
|
|
parts => { id => {} }, |
3778
|
|
|
|
|
|
|
paths => [ |
3779
|
|
|
|
|
|
|
[ { id => 2 }, "_ingest", "pipeline", "{id}", "_simulate" ], |
3780
|
|
|
|
|
|
|
[ {}, "_ingest", "pipeline", "_simulate" ], |
3781
|
|
|
|
|
|
|
], |
3782
|
|
|
|
|
|
|
qs => { |
3783
|
|
|
|
|
|
|
error_trace => "boolean", |
3784
|
|
|
|
|
|
|
filter_path => "list", |
3785
|
|
|
|
|
|
|
human => "boolean", |
3786
|
|
|
|
|
|
|
verbose => "boolean", |
3787
|
|
|
|
|
|
|
}, |
3788
|
|
|
|
|
|
|
}, |
3789
|
|
|
|
|
|
|
|
3790
|
|
|
|
|
|
|
'license.delete' => { |
3791
|
|
|
|
|
|
|
doc => "delete-license", |
3792
|
|
|
|
|
|
|
method => "DELETE", |
3793
|
|
|
|
|
|
|
parts => {}, |
3794
|
|
|
|
|
|
|
paths => [ [ {}, "_license" ] ], |
3795
|
|
|
|
|
|
|
qs => { |
3796
|
|
|
|
|
|
|
error_trace => "boolean", |
3797
|
|
|
|
|
|
|
filter_path => "list", |
3798
|
|
|
|
|
|
|
human => "boolean" |
3799
|
|
|
|
|
|
|
}, |
3800
|
|
|
|
|
|
|
}, |
3801
|
|
|
|
|
|
|
|
3802
|
|
|
|
|
|
|
'license.get' => { |
3803
|
|
|
|
|
|
|
doc => "get-license", |
3804
|
|
|
|
|
|
|
parts => {}, |
3805
|
|
|
|
|
|
|
paths => [ [ {}, "_license" ] ], |
3806
|
|
|
|
|
|
|
qs => { |
3807
|
|
|
|
|
|
|
accept_enterprise => "boolean", |
3808
|
|
|
|
|
|
|
error_trace => "boolean", |
3809
|
|
|
|
|
|
|
filter_path => "list", |
3810
|
|
|
|
|
|
|
human => "boolean", |
3811
|
|
|
|
|
|
|
local => "boolean", |
3812
|
|
|
|
|
|
|
}, |
3813
|
|
|
|
|
|
|
}, |
3814
|
|
|
|
|
|
|
|
3815
|
|
|
|
|
|
|
'license.get_basic_status' => { |
3816
|
|
|
|
|
|
|
doc => "get-basic-status", |
3817
|
|
|
|
|
|
|
parts => {}, |
3818
|
|
|
|
|
|
|
paths => [ [ {}, "_license", "basic_status" ] ], |
3819
|
|
|
|
|
|
|
qs => { |
3820
|
|
|
|
|
|
|
error_trace => "boolean", |
3821
|
|
|
|
|
|
|
filter_path => "list", |
3822
|
|
|
|
|
|
|
human => "boolean" |
3823
|
|
|
|
|
|
|
}, |
3824
|
|
|
|
|
|
|
}, |
3825
|
|
|
|
|
|
|
|
3826
|
|
|
|
|
|
|
'license.get_trial_status' => { |
3827
|
|
|
|
|
|
|
doc => "get-trial-status", |
3828
|
|
|
|
|
|
|
parts => {}, |
3829
|
|
|
|
|
|
|
paths => [ [ {}, "_license", "trial_status" ] ], |
3830
|
|
|
|
|
|
|
qs => { |
3831
|
|
|
|
|
|
|
error_trace => "boolean", |
3832
|
|
|
|
|
|
|
filter_path => "list", |
3833
|
|
|
|
|
|
|
human => "boolean" |
3834
|
|
|
|
|
|
|
}, |
3835
|
|
|
|
|
|
|
}, |
3836
|
|
|
|
|
|
|
|
3837
|
|
|
|
|
|
|
'license.post' => { |
3838
|
|
|
|
|
|
|
body => {}, |
3839
|
|
|
|
|
|
|
doc => "update-license", |
3840
|
|
|
|
|
|
|
method => "PUT", |
3841
|
|
|
|
|
|
|
parts => {}, |
3842
|
|
|
|
|
|
|
paths => [ [ {}, "_license" ] ], |
3843
|
|
|
|
|
|
|
qs => { |
3844
|
|
|
|
|
|
|
acknowledge => "boolean", |
3845
|
|
|
|
|
|
|
error_trace => "boolean", |
3846
|
|
|
|
|
|
|
filter_path => "list", |
3847
|
|
|
|
|
|
|
human => "boolean", |
3848
|
|
|
|
|
|
|
}, |
3849
|
|
|
|
|
|
|
}, |
3850
|
|
|
|
|
|
|
|
3851
|
|
|
|
|
|
|
'license.post_start_basic' => { |
3852
|
|
|
|
|
|
|
doc => "start-basic", |
3853
|
|
|
|
|
|
|
method => "POST", |
3854
|
|
|
|
|
|
|
parts => {}, |
3855
|
|
|
|
|
|
|
paths => [ [ {}, "_license", "start_basic" ] ], |
3856
|
|
|
|
|
|
|
qs => { |
3857
|
|
|
|
|
|
|
acknowledge => "boolean", |
3858
|
|
|
|
|
|
|
error_trace => "boolean", |
3859
|
|
|
|
|
|
|
filter_path => "list", |
3860
|
|
|
|
|
|
|
human => "boolean", |
3861
|
|
|
|
|
|
|
}, |
3862
|
|
|
|
|
|
|
}, |
3863
|
|
|
|
|
|
|
|
3864
|
|
|
|
|
|
|
'license.post_start_trial' => { |
3865
|
|
|
|
|
|
|
doc => "start-trial", |
3866
|
|
|
|
|
|
|
method => "POST", |
3867
|
|
|
|
|
|
|
parts => {}, |
3868
|
|
|
|
|
|
|
paths => [ [ {}, "_license", "start_trial" ] ], |
3869
|
|
|
|
|
|
|
qs => { |
3870
|
|
|
|
|
|
|
acknowledge => "boolean", |
3871
|
|
|
|
|
|
|
error_trace => "boolean", |
3872
|
|
|
|
|
|
|
filter_path => "list", |
3873
|
|
|
|
|
|
|
human => "boolean", |
3874
|
|
|
|
|
|
|
type => "string", |
3875
|
|
|
|
|
|
|
}, |
3876
|
|
|
|
|
|
|
}, |
3877
|
|
|
|
|
|
|
|
3878
|
|
|
|
|
|
|
'logstash.delete_pipeline' => { |
3879
|
|
|
|
|
|
|
doc => "logstash-api-delete-pipeline", |
3880
|
|
|
|
|
|
|
method => "DELETE", |
3881
|
|
|
|
|
|
|
parts => { id => {} }, |
3882
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_logstash", "pipeline", "{id}" ] ], |
3883
|
|
|
|
|
|
|
qs => { |
3884
|
|
|
|
|
|
|
error_trace => "boolean", |
3885
|
|
|
|
|
|
|
filter_path => "list", |
3886
|
|
|
|
|
|
|
human => "boolean" |
3887
|
|
|
|
|
|
|
}, |
3888
|
|
|
|
|
|
|
}, |
3889
|
|
|
|
|
|
|
|
3890
|
|
|
|
|
|
|
'logstash.get_pipeline' => { |
3891
|
|
|
|
|
|
|
doc => "logstash-api-get-pipeline", |
3892
|
|
|
|
|
|
|
parts => { id => {} }, |
3893
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_logstash", "pipeline", "{id}" ] ], |
3894
|
|
|
|
|
|
|
qs => { |
3895
|
|
|
|
|
|
|
error_trace => "boolean", |
3896
|
|
|
|
|
|
|
filter_path => "list", |
3897
|
|
|
|
|
|
|
human => "boolean" |
3898
|
|
|
|
|
|
|
}, |
3899
|
|
|
|
|
|
|
}, |
3900
|
|
|
|
|
|
|
|
3901
|
|
|
|
|
|
|
'logstash.put_pipeline' => { |
3902
|
|
|
|
|
|
|
body => { required => 1 }, |
3903
|
|
|
|
|
|
|
doc => "logstash-api-put-pipeline", |
3904
|
|
|
|
|
|
|
method => "PUT", |
3905
|
|
|
|
|
|
|
parts => { id => {} }, |
3906
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_logstash", "pipeline", "{id}" ] ], |
3907
|
|
|
|
|
|
|
qs => { |
3908
|
|
|
|
|
|
|
error_trace => "boolean", |
3909
|
|
|
|
|
|
|
filter_path => "list", |
3910
|
|
|
|
|
|
|
human => "boolean" |
3911
|
|
|
|
|
|
|
}, |
3912
|
|
|
|
|
|
|
}, |
3913
|
|
|
|
|
|
|
|
3914
|
|
|
|
|
|
|
'migration.deprecations' => { |
3915
|
|
|
|
|
|
|
doc => "migration-api-deprecation", |
3916
|
|
|
|
|
|
|
parts => { index => {} }, |
3917
|
|
|
|
|
|
|
paths => [ |
3918
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_migration", "deprecations" ], |
3919
|
|
|
|
|
|
|
[ {}, "_migration", "deprecations" ], |
3920
|
|
|
|
|
|
|
], |
3921
|
|
|
|
|
|
|
qs => { |
3922
|
|
|
|
|
|
|
error_trace => "boolean", |
3923
|
|
|
|
|
|
|
filter_path => "list", |
3924
|
|
|
|
|
|
|
human => "boolean" |
3925
|
|
|
|
|
|
|
}, |
3926
|
|
|
|
|
|
|
}, |
3927
|
|
|
|
|
|
|
|
3928
|
|
|
|
|
|
|
'migration.get_feature_upgrade_status' => { |
3929
|
|
|
|
|
|
|
doc => "migration-api-feature-upgrade", |
3930
|
|
|
|
|
|
|
parts => {}, |
3931
|
|
|
|
|
|
|
paths => [ [ {}, "_migration", "system_features" ] ], |
3932
|
|
|
|
|
|
|
qs => { |
3933
|
|
|
|
|
|
|
error_trace => "boolean", |
3934
|
|
|
|
|
|
|
filter_path => "list", |
3935
|
|
|
|
|
|
|
human => "boolean" |
3936
|
|
|
|
|
|
|
}, |
3937
|
|
|
|
|
|
|
}, |
3938
|
|
|
|
|
|
|
|
3939
|
|
|
|
|
|
|
'migration.post_feature_upgrade' => { |
3940
|
|
|
|
|
|
|
doc => "migration-api-feature-upgrade", |
3941
|
|
|
|
|
|
|
method => "POST", |
3942
|
|
|
|
|
|
|
parts => {}, |
3943
|
|
|
|
|
|
|
paths => [ [ {}, "_migration", "system_features" ] ], |
3944
|
|
|
|
|
|
|
qs => { |
3945
|
|
|
|
|
|
|
error_trace => "boolean", |
3946
|
|
|
|
|
|
|
filter_path => "list", |
3947
|
|
|
|
|
|
|
human => "boolean" |
3948
|
|
|
|
|
|
|
}, |
3949
|
|
|
|
|
|
|
}, |
3950
|
|
|
|
|
|
|
|
3951
|
|
|
|
|
|
|
'ml.close_job' => { |
3952
|
|
|
|
|
|
|
body => {}, |
3953
|
|
|
|
|
|
|
doc => "ml-close-job", |
3954
|
|
|
|
|
|
|
method => "POST", |
3955
|
|
|
|
|
|
|
parts => { job_id => {} }, |
3956
|
|
|
|
|
|
|
paths => [ |
3957
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
3958
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
3959
|
|
|
|
|
|
|
"_close", |
3960
|
|
|
|
|
|
|
], |
3961
|
|
|
|
|
|
|
], |
3962
|
|
|
|
|
|
|
qs => { |
3963
|
|
|
|
|
|
|
allow_no_jobs => "boolean", |
3964
|
|
|
|
|
|
|
allow_no_match => "boolean", |
3965
|
|
|
|
|
|
|
error_trace => "boolean", |
3966
|
|
|
|
|
|
|
filter_path => "list", |
3967
|
|
|
|
|
|
|
force => "boolean", |
3968
|
|
|
|
|
|
|
human => "boolean", |
3969
|
|
|
|
|
|
|
timeout => "time", |
3970
|
|
|
|
|
|
|
}, |
3971
|
|
|
|
|
|
|
}, |
3972
|
|
|
|
|
|
|
|
3973
|
|
|
|
|
|
|
'ml.delete_calendar' => { |
3974
|
|
|
|
|
|
|
doc => "ml-delete-calendar", |
3975
|
|
|
|
|
|
|
method => "DELETE", |
3976
|
|
|
|
|
|
|
parts => { calendar_id => {} }, |
3977
|
|
|
|
|
|
|
paths => |
3978
|
|
|
|
|
|
|
[ [ { calendar_id => 2 }, "_ml", "calendars", "{calendar_id}" ] ], |
3979
|
|
|
|
|
|
|
qs => { |
3980
|
|
|
|
|
|
|
error_trace => "boolean", |
3981
|
|
|
|
|
|
|
filter_path => "list", |
3982
|
|
|
|
|
|
|
human => "boolean" |
3983
|
|
|
|
|
|
|
}, |
3984
|
|
|
|
|
|
|
}, |
3985
|
|
|
|
|
|
|
|
3986
|
|
|
|
|
|
|
'ml.delete_calendar_event' => { |
3987
|
|
|
|
|
|
|
doc => "ml-delete-calendar-event", |
3988
|
|
|
|
|
|
|
method => "DELETE", |
3989
|
|
|
|
|
|
|
parts => { calendar_id => {}, event_id => {} }, |
3990
|
|
|
|
|
|
|
paths => [ |
3991
|
|
|
|
|
|
|
[ { calendar_id => 2, event_id => 4 }, "_ml", |
3992
|
|
|
|
|
|
|
"calendars", "{calendar_id}", |
3993
|
|
|
|
|
|
|
"events", "{event_id}", |
3994
|
|
|
|
|
|
|
], |
3995
|
|
|
|
|
|
|
], |
3996
|
|
|
|
|
|
|
qs => { |
3997
|
|
|
|
|
|
|
error_trace => "boolean", |
3998
|
|
|
|
|
|
|
filter_path => "list", |
3999
|
|
|
|
|
|
|
human => "boolean" |
4000
|
|
|
|
|
|
|
}, |
4001
|
|
|
|
|
|
|
}, |
4002
|
|
|
|
|
|
|
|
4003
|
|
|
|
|
|
|
'ml.delete_calendar_job' => { |
4004
|
|
|
|
|
|
|
doc => "ml-delete-calendar-job", |
4005
|
|
|
|
|
|
|
method => "DELETE", |
4006
|
|
|
|
|
|
|
parts => { calendar_id => {}, job_id => {} }, |
4007
|
|
|
|
|
|
|
paths => [ |
4008
|
|
|
|
|
|
|
[ { calendar_id => 2, job_id => 4 }, |
4009
|
|
|
|
|
|
|
"_ml", "calendars", "{calendar_id}", "jobs", "{job_id}", |
4010
|
|
|
|
|
|
|
], |
4011
|
|
|
|
|
|
|
], |
4012
|
|
|
|
|
|
|
qs => { |
4013
|
|
|
|
|
|
|
error_trace => "boolean", |
4014
|
|
|
|
|
|
|
filter_path => "list", |
4015
|
|
|
|
|
|
|
human => "boolean" |
4016
|
|
|
|
|
|
|
}, |
4017
|
|
|
|
|
|
|
}, |
4018
|
|
|
|
|
|
|
|
4019
|
|
|
|
|
|
|
'ml.delete_data_frame_analytics' => { |
4020
|
|
|
|
|
|
|
doc => "delete-dfanalytics", |
4021
|
|
|
|
|
|
|
method => "DELETE", |
4022
|
|
|
|
|
|
|
parts => { id => {} }, |
4023
|
|
|
|
|
|
|
paths => |
4024
|
|
|
|
|
|
|
[ [ { id => 3 }, "_ml", "data_frame", "analytics", "{id}" ] ], |
4025
|
|
|
|
|
|
|
qs => { |
4026
|
|
|
|
|
|
|
error_trace => "boolean", |
4027
|
|
|
|
|
|
|
filter_path => "list", |
4028
|
|
|
|
|
|
|
force => "boolean", |
4029
|
|
|
|
|
|
|
human => "boolean", |
4030
|
|
|
|
|
|
|
timeout => "time", |
4031
|
|
|
|
|
|
|
}, |
4032
|
|
|
|
|
|
|
}, |
4033
|
|
|
|
|
|
|
|
4034
|
|
|
|
|
|
|
'ml.delete_datafeed' => { |
4035
|
|
|
|
|
|
|
doc => "ml-delete-datafeed", |
4036
|
|
|
|
|
|
|
method => "DELETE", |
4037
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4038
|
|
|
|
|
|
|
paths => |
4039
|
|
|
|
|
|
|
[ [ { datafeed_id => 2 }, "_ml", "datafeeds", "{datafeed_id}" ] ], |
4040
|
|
|
|
|
|
|
qs => { |
4041
|
|
|
|
|
|
|
error_trace => "boolean", |
4042
|
|
|
|
|
|
|
filter_path => "list", |
4043
|
|
|
|
|
|
|
force => "boolean", |
4044
|
|
|
|
|
|
|
human => "boolean", |
4045
|
|
|
|
|
|
|
}, |
4046
|
|
|
|
|
|
|
}, |
4047
|
|
|
|
|
|
|
|
4048
|
|
|
|
|
|
|
'ml.delete_expired_data' => { |
4049
|
|
|
|
|
|
|
body => {}, |
4050
|
|
|
|
|
|
|
doc => "ml-delete-expired-data", |
4051
|
|
|
|
|
|
|
method => "DELETE", |
4052
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4053
|
|
|
|
|
|
|
paths => [ |
4054
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", "_delete_expired_data", "{job_id}" ], |
4055
|
|
|
|
|
|
|
[ {}, "_ml", "_delete_expired_data" ], |
4056
|
|
|
|
|
|
|
], |
4057
|
|
|
|
|
|
|
qs => { |
4058
|
|
|
|
|
|
|
error_trace => "boolean", |
4059
|
|
|
|
|
|
|
filter_path => "list", |
4060
|
|
|
|
|
|
|
human => "boolean", |
4061
|
|
|
|
|
|
|
requests_per_second => "number", |
4062
|
|
|
|
|
|
|
timeout => "time", |
4063
|
|
|
|
|
|
|
}, |
4064
|
|
|
|
|
|
|
}, |
4065
|
|
|
|
|
|
|
|
4066
|
|
|
|
|
|
|
'ml.delete_filter' => { |
4067
|
|
|
|
|
|
|
doc => "ml-delete-filter", |
4068
|
|
|
|
|
|
|
method => "DELETE", |
4069
|
|
|
|
|
|
|
parts => { filter_id => {} }, |
4070
|
|
|
|
|
|
|
paths => [ [ { filter_id => 2 }, "_ml", "filters", "{filter_id}" ] ], |
4071
|
|
|
|
|
|
|
qs => { |
4072
|
|
|
|
|
|
|
error_trace => "boolean", |
4073
|
|
|
|
|
|
|
filter_path => "list", |
4074
|
|
|
|
|
|
|
human => "boolean" |
4075
|
|
|
|
|
|
|
}, |
4076
|
|
|
|
|
|
|
}, |
4077
|
|
|
|
|
|
|
|
4078
|
|
|
|
|
|
|
'ml.delete_forecast' => { |
4079
|
|
|
|
|
|
|
doc => "ml-delete-forecast", |
4080
|
|
|
|
|
|
|
method => "DELETE", |
4081
|
|
|
|
|
|
|
parts => { forecast_id => {}, job_id => {} }, |
4082
|
|
|
|
|
|
|
paths => [ |
4083
|
|
|
|
|
|
|
[ { forecast_id => 4, job_id => 2 }, "_ml", |
4084
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4085
|
|
|
|
|
|
|
"_forecast", "{forecast_id}", |
4086
|
|
|
|
|
|
|
], |
4087
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4088
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4089
|
|
|
|
|
|
|
"_forecast", |
4090
|
|
|
|
|
|
|
], |
4091
|
|
|
|
|
|
|
], |
4092
|
|
|
|
|
|
|
qs => { |
4093
|
|
|
|
|
|
|
allow_no_forecasts => "boolean", |
4094
|
|
|
|
|
|
|
error_trace => "boolean", |
4095
|
|
|
|
|
|
|
filter_path => "list", |
4096
|
|
|
|
|
|
|
human => "boolean", |
4097
|
|
|
|
|
|
|
timeout => "time", |
4098
|
|
|
|
|
|
|
}, |
4099
|
|
|
|
|
|
|
}, |
4100
|
|
|
|
|
|
|
|
4101
|
|
|
|
|
|
|
'ml.delete_job' => { |
4102
|
|
|
|
|
|
|
doc => "ml-delete-job", |
4103
|
|
|
|
|
|
|
method => "DELETE", |
4104
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4105
|
|
|
|
|
|
|
paths => |
4106
|
|
|
|
|
|
|
[ [ { job_id => 2 }, "_ml", "anomaly_detectors", "{job_id}" ] ], |
4107
|
|
|
|
|
|
|
qs => { |
4108
|
|
|
|
|
|
|
error_trace => "boolean", |
4109
|
|
|
|
|
|
|
filter_path => "list", |
4110
|
|
|
|
|
|
|
force => "boolean", |
4111
|
|
|
|
|
|
|
human => "boolean", |
4112
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
4113
|
|
|
|
|
|
|
}, |
4114
|
|
|
|
|
|
|
}, |
4115
|
|
|
|
|
|
|
|
4116
|
|
|
|
|
|
|
'ml.delete_model_snapshot' => { |
4117
|
|
|
|
|
|
|
doc => "ml-delete-snapshot", |
4118
|
|
|
|
|
|
|
method => "DELETE", |
4119
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
4120
|
|
|
|
|
|
|
paths => [ |
4121
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
4122
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4123
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
4124
|
|
|
|
|
|
|
], |
4125
|
|
|
|
|
|
|
], |
4126
|
|
|
|
|
|
|
qs => { |
4127
|
|
|
|
|
|
|
error_trace => "boolean", |
4128
|
|
|
|
|
|
|
filter_path => "list", |
4129
|
|
|
|
|
|
|
human => "boolean" |
4130
|
|
|
|
|
|
|
}, |
4131
|
|
|
|
|
|
|
}, |
4132
|
|
|
|
|
|
|
|
4133
|
|
|
|
|
|
|
'ml.delete_trained_model' => { |
4134
|
|
|
|
|
|
|
doc => "delete-trained-models", |
4135
|
|
|
|
|
|
|
method => "DELETE", |
4136
|
|
|
|
|
|
|
parts => { model_id => {} }, |
4137
|
|
|
|
|
|
|
paths => |
4138
|
|
|
|
|
|
|
[ [ { model_id => 2 }, "_ml", "trained_models", "{model_id}" ] ], |
4139
|
|
|
|
|
|
|
qs => { |
4140
|
|
|
|
|
|
|
error_trace => "boolean", |
4141
|
|
|
|
|
|
|
filter_path => "list", |
4142
|
|
|
|
|
|
|
human => "boolean" |
4143
|
|
|
|
|
|
|
}, |
4144
|
|
|
|
|
|
|
}, |
4145
|
|
|
|
|
|
|
|
4146
|
|
|
|
|
|
|
'ml.delete_trained_model_alias' => { |
4147
|
|
|
|
|
|
|
doc => "delete-trained-models-aliases", |
4148
|
|
|
|
|
|
|
method => "DELETE", |
4149
|
|
|
|
|
|
|
parts => { model_alias => {}, model_id => {} }, |
4150
|
|
|
|
|
|
|
paths => [ |
4151
|
|
|
|
|
|
|
[ { model_alias => 4, model_id => 2 }, "_ml", |
4152
|
|
|
|
|
|
|
"trained_models", "{model_id}", |
4153
|
|
|
|
|
|
|
"model_aliases", "{model_alias}", |
4154
|
|
|
|
|
|
|
], |
4155
|
|
|
|
|
|
|
], |
4156
|
|
|
|
|
|
|
qs => { |
4157
|
|
|
|
|
|
|
error_trace => "boolean", |
4158
|
|
|
|
|
|
|
filter_path => "list", |
4159
|
|
|
|
|
|
|
human => "boolean" |
4160
|
|
|
|
|
|
|
}, |
4161
|
|
|
|
|
|
|
}, |
4162
|
|
|
|
|
|
|
|
4163
|
|
|
|
|
|
|
'ml.estimate_model_memory' => { |
4164
|
|
|
|
|
|
|
body => { required => 1 }, |
4165
|
|
|
|
|
|
|
doc => "ml-apis", |
4166
|
|
|
|
|
|
|
method => "POST", |
4167
|
|
|
|
|
|
|
parts => {}, |
4168
|
|
|
|
|
|
|
paths => |
4169
|
|
|
|
|
|
|
[ [ {}, "_ml", "anomaly_detectors", "_estimate_model_memory" ] ], |
4170
|
|
|
|
|
|
|
qs => { |
4171
|
|
|
|
|
|
|
error_trace => "boolean", |
4172
|
|
|
|
|
|
|
filter_path => "list", |
4173
|
|
|
|
|
|
|
human => "boolean" |
4174
|
|
|
|
|
|
|
}, |
4175
|
|
|
|
|
|
|
}, |
4176
|
|
|
|
|
|
|
|
4177
|
|
|
|
|
|
|
'ml.evaluate_data_frame' => { |
4178
|
|
|
|
|
|
|
body => { required => 1 }, |
4179
|
|
|
|
|
|
|
doc => "evaluate-dfanalytics", |
4180
|
|
|
|
|
|
|
method => "POST", |
4181
|
|
|
|
|
|
|
parts => {}, |
4182
|
|
|
|
|
|
|
paths => [ [ {}, "_ml", "data_frame", "_evaluate" ] ], |
4183
|
|
|
|
|
|
|
qs => { |
4184
|
|
|
|
|
|
|
error_trace => "boolean", |
4185
|
|
|
|
|
|
|
filter_path => "list", |
4186
|
|
|
|
|
|
|
human => "boolean" |
4187
|
|
|
|
|
|
|
}, |
4188
|
|
|
|
|
|
|
}, |
4189
|
|
|
|
|
|
|
|
4190
|
|
|
|
|
|
|
'ml.explain_data_frame_analytics' => { |
4191
|
|
|
|
|
|
|
body => {}, |
4192
|
|
|
|
|
|
|
doc => "explain-dfanalytics", |
4193
|
|
|
|
|
|
|
parts => { id => {} }, |
4194
|
|
|
|
|
|
|
paths => [ |
4195
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", |
4196
|
|
|
|
|
|
|
"{id}", "_explain" |
4197
|
|
|
|
|
|
|
], |
4198
|
|
|
|
|
|
|
[ {}, "_ml", "data_frame", "analytics", "_explain" ], |
4199
|
|
|
|
|
|
|
], |
4200
|
|
|
|
|
|
|
qs => { |
4201
|
|
|
|
|
|
|
error_trace => "boolean", |
4202
|
|
|
|
|
|
|
filter_path => "list", |
4203
|
|
|
|
|
|
|
human => "boolean" |
4204
|
|
|
|
|
|
|
}, |
4205
|
|
|
|
|
|
|
}, |
4206
|
|
|
|
|
|
|
|
4207
|
|
|
|
|
|
|
'ml.find_file_structure' => { |
4208
|
|
|
|
|
|
|
body => { required => 1 }, |
4209
|
|
|
|
|
|
|
doc => "find-structure", |
4210
|
|
|
|
|
|
|
method => "POST", |
4211
|
|
|
|
|
|
|
parts => {}, |
4212
|
|
|
|
|
|
|
paths => [ [ {}, "_ml", "find_file_structure" ] ], |
4213
|
|
|
|
|
|
|
qs => { |
4214
|
|
|
|
|
|
|
charset => "string", |
4215
|
|
|
|
|
|
|
column_names => "list", |
4216
|
|
|
|
|
|
|
delimiter => "string", |
4217
|
|
|
|
|
|
|
error_trace => "boolean", |
4218
|
|
|
|
|
|
|
explain => "boolean", |
4219
|
|
|
|
|
|
|
filter_path => "list", |
4220
|
|
|
|
|
|
|
format => "enum", |
4221
|
|
|
|
|
|
|
grok_pattern => "string", |
4222
|
|
|
|
|
|
|
has_header_row => "boolean", |
4223
|
|
|
|
|
|
|
human => "boolean", |
4224
|
|
|
|
|
|
|
line_merge_size_limit => "int", |
4225
|
|
|
|
|
|
|
lines_to_sample => "int", |
4226
|
|
|
|
|
|
|
quote => "string", |
4227
|
|
|
|
|
|
|
should_trim_fields => "boolean", |
4228
|
|
|
|
|
|
|
timeout => "time", |
4229
|
|
|
|
|
|
|
timestamp_field => "string", |
4230
|
|
|
|
|
|
|
timestamp_format => "string", |
4231
|
|
|
|
|
|
|
}, |
4232
|
|
|
|
|
|
|
serialize => "bulk", |
4233
|
|
|
|
|
|
|
}, |
4234
|
|
|
|
|
|
|
|
4235
|
|
|
|
|
|
|
'ml.flush_job' => { |
4236
|
|
|
|
|
|
|
body => {}, |
4237
|
|
|
|
|
|
|
doc => "ml-flush-job", |
4238
|
|
|
|
|
|
|
method => "POST", |
4239
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4240
|
|
|
|
|
|
|
paths => [ |
4241
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4242
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4243
|
|
|
|
|
|
|
"_flush", |
4244
|
|
|
|
|
|
|
], |
4245
|
|
|
|
|
|
|
], |
4246
|
|
|
|
|
|
|
qs => { |
4247
|
|
|
|
|
|
|
advance_time => "string", |
4248
|
|
|
|
|
|
|
calc_interim => "boolean", |
4249
|
|
|
|
|
|
|
end => "string", |
4250
|
|
|
|
|
|
|
error_trace => "boolean", |
4251
|
|
|
|
|
|
|
filter_path => "list", |
4252
|
|
|
|
|
|
|
human => "boolean", |
4253
|
|
|
|
|
|
|
skip_time => "string", |
4254
|
|
|
|
|
|
|
start => "string", |
4255
|
|
|
|
|
|
|
}, |
4256
|
|
|
|
|
|
|
}, |
4257
|
|
|
|
|
|
|
|
4258
|
|
|
|
|
|
|
'ml.forecast' => { |
4259
|
|
|
|
|
|
|
body => {}, |
4260
|
|
|
|
|
|
|
doc => "ml-forecast", |
4261
|
|
|
|
|
|
|
method => "POST", |
4262
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4263
|
|
|
|
|
|
|
paths => [ |
4264
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4265
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4266
|
|
|
|
|
|
|
"_forecast", |
4267
|
|
|
|
|
|
|
], |
4268
|
|
|
|
|
|
|
], |
4269
|
|
|
|
|
|
|
qs => { |
4270
|
|
|
|
|
|
|
duration => "time", |
4271
|
|
|
|
|
|
|
error_trace => "boolean", |
4272
|
|
|
|
|
|
|
expires_in => "time", |
4273
|
|
|
|
|
|
|
filter_path => "list", |
4274
|
|
|
|
|
|
|
human => "boolean", |
4275
|
|
|
|
|
|
|
max_model_memory => "string", |
4276
|
|
|
|
|
|
|
}, |
4277
|
|
|
|
|
|
|
}, |
4278
|
|
|
|
|
|
|
|
4279
|
|
|
|
|
|
|
'ml.get_buckets' => { |
4280
|
|
|
|
|
|
|
body => {}, |
4281
|
|
|
|
|
|
|
doc => "ml-get-bucket", |
4282
|
|
|
|
|
|
|
parts => { job_id => {}, timestamp => {} }, |
4283
|
|
|
|
|
|
|
paths => [ |
4284
|
|
|
|
|
|
|
[ { job_id => 2, timestamp => 5 }, "_ml", |
4285
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4286
|
|
|
|
|
|
|
"results", "buckets", |
4287
|
|
|
|
|
|
|
"{timestamp}", |
4288
|
|
|
|
|
|
|
], |
4289
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4290
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4291
|
|
|
|
|
|
|
"results", "buckets", |
4292
|
|
|
|
|
|
|
], |
4293
|
|
|
|
|
|
|
], |
4294
|
|
|
|
|
|
|
qs => { |
4295
|
|
|
|
|
|
|
anomaly_score => "double", |
4296
|
|
|
|
|
|
|
desc => "boolean", |
4297
|
|
|
|
|
|
|
end => "string", |
4298
|
|
|
|
|
|
|
error_trace => "boolean", |
4299
|
|
|
|
|
|
|
exclude_interim => "boolean", |
4300
|
|
|
|
|
|
|
expand => "boolean", |
4301
|
|
|
|
|
|
|
filter_path => "list", |
4302
|
|
|
|
|
|
|
from => "int", |
4303
|
|
|
|
|
|
|
human => "boolean", |
4304
|
|
|
|
|
|
|
size => "int", |
4305
|
|
|
|
|
|
|
sort => "string", |
4306
|
|
|
|
|
|
|
start => "string", |
4307
|
|
|
|
|
|
|
}, |
4308
|
|
|
|
|
|
|
}, |
4309
|
|
|
|
|
|
|
|
4310
|
|
|
|
|
|
|
'ml.get_calendar_events' => { |
4311
|
|
|
|
|
|
|
doc => "ml-get-calendar-event", |
4312
|
|
|
|
|
|
|
parts => { calendar_id => {} }, |
4313
|
|
|
|
|
|
|
paths => [ |
4314
|
|
|
|
|
|
|
[ { calendar_id => 2 }, "_ml", |
4315
|
|
|
|
|
|
|
"calendars", "{calendar_id}", |
4316
|
|
|
|
|
|
|
"events", |
4317
|
|
|
|
|
|
|
], |
4318
|
|
|
|
|
|
|
], |
4319
|
|
|
|
|
|
|
qs => { |
4320
|
|
|
|
|
|
|
end => "time", |
4321
|
|
|
|
|
|
|
error_trace => "boolean", |
4322
|
|
|
|
|
|
|
filter_path => "list", |
4323
|
|
|
|
|
|
|
from => "int", |
4324
|
|
|
|
|
|
|
human => "boolean", |
4325
|
|
|
|
|
|
|
job_id => "string", |
4326
|
|
|
|
|
|
|
size => "int", |
4327
|
|
|
|
|
|
|
start => "string", |
4328
|
|
|
|
|
|
|
}, |
4329
|
|
|
|
|
|
|
}, |
4330
|
|
|
|
|
|
|
|
4331
|
|
|
|
|
|
|
'ml.get_calendars' => { |
4332
|
|
|
|
|
|
|
body => {}, |
4333
|
|
|
|
|
|
|
doc => "ml-get-calendar", |
4334
|
|
|
|
|
|
|
parts => { calendar_id => {} }, |
4335
|
|
|
|
|
|
|
paths => [ |
4336
|
|
|
|
|
|
|
[ { calendar_id => 2 }, "_ml", "calendars", "{calendar_id}" ], |
4337
|
|
|
|
|
|
|
[ {}, "_ml", "calendars" ], |
4338
|
|
|
|
|
|
|
], |
4339
|
|
|
|
|
|
|
qs => { |
4340
|
|
|
|
|
|
|
error_trace => "boolean", |
4341
|
|
|
|
|
|
|
filter_path => "list", |
4342
|
|
|
|
|
|
|
from => "int", |
4343
|
|
|
|
|
|
|
human => "boolean", |
4344
|
|
|
|
|
|
|
size => "int", |
4345
|
|
|
|
|
|
|
}, |
4346
|
|
|
|
|
|
|
}, |
4347
|
|
|
|
|
|
|
|
4348
|
|
|
|
|
|
|
'ml.get_categories' => { |
4349
|
|
|
|
|
|
|
body => {}, |
4350
|
|
|
|
|
|
|
doc => "ml-get-category", |
4351
|
|
|
|
|
|
|
parts => { category_id => {}, job_id => {} }, |
4352
|
|
|
|
|
|
|
paths => [ |
4353
|
|
|
|
|
|
|
[ { category_id => 5, job_id => 2 }, "_ml", |
4354
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4355
|
|
|
|
|
|
|
"results", "categories", |
4356
|
|
|
|
|
|
|
"{category_id}", |
4357
|
|
|
|
|
|
|
], |
4358
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4359
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4360
|
|
|
|
|
|
|
"results", "categories", |
4361
|
|
|
|
|
|
|
], |
4362
|
|
|
|
|
|
|
], |
4363
|
|
|
|
|
|
|
qs => { |
4364
|
|
|
|
|
|
|
error_trace => "boolean", |
4365
|
|
|
|
|
|
|
filter_path => "list", |
4366
|
|
|
|
|
|
|
from => "int", |
4367
|
|
|
|
|
|
|
human => "boolean", |
4368
|
|
|
|
|
|
|
partition_field_value => "string", |
4369
|
|
|
|
|
|
|
size => "int", |
4370
|
|
|
|
|
|
|
}, |
4371
|
|
|
|
|
|
|
}, |
4372
|
|
|
|
|
|
|
|
4373
|
|
|
|
|
|
|
'ml.get_data_frame_analytics' => { |
4374
|
|
|
|
|
|
|
doc => "get-dfanalytics", |
4375
|
|
|
|
|
|
|
parts => { id => {} }, |
4376
|
|
|
|
|
|
|
paths => [ |
4377
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", "{id}" ], |
4378
|
|
|
|
|
|
|
[ {}, "_ml", "data_frame", "analytics" ], |
4379
|
|
|
|
|
|
|
], |
4380
|
|
|
|
|
|
|
qs => { |
4381
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4382
|
|
|
|
|
|
|
error_trace => "boolean", |
4383
|
|
|
|
|
|
|
exclude_generated => "boolean", |
4384
|
|
|
|
|
|
|
filter_path => "list", |
4385
|
|
|
|
|
|
|
from => "int", |
4386
|
|
|
|
|
|
|
human => "boolean", |
4387
|
|
|
|
|
|
|
size => "int", |
4388
|
|
|
|
|
|
|
}, |
4389
|
|
|
|
|
|
|
}, |
4390
|
|
|
|
|
|
|
|
4391
|
|
|
|
|
|
|
'ml.get_data_frame_analytics_stats' => { |
4392
|
|
|
|
|
|
|
doc => "get-dfanalytics-stats", |
4393
|
|
|
|
|
|
|
parts => { id => {} }, |
4394
|
|
|
|
|
|
|
paths => [ |
4395
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", |
4396
|
|
|
|
|
|
|
"{id}", "_stats" |
4397
|
|
|
|
|
|
|
], |
4398
|
|
|
|
|
|
|
[ {}, "_ml", "data_frame", "analytics", "_stats" ], |
4399
|
|
|
|
|
|
|
], |
4400
|
|
|
|
|
|
|
qs => { |
4401
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4402
|
|
|
|
|
|
|
error_trace => "boolean", |
4403
|
|
|
|
|
|
|
filter_path => "list", |
4404
|
|
|
|
|
|
|
from => "int", |
4405
|
|
|
|
|
|
|
human => "boolean", |
4406
|
|
|
|
|
|
|
size => "int", |
4407
|
|
|
|
|
|
|
verbose => "boolean", |
4408
|
|
|
|
|
|
|
}, |
4409
|
|
|
|
|
|
|
}, |
4410
|
|
|
|
|
|
|
|
4411
|
|
|
|
|
|
|
'ml.get_datafeed_stats' => { |
4412
|
|
|
|
|
|
|
doc => "ml-get-datafeed-stats", |
4413
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4414
|
|
|
|
|
|
|
paths => [ |
4415
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", |
4416
|
|
|
|
|
|
|
"datafeeds", "{datafeed_id}", |
4417
|
|
|
|
|
|
|
"_stats", |
4418
|
|
|
|
|
|
|
], |
4419
|
|
|
|
|
|
|
[ {}, "_ml", "datafeeds", "_stats" ], |
4420
|
|
|
|
|
|
|
], |
4421
|
|
|
|
|
|
|
qs => { |
4422
|
|
|
|
|
|
|
allow_no_datafeeds => "boolean", |
4423
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4424
|
|
|
|
|
|
|
error_trace => "boolean", |
4425
|
|
|
|
|
|
|
filter_path => "list", |
4426
|
|
|
|
|
|
|
human => "boolean", |
4427
|
|
|
|
|
|
|
}, |
4428
|
|
|
|
|
|
|
}, |
4429
|
|
|
|
|
|
|
|
4430
|
|
|
|
|
|
|
'ml.get_datafeeds' => { |
4431
|
|
|
|
|
|
|
doc => "ml-get-datafeed", |
4432
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4433
|
|
|
|
|
|
|
paths => [ |
4434
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", "datafeeds", "{datafeed_id}" ], |
4435
|
|
|
|
|
|
|
[ {}, "_ml", "datafeeds" ], |
4436
|
|
|
|
|
|
|
], |
4437
|
|
|
|
|
|
|
qs => { |
4438
|
|
|
|
|
|
|
allow_no_datafeeds => "boolean", |
4439
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4440
|
|
|
|
|
|
|
error_trace => "boolean", |
4441
|
|
|
|
|
|
|
exclude_generated => "boolean", |
4442
|
|
|
|
|
|
|
filter_path => "list", |
4443
|
|
|
|
|
|
|
human => "boolean", |
4444
|
|
|
|
|
|
|
}, |
4445
|
|
|
|
|
|
|
}, |
4446
|
|
|
|
|
|
|
|
4447
|
|
|
|
|
|
|
'ml.get_filters' => { |
4448
|
|
|
|
|
|
|
doc => "ml-get-filter", |
4449
|
|
|
|
|
|
|
parts => { filter_id => {} }, |
4450
|
|
|
|
|
|
|
paths => [ |
4451
|
|
|
|
|
|
|
[ { filter_id => 2 }, "_ml", "filters", "{filter_id}" ], |
4452
|
|
|
|
|
|
|
[ {}, "_ml", "filters" ], |
4453
|
|
|
|
|
|
|
], |
4454
|
|
|
|
|
|
|
qs => { |
4455
|
|
|
|
|
|
|
error_trace => "boolean", |
4456
|
|
|
|
|
|
|
filter_path => "list", |
4457
|
|
|
|
|
|
|
from => "int", |
4458
|
|
|
|
|
|
|
human => "boolean", |
4459
|
|
|
|
|
|
|
size => "int", |
4460
|
|
|
|
|
|
|
}, |
4461
|
|
|
|
|
|
|
}, |
4462
|
|
|
|
|
|
|
|
4463
|
|
|
|
|
|
|
'ml.get_influencers' => { |
4464
|
|
|
|
|
|
|
body => {}, |
4465
|
|
|
|
|
|
|
doc => "ml-get-influencer", |
4466
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4467
|
|
|
|
|
|
|
paths => [ |
4468
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4469
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4470
|
|
|
|
|
|
|
"results", "influencers", |
4471
|
|
|
|
|
|
|
], |
4472
|
|
|
|
|
|
|
], |
4473
|
|
|
|
|
|
|
qs => { |
4474
|
|
|
|
|
|
|
desc => "boolean", |
4475
|
|
|
|
|
|
|
end => "string", |
4476
|
|
|
|
|
|
|
error_trace => "boolean", |
4477
|
|
|
|
|
|
|
exclude_interim => "boolean", |
4478
|
|
|
|
|
|
|
filter_path => "list", |
4479
|
|
|
|
|
|
|
from => "int", |
4480
|
|
|
|
|
|
|
human => "boolean", |
4481
|
|
|
|
|
|
|
influencer_score => "double", |
4482
|
|
|
|
|
|
|
size => "int", |
4483
|
|
|
|
|
|
|
sort => "string", |
4484
|
|
|
|
|
|
|
start => "string", |
4485
|
|
|
|
|
|
|
}, |
4486
|
|
|
|
|
|
|
}, |
4487
|
|
|
|
|
|
|
|
4488
|
|
|
|
|
|
|
'ml.get_job_stats' => { |
4489
|
|
|
|
|
|
|
doc => "ml-get-job-stats", |
4490
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4491
|
|
|
|
|
|
|
paths => [ |
4492
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4493
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4494
|
|
|
|
|
|
|
"_stats", |
4495
|
|
|
|
|
|
|
], |
4496
|
|
|
|
|
|
|
[ {}, "_ml", "anomaly_detectors", "_stats" ], |
4497
|
|
|
|
|
|
|
], |
4498
|
|
|
|
|
|
|
qs => { |
4499
|
|
|
|
|
|
|
allow_no_jobs => "boolean", |
4500
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4501
|
|
|
|
|
|
|
error_trace => "boolean", |
4502
|
|
|
|
|
|
|
filter_path => "list", |
4503
|
|
|
|
|
|
|
human => "boolean", |
4504
|
|
|
|
|
|
|
}, |
4505
|
|
|
|
|
|
|
}, |
4506
|
|
|
|
|
|
|
|
4507
|
|
|
|
|
|
|
'ml.get_jobs' => { |
4508
|
|
|
|
|
|
|
doc => "ml-get-job", |
4509
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4510
|
|
|
|
|
|
|
paths => [ |
4511
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", "anomaly_detectors", "{job_id}" ], |
4512
|
|
|
|
|
|
|
[ {}, "_ml", "anomaly_detectors" ], |
4513
|
|
|
|
|
|
|
], |
4514
|
|
|
|
|
|
|
qs => { |
4515
|
|
|
|
|
|
|
allow_no_jobs => "boolean", |
4516
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4517
|
|
|
|
|
|
|
error_trace => "boolean", |
4518
|
|
|
|
|
|
|
exclude_generated => "boolean", |
4519
|
|
|
|
|
|
|
filter_path => "list", |
4520
|
|
|
|
|
|
|
human => "boolean", |
4521
|
|
|
|
|
|
|
}, |
4522
|
|
|
|
|
|
|
}, |
4523
|
|
|
|
|
|
|
|
4524
|
|
|
|
|
|
|
'ml.get_model_snapshot_upgrade_stats' => { |
4525
|
|
|
|
|
|
|
doc => "ml-get-job-model-snapshot-upgrade-stats", |
4526
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
4527
|
|
|
|
|
|
|
paths => [ |
4528
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
4529
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4530
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
4531
|
|
|
|
|
|
|
"_upgrade", "_stats", |
4532
|
|
|
|
|
|
|
], |
4533
|
|
|
|
|
|
|
], |
4534
|
|
|
|
|
|
|
qs => { |
4535
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4536
|
|
|
|
|
|
|
error_trace => "boolean", |
4537
|
|
|
|
|
|
|
filter_path => "list", |
4538
|
|
|
|
|
|
|
human => "boolean", |
4539
|
|
|
|
|
|
|
}, |
4540
|
|
|
|
|
|
|
}, |
4541
|
|
|
|
|
|
|
|
4542
|
|
|
|
|
|
|
'ml.get_model_snapshots' => { |
4543
|
|
|
|
|
|
|
body => {}, |
4544
|
|
|
|
|
|
|
doc => "ml-get-snapshot", |
4545
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
4546
|
|
|
|
|
|
|
paths => [ |
4547
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
4548
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4549
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
4550
|
|
|
|
|
|
|
], |
4551
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4552
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4553
|
|
|
|
|
|
|
"model_snapshots", |
4554
|
|
|
|
|
|
|
], |
4555
|
|
|
|
|
|
|
], |
4556
|
|
|
|
|
|
|
qs => { |
4557
|
|
|
|
|
|
|
desc => "boolean", |
4558
|
|
|
|
|
|
|
end => "time", |
4559
|
|
|
|
|
|
|
error_trace => "boolean", |
4560
|
|
|
|
|
|
|
filter_path => "list", |
4561
|
|
|
|
|
|
|
from => "int", |
4562
|
|
|
|
|
|
|
human => "boolean", |
4563
|
|
|
|
|
|
|
size => "int", |
4564
|
|
|
|
|
|
|
sort => "string", |
4565
|
|
|
|
|
|
|
start => "time", |
4566
|
|
|
|
|
|
|
}, |
4567
|
|
|
|
|
|
|
}, |
4568
|
|
|
|
|
|
|
|
4569
|
|
|
|
|
|
|
'ml.get_overall_buckets' => { |
4570
|
|
|
|
|
|
|
body => {}, |
4571
|
|
|
|
|
|
|
doc => "ml-get-overall-buckets", |
4572
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4573
|
|
|
|
|
|
|
paths => [ |
4574
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4575
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4576
|
|
|
|
|
|
|
"results", "overall_buckets", |
4577
|
|
|
|
|
|
|
], |
4578
|
|
|
|
|
|
|
], |
4579
|
|
|
|
|
|
|
qs => { |
4580
|
|
|
|
|
|
|
allow_no_jobs => "boolean", |
4581
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4582
|
|
|
|
|
|
|
bucket_span => "string", |
4583
|
|
|
|
|
|
|
end => "string", |
4584
|
|
|
|
|
|
|
error_trace => "boolean", |
4585
|
|
|
|
|
|
|
exclude_interim => "boolean", |
4586
|
|
|
|
|
|
|
filter_path => "list", |
4587
|
|
|
|
|
|
|
human => "boolean", |
4588
|
|
|
|
|
|
|
overall_score => "double", |
4589
|
|
|
|
|
|
|
start => "string", |
4590
|
|
|
|
|
|
|
top_n => "int", |
4591
|
|
|
|
|
|
|
}, |
4592
|
|
|
|
|
|
|
}, |
4593
|
|
|
|
|
|
|
|
4594
|
|
|
|
|
|
|
'ml.get_records' => { |
4595
|
|
|
|
|
|
|
body => {}, |
4596
|
|
|
|
|
|
|
doc => "ml-get-record", |
4597
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4598
|
|
|
|
|
|
|
paths => [ |
4599
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4600
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4601
|
|
|
|
|
|
|
"results", "records", |
4602
|
|
|
|
|
|
|
], |
4603
|
|
|
|
|
|
|
], |
4604
|
|
|
|
|
|
|
qs => { |
4605
|
|
|
|
|
|
|
desc => "boolean", |
4606
|
|
|
|
|
|
|
end => "string", |
4607
|
|
|
|
|
|
|
error_trace => "boolean", |
4608
|
|
|
|
|
|
|
exclude_interim => "boolean", |
4609
|
|
|
|
|
|
|
filter_path => "list", |
4610
|
|
|
|
|
|
|
from => "int", |
4611
|
|
|
|
|
|
|
human => "boolean", |
4612
|
|
|
|
|
|
|
record_score => "double", |
4613
|
|
|
|
|
|
|
size => "int", |
4614
|
|
|
|
|
|
|
sort => "string", |
4615
|
|
|
|
|
|
|
start => "string", |
4616
|
|
|
|
|
|
|
}, |
4617
|
|
|
|
|
|
|
}, |
4618
|
|
|
|
|
|
|
|
4619
|
|
|
|
|
|
|
'ml.get_trained_models' => { |
4620
|
|
|
|
|
|
|
doc => "get-trained-models", |
4621
|
|
|
|
|
|
|
parts => { model_id => {} }, |
4622
|
|
|
|
|
|
|
paths => [ |
4623
|
|
|
|
|
|
|
[ { model_id => 2 }, "_ml", "trained_models", "{model_id}" ], |
4624
|
|
|
|
|
|
|
[ {}, "_ml", "trained_models" ], |
4625
|
|
|
|
|
|
|
], |
4626
|
|
|
|
|
|
|
qs => { |
4627
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4628
|
|
|
|
|
|
|
decompress_definition => "boolean", |
4629
|
|
|
|
|
|
|
error_trace => "boolean", |
4630
|
|
|
|
|
|
|
exclude_generated => "boolean", |
4631
|
|
|
|
|
|
|
filter_path => "list", |
4632
|
|
|
|
|
|
|
from => "int", |
4633
|
|
|
|
|
|
|
human => "boolean", |
4634
|
|
|
|
|
|
|
include => "string", |
4635
|
|
|
|
|
|
|
include_model_definition => "boolean", |
4636
|
|
|
|
|
|
|
size => "int", |
4637
|
|
|
|
|
|
|
tags => "list", |
4638
|
|
|
|
|
|
|
}, |
4639
|
|
|
|
|
|
|
}, |
4640
|
|
|
|
|
|
|
|
4641
|
|
|
|
|
|
|
'ml.get_trained_models_stats' => { |
4642
|
|
|
|
|
|
|
doc => "get-trained-models-stats", |
4643
|
|
|
|
|
|
|
parts => { model_id => {} }, |
4644
|
|
|
|
|
|
|
paths => [ |
4645
|
|
|
|
|
|
|
[ { model_id => 2 }, "_ml", |
4646
|
|
|
|
|
|
|
"trained_models", "{model_id}", |
4647
|
|
|
|
|
|
|
"_stats", |
4648
|
|
|
|
|
|
|
], |
4649
|
|
|
|
|
|
|
[ {}, "_ml", "trained_models", "_stats" ], |
4650
|
|
|
|
|
|
|
], |
4651
|
|
|
|
|
|
|
qs => { |
4652
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4653
|
|
|
|
|
|
|
error_trace => "boolean", |
4654
|
|
|
|
|
|
|
filter_path => "list", |
4655
|
|
|
|
|
|
|
from => "int", |
4656
|
|
|
|
|
|
|
human => "boolean", |
4657
|
|
|
|
|
|
|
size => "int", |
4658
|
|
|
|
|
|
|
}, |
4659
|
|
|
|
|
|
|
}, |
4660
|
|
|
|
|
|
|
|
4661
|
|
|
|
|
|
|
'ml.info' => { |
4662
|
|
|
|
|
|
|
doc => "get-ml-info", |
4663
|
|
|
|
|
|
|
parts => {}, |
4664
|
|
|
|
|
|
|
paths => [ [ {}, "_ml", "info" ] ], |
4665
|
|
|
|
|
|
|
qs => { |
4666
|
|
|
|
|
|
|
error_trace => "boolean", |
4667
|
|
|
|
|
|
|
filter_path => "list", |
4668
|
|
|
|
|
|
|
human => "boolean" |
4669
|
|
|
|
|
|
|
}, |
4670
|
|
|
|
|
|
|
}, |
4671
|
|
|
|
|
|
|
|
4672
|
|
|
|
|
|
|
'ml.open_job' => { |
4673
|
|
|
|
|
|
|
body => {}, |
4674
|
|
|
|
|
|
|
doc => "ml-open-job", |
4675
|
|
|
|
|
|
|
method => "POST", |
4676
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4677
|
|
|
|
|
|
|
paths => [ |
4678
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4679
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4680
|
|
|
|
|
|
|
"_open" |
4681
|
|
|
|
|
|
|
], |
4682
|
|
|
|
|
|
|
], |
4683
|
|
|
|
|
|
|
qs => { |
4684
|
|
|
|
|
|
|
error_trace => "boolean", |
4685
|
|
|
|
|
|
|
filter_path => "list", |
4686
|
|
|
|
|
|
|
human => "boolean" |
4687
|
|
|
|
|
|
|
}, |
4688
|
|
|
|
|
|
|
}, |
4689
|
|
|
|
|
|
|
|
4690
|
|
|
|
|
|
|
'ml.post_calendar_events' => { |
4691
|
|
|
|
|
|
|
body => { required => 1 }, |
4692
|
|
|
|
|
|
|
doc => "ml-post-calendar-event", |
4693
|
|
|
|
|
|
|
method => "POST", |
4694
|
|
|
|
|
|
|
parts => { calendar_id => {} }, |
4695
|
|
|
|
|
|
|
paths => [ |
4696
|
|
|
|
|
|
|
[ { calendar_id => 2 }, "_ml", |
4697
|
|
|
|
|
|
|
"calendars", "{calendar_id}", |
4698
|
|
|
|
|
|
|
"events", |
4699
|
|
|
|
|
|
|
], |
4700
|
|
|
|
|
|
|
], |
4701
|
|
|
|
|
|
|
qs => { |
4702
|
|
|
|
|
|
|
error_trace => "boolean", |
4703
|
|
|
|
|
|
|
filter_path => "list", |
4704
|
|
|
|
|
|
|
human => "boolean" |
4705
|
|
|
|
|
|
|
}, |
4706
|
|
|
|
|
|
|
}, |
4707
|
|
|
|
|
|
|
|
4708
|
|
|
|
|
|
|
'ml.post_data' => { |
4709
|
|
|
|
|
|
|
body => { required => 1 }, |
4710
|
|
|
|
|
|
|
doc => "ml-post-data", |
4711
|
|
|
|
|
|
|
method => "POST", |
4712
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4713
|
|
|
|
|
|
|
paths => [ |
4714
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4715
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4716
|
|
|
|
|
|
|
"_data" |
4717
|
|
|
|
|
|
|
], |
4718
|
|
|
|
|
|
|
], |
4719
|
|
|
|
|
|
|
qs => { |
4720
|
|
|
|
|
|
|
error_trace => "boolean", |
4721
|
|
|
|
|
|
|
filter_path => "list", |
4722
|
|
|
|
|
|
|
human => "boolean", |
4723
|
|
|
|
|
|
|
reset_end => "string", |
4724
|
|
|
|
|
|
|
reset_start => "string", |
4725
|
|
|
|
|
|
|
}, |
4726
|
|
|
|
|
|
|
serialize => "bulk", |
4727
|
|
|
|
|
|
|
}, |
4728
|
|
|
|
|
|
|
|
4729
|
|
|
|
|
|
|
'ml.preview_data_frame_analytics' => { |
4730
|
|
|
|
|
|
|
body => {}, |
4731
|
|
|
|
|
|
|
doc => "preview-dfanalytics", |
4732
|
|
|
|
|
|
|
parts => { id => {} }, |
4733
|
|
|
|
|
|
|
paths => [ |
4734
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", |
4735
|
|
|
|
|
|
|
"{id}", "_preview" |
4736
|
|
|
|
|
|
|
], |
4737
|
|
|
|
|
|
|
[ {}, "_ml", "data_frame", "analytics", "_preview" ], |
4738
|
|
|
|
|
|
|
], |
4739
|
|
|
|
|
|
|
qs => { |
4740
|
|
|
|
|
|
|
error_trace => "boolean", |
4741
|
|
|
|
|
|
|
filter_path => "list", |
4742
|
|
|
|
|
|
|
human => "boolean" |
4743
|
|
|
|
|
|
|
}, |
4744
|
|
|
|
|
|
|
}, |
4745
|
|
|
|
|
|
|
|
4746
|
|
|
|
|
|
|
'ml.preview_datafeed' => { |
4747
|
|
|
|
|
|
|
body => {}, |
4748
|
|
|
|
|
|
|
doc => "ml-preview-datafeed", |
4749
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4750
|
|
|
|
|
|
|
paths => [ |
4751
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", |
4752
|
|
|
|
|
|
|
"datafeeds", "{datafeed_id}", |
4753
|
|
|
|
|
|
|
"_preview", |
4754
|
|
|
|
|
|
|
], |
4755
|
|
|
|
|
|
|
[ {}, "_ml", "datafeeds", "_preview" ], |
4756
|
|
|
|
|
|
|
], |
4757
|
|
|
|
|
|
|
qs => { |
4758
|
|
|
|
|
|
|
error_trace => "boolean", |
4759
|
|
|
|
|
|
|
filter_path => "list", |
4760
|
|
|
|
|
|
|
human => "boolean" |
4761
|
|
|
|
|
|
|
}, |
4762
|
|
|
|
|
|
|
}, |
4763
|
|
|
|
|
|
|
|
4764
|
|
|
|
|
|
|
'ml.put_calendar' => { |
4765
|
|
|
|
|
|
|
body => {}, |
4766
|
|
|
|
|
|
|
doc => "ml-put-calendar", |
4767
|
|
|
|
|
|
|
method => "PUT", |
4768
|
|
|
|
|
|
|
parts => { calendar_id => {} }, |
4769
|
|
|
|
|
|
|
paths => |
4770
|
|
|
|
|
|
|
[ [ { calendar_id => 2 }, "_ml", "calendars", "{calendar_id}" ] ], |
4771
|
|
|
|
|
|
|
qs => { |
4772
|
|
|
|
|
|
|
error_trace => "boolean", |
4773
|
|
|
|
|
|
|
filter_path => "list", |
4774
|
|
|
|
|
|
|
human => "boolean" |
4775
|
|
|
|
|
|
|
}, |
4776
|
|
|
|
|
|
|
}, |
4777
|
|
|
|
|
|
|
|
4778
|
|
|
|
|
|
|
'ml.put_calendar_job' => { |
4779
|
|
|
|
|
|
|
doc => "ml-put-calendar-job", |
4780
|
|
|
|
|
|
|
method => "PUT", |
4781
|
|
|
|
|
|
|
parts => { calendar_id => {}, job_id => {} }, |
4782
|
|
|
|
|
|
|
paths => [ |
4783
|
|
|
|
|
|
|
[ { calendar_id => 2, job_id => 4 }, |
4784
|
|
|
|
|
|
|
"_ml", "calendars", "{calendar_id}", "jobs", "{job_id}", |
4785
|
|
|
|
|
|
|
], |
4786
|
|
|
|
|
|
|
], |
4787
|
|
|
|
|
|
|
qs => { |
4788
|
|
|
|
|
|
|
error_trace => "boolean", |
4789
|
|
|
|
|
|
|
filter_path => "list", |
4790
|
|
|
|
|
|
|
human => "boolean" |
4791
|
|
|
|
|
|
|
}, |
4792
|
|
|
|
|
|
|
}, |
4793
|
|
|
|
|
|
|
|
4794
|
|
|
|
|
|
|
'ml.put_data_frame_analytics' => { |
4795
|
|
|
|
|
|
|
body => { required => 1 }, |
4796
|
|
|
|
|
|
|
doc => "put-dfanalytics", |
4797
|
|
|
|
|
|
|
method => "PUT", |
4798
|
|
|
|
|
|
|
parts => { id => {} }, |
4799
|
|
|
|
|
|
|
paths => |
4800
|
|
|
|
|
|
|
[ [ { id => 3 }, "_ml", "data_frame", "analytics", "{id}" ] ], |
4801
|
|
|
|
|
|
|
qs => { |
4802
|
|
|
|
|
|
|
error_trace => "boolean", |
4803
|
|
|
|
|
|
|
filter_path => "list", |
4804
|
|
|
|
|
|
|
human => "boolean" |
4805
|
|
|
|
|
|
|
}, |
4806
|
|
|
|
|
|
|
}, |
4807
|
|
|
|
|
|
|
|
4808
|
|
|
|
|
|
|
'ml.put_datafeed' => { |
4809
|
|
|
|
|
|
|
body => { required => 1 }, |
4810
|
|
|
|
|
|
|
doc => "ml-put-datafeed", |
4811
|
|
|
|
|
|
|
method => "PUT", |
4812
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4813
|
|
|
|
|
|
|
paths => |
4814
|
|
|
|
|
|
|
[ [ { datafeed_id => 2 }, "_ml", "datafeeds", "{datafeed_id}" ] ], |
4815
|
|
|
|
|
|
|
qs => { |
4816
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
4817
|
|
|
|
|
|
|
error_trace => "boolean", |
4818
|
|
|
|
|
|
|
expand_wildcards => "enum", |
4819
|
|
|
|
|
|
|
filter_path => "list", |
4820
|
|
|
|
|
|
|
human => "boolean", |
4821
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
4822
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
4823
|
|
|
|
|
|
|
}, |
4824
|
|
|
|
|
|
|
}, |
4825
|
|
|
|
|
|
|
|
4826
|
|
|
|
|
|
|
'ml.put_filter' => { |
4827
|
|
|
|
|
|
|
body => { required => 1 }, |
4828
|
|
|
|
|
|
|
doc => "ml-put-filter", |
4829
|
|
|
|
|
|
|
method => "PUT", |
4830
|
|
|
|
|
|
|
parts => { filter_id => {} }, |
4831
|
|
|
|
|
|
|
paths => [ [ { filter_id => 2 }, "_ml", "filters", "{filter_id}" ] ], |
4832
|
|
|
|
|
|
|
qs => { |
4833
|
|
|
|
|
|
|
error_trace => "boolean", |
4834
|
|
|
|
|
|
|
filter_path => "list", |
4835
|
|
|
|
|
|
|
human => "boolean" |
4836
|
|
|
|
|
|
|
}, |
4837
|
|
|
|
|
|
|
}, |
4838
|
|
|
|
|
|
|
|
4839
|
|
|
|
|
|
|
'ml.put_job' => { |
4840
|
|
|
|
|
|
|
body => { required => 1 }, |
4841
|
|
|
|
|
|
|
doc => "ml-put-job", |
4842
|
|
|
|
|
|
|
method => "PUT", |
4843
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4844
|
|
|
|
|
|
|
paths => |
4845
|
|
|
|
|
|
|
[ [ { job_id => 2 }, "_ml", "anomaly_detectors", "{job_id}" ] ], |
4846
|
|
|
|
|
|
|
qs => { |
4847
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
4848
|
|
|
|
|
|
|
error_trace => "boolean", |
4849
|
|
|
|
|
|
|
expand_wildcards => "enum", |
4850
|
|
|
|
|
|
|
filter_path => "list", |
4851
|
|
|
|
|
|
|
human => "boolean", |
4852
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
4853
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
4854
|
|
|
|
|
|
|
}, |
4855
|
|
|
|
|
|
|
}, |
4856
|
|
|
|
|
|
|
|
4857
|
|
|
|
|
|
|
'ml.put_trained_model' => { |
4858
|
|
|
|
|
|
|
body => { required => 1 }, |
4859
|
|
|
|
|
|
|
doc => "put-trained-models", |
4860
|
|
|
|
|
|
|
method => "PUT", |
4861
|
|
|
|
|
|
|
parts => { model_id => {} }, |
4862
|
|
|
|
|
|
|
paths => |
4863
|
|
|
|
|
|
|
[ [ { model_id => 2 }, "_ml", "trained_models", "{model_id}" ] ], |
4864
|
|
|
|
|
|
|
qs => { |
4865
|
|
|
|
|
|
|
defer_definition_decompression => "boolean", |
4866
|
|
|
|
|
|
|
error_trace => "boolean", |
4867
|
|
|
|
|
|
|
filter_path => "list", |
4868
|
|
|
|
|
|
|
human => "boolean", |
4869
|
|
|
|
|
|
|
}, |
4870
|
|
|
|
|
|
|
}, |
4871
|
|
|
|
|
|
|
|
4872
|
|
|
|
|
|
|
'ml.put_trained_model_alias' => { |
4873
|
|
|
|
|
|
|
doc => "put-trained-models-aliases", |
4874
|
|
|
|
|
|
|
method => "PUT", |
4875
|
|
|
|
|
|
|
parts => { model_alias => {}, model_id => {} }, |
4876
|
|
|
|
|
|
|
paths => [ |
4877
|
|
|
|
|
|
|
[ { model_alias => 4, model_id => 2 }, "_ml", |
4878
|
|
|
|
|
|
|
"trained_models", "{model_id}", |
4879
|
|
|
|
|
|
|
"model_aliases", "{model_alias}", |
4880
|
|
|
|
|
|
|
], |
4881
|
|
|
|
|
|
|
], |
4882
|
|
|
|
|
|
|
qs => { |
4883
|
|
|
|
|
|
|
error_trace => "boolean", |
4884
|
|
|
|
|
|
|
filter_path => "list", |
4885
|
|
|
|
|
|
|
human => "boolean", |
4886
|
|
|
|
|
|
|
reassign => "boolean", |
4887
|
|
|
|
|
|
|
}, |
4888
|
|
|
|
|
|
|
}, |
4889
|
|
|
|
|
|
|
|
4890
|
|
|
|
|
|
|
'ml.reset_job' => { |
4891
|
|
|
|
|
|
|
doc => "ml-reset-job", |
4892
|
|
|
|
|
|
|
method => "POST", |
4893
|
|
|
|
|
|
|
parts => { job_id => {} }, |
4894
|
|
|
|
|
|
|
paths => [ |
4895
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
4896
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4897
|
|
|
|
|
|
|
"_reset", |
4898
|
|
|
|
|
|
|
], |
4899
|
|
|
|
|
|
|
], |
4900
|
|
|
|
|
|
|
qs => { |
4901
|
|
|
|
|
|
|
error_trace => "boolean", |
4902
|
|
|
|
|
|
|
filter_path => "list", |
4903
|
|
|
|
|
|
|
human => "boolean", |
4904
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
4905
|
|
|
|
|
|
|
}, |
4906
|
|
|
|
|
|
|
}, |
4907
|
|
|
|
|
|
|
|
4908
|
|
|
|
|
|
|
'ml.revert_model_snapshot' => { |
4909
|
|
|
|
|
|
|
body => {}, |
4910
|
|
|
|
|
|
|
doc => "ml-revert-snapshot", |
4911
|
|
|
|
|
|
|
method => "POST", |
4912
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
4913
|
|
|
|
|
|
|
paths => [ |
4914
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
4915
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
4916
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
4917
|
|
|
|
|
|
|
"_revert", |
4918
|
|
|
|
|
|
|
], |
4919
|
|
|
|
|
|
|
], |
4920
|
|
|
|
|
|
|
qs => { |
4921
|
|
|
|
|
|
|
delete_intervening_results => "boolean", |
4922
|
|
|
|
|
|
|
error_trace => "boolean", |
4923
|
|
|
|
|
|
|
filter_path => "list", |
4924
|
|
|
|
|
|
|
human => "boolean", |
4925
|
|
|
|
|
|
|
}, |
4926
|
|
|
|
|
|
|
}, |
4927
|
|
|
|
|
|
|
|
4928
|
|
|
|
|
|
|
'ml.set_upgrade_mode' => { |
4929
|
|
|
|
|
|
|
doc => "ml-set-upgrade-mode", |
4930
|
|
|
|
|
|
|
method => "POST", |
4931
|
|
|
|
|
|
|
parts => {}, |
4932
|
|
|
|
|
|
|
paths => [ [ {}, "_ml", "set_upgrade_mode" ] ], |
4933
|
|
|
|
|
|
|
qs => { |
4934
|
|
|
|
|
|
|
enabled => "boolean", |
4935
|
|
|
|
|
|
|
error_trace => "boolean", |
4936
|
|
|
|
|
|
|
filter_path => "list", |
4937
|
|
|
|
|
|
|
human => "boolean", |
4938
|
|
|
|
|
|
|
timeout => "time", |
4939
|
|
|
|
|
|
|
}, |
4940
|
|
|
|
|
|
|
}, |
4941
|
|
|
|
|
|
|
|
4942
|
|
|
|
|
|
|
'ml.start_data_frame_analytics' => { |
4943
|
|
|
|
|
|
|
body => {}, |
4944
|
|
|
|
|
|
|
doc => "start-dfanalytics", |
4945
|
|
|
|
|
|
|
method => "POST", |
4946
|
|
|
|
|
|
|
parts => { id => {} }, |
4947
|
|
|
|
|
|
|
paths => [ |
4948
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", |
4949
|
|
|
|
|
|
|
"{id}", "_start" |
4950
|
|
|
|
|
|
|
], |
4951
|
|
|
|
|
|
|
], |
4952
|
|
|
|
|
|
|
qs => { |
4953
|
|
|
|
|
|
|
error_trace => "boolean", |
4954
|
|
|
|
|
|
|
filter_path => "list", |
4955
|
|
|
|
|
|
|
human => "boolean", |
4956
|
|
|
|
|
|
|
timeout => "time", |
4957
|
|
|
|
|
|
|
}, |
4958
|
|
|
|
|
|
|
}, |
4959
|
|
|
|
|
|
|
|
4960
|
|
|
|
|
|
|
'ml.start_datafeed' => { |
4961
|
|
|
|
|
|
|
body => {}, |
4962
|
|
|
|
|
|
|
doc => "ml-start-datafeed", |
4963
|
|
|
|
|
|
|
method => "POST", |
4964
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
4965
|
|
|
|
|
|
|
paths => [ |
4966
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", |
4967
|
|
|
|
|
|
|
"datafeeds", "{datafeed_id}", |
4968
|
|
|
|
|
|
|
"_start", |
4969
|
|
|
|
|
|
|
], |
4970
|
|
|
|
|
|
|
], |
4971
|
|
|
|
|
|
|
qs => { |
4972
|
|
|
|
|
|
|
end => "string", |
4973
|
|
|
|
|
|
|
error_trace => "boolean", |
4974
|
|
|
|
|
|
|
filter_path => "list", |
4975
|
|
|
|
|
|
|
human => "boolean", |
4976
|
|
|
|
|
|
|
start => "string", |
4977
|
|
|
|
|
|
|
timeout => "time", |
4978
|
|
|
|
|
|
|
}, |
4979
|
|
|
|
|
|
|
}, |
4980
|
|
|
|
|
|
|
|
4981
|
|
|
|
|
|
|
'ml.stop_data_frame_analytics' => { |
4982
|
|
|
|
|
|
|
body => {}, |
4983
|
|
|
|
|
|
|
doc => "stop-dfanalytics", |
4984
|
|
|
|
|
|
|
method => "POST", |
4985
|
|
|
|
|
|
|
parts => { id => {} }, |
4986
|
|
|
|
|
|
|
paths => [ |
4987
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", "{id}", |
4988
|
|
|
|
|
|
|
"_stop" |
4989
|
|
|
|
|
|
|
], |
4990
|
|
|
|
|
|
|
], |
4991
|
|
|
|
|
|
|
qs => { |
4992
|
|
|
|
|
|
|
allow_no_match => "boolean", |
4993
|
|
|
|
|
|
|
error_trace => "boolean", |
4994
|
|
|
|
|
|
|
filter_path => "list", |
4995
|
|
|
|
|
|
|
force => "boolean", |
4996
|
|
|
|
|
|
|
human => "boolean", |
4997
|
|
|
|
|
|
|
timeout => "time", |
4998
|
|
|
|
|
|
|
}, |
4999
|
|
|
|
|
|
|
}, |
5000
|
|
|
|
|
|
|
|
5001
|
|
|
|
|
|
|
'ml.stop_datafeed' => { |
5002
|
|
|
|
|
|
|
body => {}, |
5003
|
|
|
|
|
|
|
doc => "ml-stop-datafeed", |
5004
|
|
|
|
|
|
|
method => "POST", |
5005
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
5006
|
|
|
|
|
|
|
paths => [ |
5007
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", |
5008
|
|
|
|
|
|
|
"datafeeds", "{datafeed_id}", |
5009
|
|
|
|
|
|
|
"_stop", |
5010
|
|
|
|
|
|
|
], |
5011
|
|
|
|
|
|
|
], |
5012
|
|
|
|
|
|
|
qs => { |
5013
|
|
|
|
|
|
|
allow_no_datafeeds => "boolean", |
5014
|
|
|
|
|
|
|
allow_no_match => "boolean", |
5015
|
|
|
|
|
|
|
error_trace => "boolean", |
5016
|
|
|
|
|
|
|
filter_path => "list", |
5017
|
|
|
|
|
|
|
force => "boolean", |
5018
|
|
|
|
|
|
|
human => "boolean", |
5019
|
|
|
|
|
|
|
timeout => "time", |
5020
|
|
|
|
|
|
|
}, |
5021
|
|
|
|
|
|
|
}, |
5022
|
|
|
|
|
|
|
|
5023
|
|
|
|
|
|
|
'ml.update_data_frame_analytics' => { |
5024
|
|
|
|
|
|
|
body => { required => 1 }, |
5025
|
|
|
|
|
|
|
doc => "update-dfanalytics", |
5026
|
|
|
|
|
|
|
method => "POST", |
5027
|
|
|
|
|
|
|
parts => { id => {} }, |
5028
|
|
|
|
|
|
|
paths => [ |
5029
|
|
|
|
|
|
|
[ { id => 3 }, "_ml", "data_frame", "analytics", |
5030
|
|
|
|
|
|
|
"{id}", "_update" |
5031
|
|
|
|
|
|
|
], |
5032
|
|
|
|
|
|
|
], |
5033
|
|
|
|
|
|
|
qs => { |
5034
|
|
|
|
|
|
|
error_trace => "boolean", |
5035
|
|
|
|
|
|
|
filter_path => "list", |
5036
|
|
|
|
|
|
|
human => "boolean" |
5037
|
|
|
|
|
|
|
}, |
5038
|
|
|
|
|
|
|
}, |
5039
|
|
|
|
|
|
|
|
5040
|
|
|
|
|
|
|
'ml.update_datafeed' => { |
5041
|
|
|
|
|
|
|
body => { required => 1 }, |
5042
|
|
|
|
|
|
|
doc => "ml-update-datafeed", |
5043
|
|
|
|
|
|
|
method => "POST", |
5044
|
|
|
|
|
|
|
parts => { datafeed_id => {} }, |
5045
|
|
|
|
|
|
|
paths => [ |
5046
|
|
|
|
|
|
|
[ { datafeed_id => 2 }, "_ml", |
5047
|
|
|
|
|
|
|
"datafeeds", "{datafeed_id}", |
5048
|
|
|
|
|
|
|
"_update", |
5049
|
|
|
|
|
|
|
], |
5050
|
|
|
|
|
|
|
], |
5051
|
|
|
|
|
|
|
qs => { |
5052
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
5053
|
|
|
|
|
|
|
error_trace => "boolean", |
5054
|
|
|
|
|
|
|
expand_wildcards => "enum", |
5055
|
|
|
|
|
|
|
filter_path => "list", |
5056
|
|
|
|
|
|
|
human => "boolean", |
5057
|
|
|
|
|
|
|
ignore_throttled => "boolean", |
5058
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
5059
|
|
|
|
|
|
|
}, |
5060
|
|
|
|
|
|
|
}, |
5061
|
|
|
|
|
|
|
|
5062
|
|
|
|
|
|
|
'ml.update_filter' => { |
5063
|
|
|
|
|
|
|
body => { required => 1 }, |
5064
|
|
|
|
|
|
|
doc => "ml-update-filter", |
5065
|
|
|
|
|
|
|
method => "POST", |
5066
|
|
|
|
|
|
|
parts => { filter_id => {} }, |
5067
|
|
|
|
|
|
|
paths => [ |
5068
|
|
|
|
|
|
|
[ { filter_id => 2 }, "_ml", "filters", "{filter_id}", |
5069
|
|
|
|
|
|
|
"_update" |
5070
|
|
|
|
|
|
|
], |
5071
|
|
|
|
|
|
|
], |
5072
|
|
|
|
|
|
|
qs => { |
5073
|
|
|
|
|
|
|
error_trace => "boolean", |
5074
|
|
|
|
|
|
|
filter_path => "list", |
5075
|
|
|
|
|
|
|
human => "boolean" |
5076
|
|
|
|
|
|
|
}, |
5077
|
|
|
|
|
|
|
}, |
5078
|
|
|
|
|
|
|
|
5079
|
|
|
|
|
|
|
'ml.update_job' => { |
5080
|
|
|
|
|
|
|
body => { required => 1 }, |
5081
|
|
|
|
|
|
|
doc => "ml-update-job", |
5082
|
|
|
|
|
|
|
method => "POST", |
5083
|
|
|
|
|
|
|
parts => { job_id => {} }, |
5084
|
|
|
|
|
|
|
paths => [ |
5085
|
|
|
|
|
|
|
[ { job_id => 2 }, "_ml", |
5086
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
5087
|
|
|
|
|
|
|
"_update", |
5088
|
|
|
|
|
|
|
], |
5089
|
|
|
|
|
|
|
], |
5090
|
|
|
|
|
|
|
qs => { |
5091
|
|
|
|
|
|
|
error_trace => "boolean", |
5092
|
|
|
|
|
|
|
filter_path => "list", |
5093
|
|
|
|
|
|
|
human => "boolean" |
5094
|
|
|
|
|
|
|
}, |
5095
|
|
|
|
|
|
|
}, |
5096
|
|
|
|
|
|
|
|
5097
|
|
|
|
|
|
|
'ml.update_model_snapshot' => { |
5098
|
|
|
|
|
|
|
body => { required => 1 }, |
5099
|
|
|
|
|
|
|
doc => "ml-update-snapshot", |
5100
|
|
|
|
|
|
|
method => "POST", |
5101
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
5102
|
|
|
|
|
|
|
paths => [ |
5103
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
5104
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
5105
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
5106
|
|
|
|
|
|
|
"_update", |
5107
|
|
|
|
|
|
|
], |
5108
|
|
|
|
|
|
|
], |
5109
|
|
|
|
|
|
|
qs => { |
5110
|
|
|
|
|
|
|
error_trace => "boolean", |
5111
|
|
|
|
|
|
|
filter_path => "list", |
5112
|
|
|
|
|
|
|
human => "boolean" |
5113
|
|
|
|
|
|
|
}, |
5114
|
|
|
|
|
|
|
}, |
5115
|
|
|
|
|
|
|
|
5116
|
|
|
|
|
|
|
'ml.upgrade_job_snapshot' => { |
5117
|
|
|
|
|
|
|
doc => "ml-upgrade-job-model-snapshot", |
5118
|
|
|
|
|
|
|
method => "POST", |
5119
|
|
|
|
|
|
|
parts => { job_id => {}, snapshot_id => {} }, |
5120
|
|
|
|
|
|
|
paths => [ |
5121
|
|
|
|
|
|
|
[ { job_id => 2, snapshot_id => 4 }, "_ml", |
5122
|
|
|
|
|
|
|
"anomaly_detectors", "{job_id}", |
5123
|
|
|
|
|
|
|
"model_snapshots", "{snapshot_id}", |
5124
|
|
|
|
|
|
|
"_upgrade", |
5125
|
|
|
|
|
|
|
], |
5126
|
|
|
|
|
|
|
], |
5127
|
|
|
|
|
|
|
qs => { |
5128
|
|
|
|
|
|
|
error_trace => "boolean", |
5129
|
|
|
|
|
|
|
filter_path => "list", |
5130
|
|
|
|
|
|
|
human => "boolean", |
5131
|
|
|
|
|
|
|
timeout => "time", |
5132
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
5133
|
|
|
|
|
|
|
}, |
5134
|
|
|
|
|
|
|
}, |
5135
|
|
|
|
|
|
|
|
5136
|
|
|
|
|
|
|
'ml.validate' => { |
5137
|
|
|
|
|
|
|
body => { required => 1 }, |
5138
|
|
|
|
|
|
|
doc => "ml-jobs", |
5139
|
|
|
|
|
|
|
method => "POST", |
5140
|
|
|
|
|
|
|
parts => {}, |
5141
|
|
|
|
|
|
|
paths => [ [ {}, "_ml", "anomaly_detectors", "_validate" ] ], |
5142
|
|
|
|
|
|
|
qs => { |
5143
|
|
|
|
|
|
|
error_trace => "boolean", |
5144
|
|
|
|
|
|
|
filter_path => "list", |
5145
|
|
|
|
|
|
|
human => "boolean" |
5146
|
|
|
|
|
|
|
}, |
5147
|
|
|
|
|
|
|
}, |
5148
|
|
|
|
|
|
|
|
5149
|
|
|
|
|
|
|
'ml.validate_detector' => { |
5150
|
|
|
|
|
|
|
body => { required => 1 }, |
5151
|
|
|
|
|
|
|
doc => "ml-jobs", |
5152
|
|
|
|
|
|
|
method => "POST", |
5153
|
|
|
|
|
|
|
parts => {}, |
5154
|
|
|
|
|
|
|
paths => |
5155
|
|
|
|
|
|
|
[ [ {}, "_ml", "anomaly_detectors", "_validate", "detector" ] ], |
5156
|
|
|
|
|
|
|
qs => { |
5157
|
|
|
|
|
|
|
error_trace => "boolean", |
5158
|
|
|
|
|
|
|
filter_path => "list", |
5159
|
|
|
|
|
|
|
human => "boolean" |
5160
|
|
|
|
|
|
|
}, |
5161
|
|
|
|
|
|
|
}, |
5162
|
|
|
|
|
|
|
|
5163
|
|
|
|
|
|
|
'monitoring.bulk' => { |
5164
|
|
|
|
|
|
|
body => { required => 1 }, |
5165
|
|
|
|
|
|
|
doc => "monitor-elasticsearch-cluster", |
5166
|
|
|
|
|
|
|
method => "POST", |
5167
|
|
|
|
|
|
|
parts => { type => {} }, |
5168
|
|
|
|
|
|
|
paths => [ |
5169
|
|
|
|
|
|
|
[ { type => 1 }, "_monitoring", "{type}", "bulk" ], |
5170
|
|
|
|
|
|
|
[ {}, "_monitoring", "bulk" ], |
5171
|
|
|
|
|
|
|
], |
5172
|
|
|
|
|
|
|
qs => { |
5173
|
|
|
|
|
|
|
error_trace => "boolean", |
5174
|
|
|
|
|
|
|
filter_path => "list", |
5175
|
|
|
|
|
|
|
human => "boolean", |
5176
|
|
|
|
|
|
|
interval => "string", |
5177
|
|
|
|
|
|
|
system_api_version => "string", |
5178
|
|
|
|
|
|
|
system_id => "string", |
5179
|
|
|
|
|
|
|
}, |
5180
|
|
|
|
|
|
|
serialize => "bulk", |
5181
|
|
|
|
|
|
|
}, |
5182
|
|
|
|
|
|
|
|
5183
|
|
|
|
|
|
|
'nodes.clear_repositories_metering_archive' => { |
5184
|
|
|
|
|
|
|
doc => "clear-repositories-metering-archive-api", |
5185
|
|
|
|
|
|
|
method => "DELETE", |
5186
|
|
|
|
|
|
|
parts => { max_archive_version => {}, node_id => { multi => 1 } }, |
5187
|
|
|
|
|
|
|
paths => [ |
5188
|
|
|
|
|
|
|
[ { max_archive_version => 3, node_id => 1 }, |
5189
|
|
|
|
|
|
|
"_nodes", "{node_id}", "_repositories_metering", |
5190
|
|
|
|
|
|
|
"{max_archive_version}", |
5191
|
|
|
|
|
|
|
], |
5192
|
|
|
|
|
|
|
], |
5193
|
|
|
|
|
|
|
qs => { |
5194
|
|
|
|
|
|
|
error_trace => "boolean", |
5195
|
|
|
|
|
|
|
filter_path => "list", |
5196
|
|
|
|
|
|
|
human => "boolean" |
5197
|
|
|
|
|
|
|
}, |
5198
|
|
|
|
|
|
|
}, |
5199
|
|
|
|
|
|
|
|
5200
|
|
|
|
|
|
|
'nodes.get_repositories_metering_info' => { |
5201
|
|
|
|
|
|
|
doc => "get-repositories-metering-api", |
5202
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
5203
|
|
|
|
|
|
|
paths => [ |
5204
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", |
5205
|
|
|
|
|
|
|
"{node_id}", "_repositories_metering", |
5206
|
|
|
|
|
|
|
], |
5207
|
|
|
|
|
|
|
], |
5208
|
|
|
|
|
|
|
qs => { |
5209
|
|
|
|
|
|
|
error_trace => "boolean", |
5210
|
|
|
|
|
|
|
filter_path => "list", |
5211
|
|
|
|
|
|
|
human => "boolean" |
5212
|
|
|
|
|
|
|
}, |
5213
|
|
|
|
|
|
|
}, |
5214
|
|
|
|
|
|
|
|
5215
|
|
|
|
|
|
|
'nodes.hot_threads' => { |
5216
|
|
|
|
|
|
|
doc => "cluster-nodes-hot-threads", |
5217
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
5218
|
|
|
|
|
|
|
paths => [ |
5219
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", "{node_id}", "hot_threads" ], |
5220
|
|
|
|
|
|
|
[ {}, "_nodes", "hot_threads" ], |
5221
|
|
|
|
|
|
|
], |
5222
|
|
|
|
|
|
|
qs => { |
5223
|
|
|
|
|
|
|
error_trace => "boolean", |
5224
|
|
|
|
|
|
|
filter_path => "list", |
5225
|
|
|
|
|
|
|
human => "boolean", |
5226
|
|
|
|
|
|
|
ignore_idle_threads => "boolean", |
5227
|
|
|
|
|
|
|
interval => "time", |
5228
|
|
|
|
|
|
|
snapshots => "number", |
5229
|
|
|
|
|
|
|
sort => "enum", |
5230
|
|
|
|
|
|
|
threads => "number", |
5231
|
|
|
|
|
|
|
timeout => "time", |
5232
|
|
|
|
|
|
|
type => "enum", |
5233
|
|
|
|
|
|
|
}, |
5234
|
|
|
|
|
|
|
}, |
5235
|
|
|
|
|
|
|
|
5236
|
|
|
|
|
|
|
'nodes.info' => { |
5237
|
|
|
|
|
|
|
doc => "cluster-nodes-info", |
5238
|
|
|
|
|
|
|
parts => { metric => { multi => 1 }, node_id => { multi => 1 } }, |
5239
|
|
|
|
|
|
|
paths => [ |
5240
|
|
|
|
|
|
|
[ { metric => 2, node_id => 1 }, "_nodes", |
5241
|
|
|
|
|
|
|
"{node_id}", "{metric}", |
5242
|
|
|
|
|
|
|
], |
5243
|
|
|
|
|
|
|
[ { metric => 1 }, "_nodes", "{metric}" ], |
5244
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", "{node_id}" ], |
5245
|
|
|
|
|
|
|
[ {}, "_nodes" ], |
5246
|
|
|
|
|
|
|
], |
5247
|
|
|
|
|
|
|
qs => { |
5248
|
|
|
|
|
|
|
error_trace => "boolean", |
5249
|
|
|
|
|
|
|
filter_path => "list", |
5250
|
|
|
|
|
|
|
flat_settings => "boolean", |
5251
|
|
|
|
|
|
|
human => "boolean", |
5252
|
|
|
|
|
|
|
timeout => "time", |
5253
|
|
|
|
|
|
|
}, |
5254
|
|
|
|
|
|
|
}, |
5255
|
|
|
|
|
|
|
|
5256
|
|
|
|
|
|
|
'nodes.reload_secure_settings' => { |
5257
|
|
|
|
|
|
|
body => {}, |
5258
|
|
|
|
|
|
|
doc => "", |
5259
|
|
|
|
|
|
|
method => "POST", |
5260
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
5261
|
|
|
|
|
|
|
paths => [ |
5262
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", |
5263
|
|
|
|
|
|
|
"{node_id}", "reload_secure_settings", |
5264
|
|
|
|
|
|
|
], |
5265
|
|
|
|
|
|
|
[ {}, "_nodes", "reload_secure_settings" ], |
5266
|
|
|
|
|
|
|
], |
5267
|
|
|
|
|
|
|
qs => { |
5268
|
|
|
|
|
|
|
error_trace => "boolean", |
5269
|
|
|
|
|
|
|
filter_path => "list", |
5270
|
|
|
|
|
|
|
human => "boolean", |
5271
|
|
|
|
|
|
|
timeout => "time", |
5272
|
|
|
|
|
|
|
}, |
5273
|
|
|
|
|
|
|
}, |
5274
|
|
|
|
|
|
|
|
5275
|
|
|
|
|
|
|
'nodes.stats' => { |
5276
|
|
|
|
|
|
|
doc => "cluster-nodes-stats", |
5277
|
|
|
|
|
|
|
parts => { |
5278
|
|
|
|
|
|
|
index_metric => { multi => 1 }, |
5279
|
|
|
|
|
|
|
metric => { multi => 1 }, |
5280
|
|
|
|
|
|
|
node_id => { multi => 1 }, |
5281
|
|
|
|
|
|
|
}, |
5282
|
|
|
|
|
|
|
paths => [ |
5283
|
|
|
|
|
|
|
[ { index_metric => 4, metric => 3, node_id => 1 }, |
5284
|
|
|
|
|
|
|
"_nodes", "{node_id}", "stats", "{metric}", "{index_metric}", |
5285
|
|
|
|
|
|
|
], |
5286
|
|
|
|
|
|
|
[ { index_metric => 3, metric => 2 }, "_nodes", |
5287
|
|
|
|
|
|
|
"stats", "{metric}", |
5288
|
|
|
|
|
|
|
"{index_metric}", |
5289
|
|
|
|
|
|
|
], |
5290
|
|
|
|
|
|
|
[ { metric => 3, node_id => 1 }, "_nodes", |
5291
|
|
|
|
|
|
|
"{node_id}", "stats", |
5292
|
|
|
|
|
|
|
"{metric}", |
5293
|
|
|
|
|
|
|
], |
5294
|
|
|
|
|
|
|
[ { metric => 2 }, "_nodes", "stats", "{metric}" ], |
5295
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", "{node_id}", "stats" ], |
5296
|
|
|
|
|
|
|
[ {}, "_nodes", "stats" ], |
5297
|
|
|
|
|
|
|
], |
5298
|
|
|
|
|
|
|
qs => { |
5299
|
|
|
|
|
|
|
completion_fields => "list", |
5300
|
|
|
|
|
|
|
error_trace => "boolean", |
5301
|
|
|
|
|
|
|
fielddata_fields => "list", |
5302
|
|
|
|
|
|
|
fields => "list", |
5303
|
|
|
|
|
|
|
filter_path => "list", |
5304
|
|
|
|
|
|
|
groups => "boolean", |
5305
|
|
|
|
|
|
|
human => "boolean", |
5306
|
|
|
|
|
|
|
include_segment_file_sizes => "boolean", |
5307
|
|
|
|
|
|
|
include_unloaded_segments => "boolean", |
5308
|
|
|
|
|
|
|
level => "enum", |
5309
|
|
|
|
|
|
|
timeout => "time", |
5310
|
|
|
|
|
|
|
types => "list", |
5311
|
|
|
|
|
|
|
}, |
5312
|
|
|
|
|
|
|
}, |
5313
|
|
|
|
|
|
|
|
5314
|
|
|
|
|
|
|
'nodes.usage' => { |
5315
|
|
|
|
|
|
|
doc => "cluster-nodes-usage", |
5316
|
|
|
|
|
|
|
parts => { metric => { multi => 1 }, node_id => { multi => 1 } }, |
5317
|
|
|
|
|
|
|
paths => [ |
5318
|
|
|
|
|
|
|
[ { metric => 3, node_id => 1 }, "_nodes", |
5319
|
|
|
|
|
|
|
"{node_id}", "usage", |
5320
|
|
|
|
|
|
|
"{metric}", |
5321
|
|
|
|
|
|
|
], |
5322
|
|
|
|
|
|
|
[ { metric => 2 }, "_nodes", "usage", "{metric}" ], |
5323
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", "{node_id}", "usage" ], |
5324
|
|
|
|
|
|
|
[ {}, "_nodes", "usage" ], |
5325
|
|
|
|
|
|
|
], |
5326
|
|
|
|
|
|
|
qs => { |
5327
|
|
|
|
|
|
|
error_trace => "boolean", |
5328
|
|
|
|
|
|
|
filter_path => "list", |
5329
|
|
|
|
|
|
|
human => "boolean", |
5330
|
|
|
|
|
|
|
timeout => "time", |
5331
|
|
|
|
|
|
|
}, |
5332
|
|
|
|
|
|
|
}, |
5333
|
|
|
|
|
|
|
|
5334
|
|
|
|
|
|
|
'rollup.delete_job' => { |
5335
|
|
|
|
|
|
|
doc => "rollup-delete-job", |
5336
|
|
|
|
|
|
|
method => "DELETE", |
5337
|
|
|
|
|
|
|
parts => { id => {} }, |
5338
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_rollup", "job", "{id}" ] ], |
5339
|
|
|
|
|
|
|
qs => { |
5340
|
|
|
|
|
|
|
error_trace => "boolean", |
5341
|
|
|
|
|
|
|
filter_path => "list", |
5342
|
|
|
|
|
|
|
human => "boolean" |
5343
|
|
|
|
|
|
|
}, |
5344
|
|
|
|
|
|
|
}, |
5345
|
|
|
|
|
|
|
|
5346
|
|
|
|
|
|
|
'rollup.get_jobs' => { |
5347
|
|
|
|
|
|
|
doc => "rollup-get-job", |
5348
|
|
|
|
|
|
|
parts => { id => {} }, |
5349
|
|
|
|
|
|
|
paths => [ |
5350
|
|
|
|
|
|
|
[ { id => 2 }, "_rollup", "job", "{id}" ], |
5351
|
|
|
|
|
|
|
[ {}, "_rollup", "job" ], |
5352
|
|
|
|
|
|
|
], |
5353
|
|
|
|
|
|
|
qs => { |
5354
|
|
|
|
|
|
|
error_trace => "boolean", |
5355
|
|
|
|
|
|
|
filter_path => "list", |
5356
|
|
|
|
|
|
|
human => "boolean" |
5357
|
|
|
|
|
|
|
}, |
5358
|
|
|
|
|
|
|
}, |
5359
|
|
|
|
|
|
|
|
5360
|
|
|
|
|
|
|
'rollup.get_rollup_caps' => { |
5361
|
|
|
|
|
|
|
doc => "rollup-get-rollup-caps", |
5362
|
|
|
|
|
|
|
parts => { id => {} }, |
5363
|
|
|
|
|
|
|
paths => [ |
5364
|
|
|
|
|
|
|
[ { id => 2 }, "_rollup", "data", "{id}" ], |
5365
|
|
|
|
|
|
|
[ {}, "_rollup", "data" ], |
5366
|
|
|
|
|
|
|
], |
5367
|
|
|
|
|
|
|
qs => { |
5368
|
|
|
|
|
|
|
error_trace => "boolean", |
5369
|
|
|
|
|
|
|
filter_path => "list", |
5370
|
|
|
|
|
|
|
human => "boolean" |
5371
|
|
|
|
|
|
|
}, |
5372
|
|
|
|
|
|
|
}, |
5373
|
|
|
|
|
|
|
|
5374
|
|
|
|
|
|
|
'rollup.get_rollup_index_caps' => { |
5375
|
|
|
|
|
|
|
doc => "rollup-get-rollup-index-caps", |
5376
|
|
|
|
|
|
|
parts => { index => {} }, |
5377
|
|
|
|
|
|
|
paths => [ [ { index => 0 }, "{index}", "_rollup", "data" ] ], |
5378
|
|
|
|
|
|
|
qs => { |
5379
|
|
|
|
|
|
|
error_trace => "boolean", |
5380
|
|
|
|
|
|
|
filter_path => "list", |
5381
|
|
|
|
|
|
|
human => "boolean" |
5382
|
|
|
|
|
|
|
}, |
5383
|
|
|
|
|
|
|
}, |
5384
|
|
|
|
|
|
|
|
5385
|
|
|
|
|
|
|
'rollup.put_job' => { |
5386
|
|
|
|
|
|
|
body => { required => 1 }, |
5387
|
|
|
|
|
|
|
doc => "rollup-put-job", |
5388
|
|
|
|
|
|
|
method => "PUT", |
5389
|
|
|
|
|
|
|
parts => { id => {} }, |
5390
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_rollup", "job", "{id}" ] ], |
5391
|
|
|
|
|
|
|
qs => { |
5392
|
|
|
|
|
|
|
error_trace => "boolean", |
5393
|
|
|
|
|
|
|
filter_path => "list", |
5394
|
|
|
|
|
|
|
human => "boolean" |
5395
|
|
|
|
|
|
|
}, |
5396
|
|
|
|
|
|
|
}, |
5397
|
|
|
|
|
|
|
|
5398
|
|
|
|
|
|
|
'rollup.rollup' => { |
5399
|
|
|
|
|
|
|
body => { required => 1 }, |
5400
|
|
|
|
|
|
|
doc => "xpack-rollup", |
5401
|
|
|
|
|
|
|
method => "POST", |
5402
|
|
|
|
|
|
|
parts => |
5403
|
|
|
|
|
|
|
{ index => { required => 1 }, rollup_index => { required => 1 } }, |
5404
|
|
|
|
|
|
|
paths => [ |
5405
|
|
|
|
|
|
|
[ { index => 0, rollup_index => 2 }, "{index}", |
5406
|
|
|
|
|
|
|
"_rollup", "{rollup_index}", |
5407
|
|
|
|
|
|
|
], |
5408
|
|
|
|
|
|
|
], |
5409
|
|
|
|
|
|
|
qs => { |
5410
|
|
|
|
|
|
|
error_trace => "boolean", |
5411
|
|
|
|
|
|
|
filter_path => "list", |
5412
|
|
|
|
|
|
|
human => "boolean" |
5413
|
|
|
|
|
|
|
}, |
5414
|
|
|
|
|
|
|
}, |
5415
|
|
|
|
|
|
|
|
5416
|
|
|
|
|
|
|
'rollup.rollup_search' => { |
5417
|
|
|
|
|
|
|
body => { required => 1 }, |
5418
|
|
|
|
|
|
|
doc => "rollup-search", |
5419
|
|
|
|
|
|
|
parts => { index => { multi => 1 }, type => {} }, |
5420
|
|
|
|
|
|
|
paths => [ |
5421
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", |
5422
|
|
|
|
|
|
|
"{type}", "_rollup_search", |
5423
|
|
|
|
|
|
|
], |
5424
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_rollup_search" ], |
5425
|
|
|
|
|
|
|
], |
5426
|
|
|
|
|
|
|
qs => { |
5427
|
|
|
|
|
|
|
error_trace => "boolean", |
5428
|
|
|
|
|
|
|
filter_path => "list", |
5429
|
|
|
|
|
|
|
human => "boolean", |
5430
|
|
|
|
|
|
|
rest_total_hits_as_int => "boolean", |
5431
|
|
|
|
|
|
|
typed_keys => "boolean", |
5432
|
|
|
|
|
|
|
}, |
5433
|
|
|
|
|
|
|
}, |
5434
|
|
|
|
|
|
|
|
5435
|
|
|
|
|
|
|
'rollup.start_job' => { |
5436
|
|
|
|
|
|
|
doc => "rollup-start-job", |
5437
|
|
|
|
|
|
|
method => "POST", |
5438
|
|
|
|
|
|
|
parts => { id => {} }, |
5439
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_start" ] ], |
5440
|
|
|
|
|
|
|
qs => { |
5441
|
|
|
|
|
|
|
error_trace => "boolean", |
5442
|
|
|
|
|
|
|
filter_path => "list", |
5443
|
|
|
|
|
|
|
human => "boolean" |
5444
|
|
|
|
|
|
|
}, |
5445
|
|
|
|
|
|
|
}, |
5446
|
|
|
|
|
|
|
|
5447
|
|
|
|
|
|
|
'rollup.stop_job' => { |
5448
|
|
|
|
|
|
|
doc => "rollup-stop-job", |
5449
|
|
|
|
|
|
|
method => "POST", |
5450
|
|
|
|
|
|
|
parts => { id => {} }, |
5451
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_stop" ] ], |
5452
|
|
|
|
|
|
|
qs => { |
5453
|
|
|
|
|
|
|
error_trace => "boolean", |
5454
|
|
|
|
|
|
|
filter_path => "list", |
5455
|
|
|
|
|
|
|
human => "boolean", |
5456
|
|
|
|
|
|
|
timeout => "time", |
5457
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
5458
|
|
|
|
|
|
|
}, |
5459
|
|
|
|
|
|
|
}, |
5460
|
|
|
|
|
|
|
|
5461
|
|
|
|
|
|
|
'searchable_snapshots.cache_stats' => { |
5462
|
|
|
|
|
|
|
doc => "searchable-snapshots-apis", |
5463
|
|
|
|
|
|
|
parts => { node_id => { multi => 1 } }, |
5464
|
|
|
|
|
|
|
paths => [ |
5465
|
|
|
|
|
|
|
[ { node_id => 1 }, "_searchable_snapshots", |
5466
|
|
|
|
|
|
|
"{node_id}", "cache", |
5467
|
|
|
|
|
|
|
"stats", |
5468
|
|
|
|
|
|
|
], |
5469
|
|
|
|
|
|
|
[ {}, "_searchable_snapshots", "cache", "stats" ], |
5470
|
|
|
|
|
|
|
], |
5471
|
|
|
|
|
|
|
qs => { |
5472
|
|
|
|
|
|
|
error_trace => "boolean", |
5473
|
|
|
|
|
|
|
filter_path => "list", |
5474
|
|
|
|
|
|
|
human => "boolean" |
5475
|
|
|
|
|
|
|
}, |
5476
|
|
|
|
|
|
|
}, |
5477
|
|
|
|
|
|
|
|
5478
|
|
|
|
|
|
|
'searchable_snapshots.clear_cache' => { |
5479
|
|
|
|
|
|
|
doc => "searchable-snapshots-apis", |
5480
|
|
|
|
|
|
|
method => "POST", |
5481
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
5482
|
|
|
|
|
|
|
paths => [ |
5483
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", |
5484
|
|
|
|
|
|
|
"_searchable_snapshots", "cache", |
5485
|
|
|
|
|
|
|
"clear", |
5486
|
|
|
|
|
|
|
], |
5487
|
|
|
|
|
|
|
[ {}, "_searchable_snapshots", "cache", "clear" ], |
5488
|
|
|
|
|
|
|
], |
5489
|
|
|
|
|
|
|
qs => { |
5490
|
|
|
|
|
|
|
allow_no_indices => "boolean", |
5491
|
|
|
|
|
|
|
error_trace => "boolean", |
5492
|
|
|
|
|
|
|
expand_wildcards => "enum", |
5493
|
|
|
|
|
|
|
filter_path => "list", |
5494
|
|
|
|
|
|
|
human => "boolean", |
5495
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
5496
|
|
|
|
|
|
|
}, |
5497
|
|
|
|
|
|
|
}, |
5498
|
|
|
|
|
|
|
|
5499
|
|
|
|
|
|
|
'searchable_snapshots.mount' => { |
5500
|
|
|
|
|
|
|
body => { required => 1 }, |
5501
|
|
|
|
|
|
|
doc => "searchable-snapshots-api-mount-snapshot", |
5502
|
|
|
|
|
|
|
method => "POST", |
5503
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => {} }, |
5504
|
|
|
|
|
|
|
paths => [ |
5505
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
5506
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
5507
|
|
|
|
|
|
|
"_mount", |
5508
|
|
|
|
|
|
|
], |
5509
|
|
|
|
|
|
|
], |
5510
|
|
|
|
|
|
|
qs => { |
5511
|
|
|
|
|
|
|
error_trace => "boolean", |
5512
|
|
|
|
|
|
|
filter_path => "list", |
5513
|
|
|
|
|
|
|
human => "boolean", |
5514
|
|
|
|
|
|
|
master_timeout => "time", |
5515
|
|
|
|
|
|
|
storage => "string", |
5516
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
5517
|
|
|
|
|
|
|
}, |
5518
|
|
|
|
|
|
|
}, |
5519
|
|
|
|
|
|
|
|
5520
|
|
|
|
|
|
|
'searchable_snapshots.repository_stats' => { |
5521
|
|
|
|
|
|
|
doc => "searchable-snapshots-apis", |
5522
|
|
|
|
|
|
|
parts => { repository => {} }, |
5523
|
|
|
|
|
|
|
paths => [ |
5524
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}", "_stats" ] |
5525
|
|
|
|
|
|
|
], |
5526
|
|
|
|
|
|
|
qs => { |
5527
|
|
|
|
|
|
|
error_trace => "boolean", |
5528
|
|
|
|
|
|
|
filter_path => "list", |
5529
|
|
|
|
|
|
|
human => "boolean" |
5530
|
|
|
|
|
|
|
}, |
5531
|
|
|
|
|
|
|
}, |
5532
|
|
|
|
|
|
|
|
5533
|
|
|
|
|
|
|
'searchable_snapshots.stats' => { |
5534
|
|
|
|
|
|
|
doc => "searchable-snapshots-apis", |
5535
|
|
|
|
|
|
|
parts => { index => { multi => 1 } }, |
5536
|
|
|
|
|
|
|
paths => [ |
5537
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_searchable_snapshots", "stats" ], |
5538
|
|
|
|
|
|
|
[ {}, "_searchable_snapshots", "stats" ], |
5539
|
|
|
|
|
|
|
], |
5540
|
|
|
|
|
|
|
qs => { |
5541
|
|
|
|
|
|
|
error_trace => "boolean", |
5542
|
|
|
|
|
|
|
filter_path => "list", |
5543
|
|
|
|
|
|
|
human => "boolean", |
5544
|
|
|
|
|
|
|
level => "enum", |
5545
|
|
|
|
|
|
|
}, |
5546
|
|
|
|
|
|
|
}, |
5547
|
|
|
|
|
|
|
|
5548
|
|
|
|
|
|
|
'security.authenticate' => { |
5549
|
|
|
|
|
|
|
doc => "security-api-authenticate", |
5550
|
|
|
|
|
|
|
parts => {}, |
5551
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "_authenticate" ] ], |
5552
|
|
|
|
|
|
|
qs => { |
5553
|
|
|
|
|
|
|
error_trace => "boolean", |
5554
|
|
|
|
|
|
|
filter_path => "list", |
5555
|
|
|
|
|
|
|
human => "boolean" |
5556
|
|
|
|
|
|
|
}, |
5557
|
|
|
|
|
|
|
}, |
5558
|
|
|
|
|
|
|
|
5559
|
|
|
|
|
|
|
'security.change_password' => { |
5560
|
|
|
|
|
|
|
body => { required => 1 }, |
5561
|
|
|
|
|
|
|
doc => "security-api-change-password", |
5562
|
|
|
|
|
|
|
method => "PUT", |
5563
|
|
|
|
|
|
|
parts => { username => {} }, |
5564
|
|
|
|
|
|
|
paths => [ |
5565
|
|
|
|
|
|
|
[ { username => 2 }, "_security", |
5566
|
|
|
|
|
|
|
"user", "{username}", |
5567
|
|
|
|
|
|
|
"_password", |
5568
|
|
|
|
|
|
|
], |
5569
|
|
|
|
|
|
|
[ {}, "_security", "user", "_password" ], |
5570
|
|
|
|
|
|
|
], |
5571
|
|
|
|
|
|
|
qs => { |
5572
|
|
|
|
|
|
|
error_trace => "boolean", |
5573
|
|
|
|
|
|
|
filter_path => "list", |
5574
|
|
|
|
|
|
|
human => "boolean", |
5575
|
|
|
|
|
|
|
refresh => "enum", |
5576
|
|
|
|
|
|
|
}, |
5577
|
|
|
|
|
|
|
}, |
5578
|
|
|
|
|
|
|
|
5579
|
|
|
|
|
|
|
'security.clear_api_key_cache' => { |
5580
|
|
|
|
|
|
|
doc => "security-api-clear-api-key-cache", |
5581
|
|
|
|
|
|
|
method => "POST", |
5582
|
|
|
|
|
|
|
parts => { ids => { multi => 1 } }, |
5583
|
|
|
|
|
|
|
paths => [ |
5584
|
|
|
|
|
|
|
[ { ids => 2 }, "_security", "api_key", "{ids}", "_clear_cache" ], |
5585
|
|
|
|
|
|
|
], |
5586
|
|
|
|
|
|
|
qs => { |
5587
|
|
|
|
|
|
|
error_trace => "boolean", |
5588
|
|
|
|
|
|
|
filter_path => "list", |
5589
|
|
|
|
|
|
|
human => "boolean" |
5590
|
|
|
|
|
|
|
}, |
5591
|
|
|
|
|
|
|
}, |
5592
|
|
|
|
|
|
|
|
5593
|
|
|
|
|
|
|
'security.clear_cached_privileges' => { |
5594
|
|
|
|
|
|
|
doc => "security-api-clear-privilege-cache", |
5595
|
|
|
|
|
|
|
method => "POST", |
5596
|
|
|
|
|
|
|
parts => { application => { multi => 1 } }, |
5597
|
|
|
|
|
|
|
paths => [ |
5598
|
|
|
|
|
|
|
[ { application => 2 }, "_security", |
5599
|
|
|
|
|
|
|
"privilege", "{application}", |
5600
|
|
|
|
|
|
|
"_clear_cache", |
5601
|
|
|
|
|
|
|
], |
5602
|
|
|
|
|
|
|
], |
5603
|
|
|
|
|
|
|
qs => { |
5604
|
|
|
|
|
|
|
error_trace => "boolean", |
5605
|
|
|
|
|
|
|
filter_path => "list", |
5606
|
|
|
|
|
|
|
human => "boolean" |
5607
|
|
|
|
|
|
|
}, |
5608
|
|
|
|
|
|
|
}, |
5609
|
|
|
|
|
|
|
|
5610
|
|
|
|
|
|
|
'security.clear_cached_realms' => { |
5611
|
|
|
|
|
|
|
doc => "security-api-clear-cache", |
5612
|
|
|
|
|
|
|
method => "POST", |
5613
|
|
|
|
|
|
|
parts => { realms => { multi => 1 } }, |
5614
|
|
|
|
|
|
|
paths => [ |
5615
|
|
|
|
|
|
|
[ { realms => 2 }, "_security", "realm", "{realms}", |
5616
|
|
|
|
|
|
|
"_clear_cache", |
5617
|
|
|
|
|
|
|
], |
5618
|
|
|
|
|
|
|
], |
5619
|
|
|
|
|
|
|
qs => { |
5620
|
|
|
|
|
|
|
error_trace => "boolean", |
5621
|
|
|
|
|
|
|
filter_path => "list", |
5622
|
|
|
|
|
|
|
human => "boolean", |
5623
|
|
|
|
|
|
|
usernames => "list", |
5624
|
|
|
|
|
|
|
}, |
5625
|
|
|
|
|
|
|
}, |
5626
|
|
|
|
|
|
|
|
5627
|
|
|
|
|
|
|
'security.clear_cached_roles' => { |
5628
|
|
|
|
|
|
|
doc => "security-api-clear-role-cache", |
5629
|
|
|
|
|
|
|
method => "POST", |
5630
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
5631
|
|
|
|
|
|
|
paths => [ |
5632
|
|
|
|
|
|
|
[ { name => 2 }, "_security", "role", "{name}", "_clear_cache" ], |
5633
|
|
|
|
|
|
|
], |
5634
|
|
|
|
|
|
|
qs => { |
5635
|
|
|
|
|
|
|
error_trace => "boolean", |
5636
|
|
|
|
|
|
|
filter_path => "list", |
5637
|
|
|
|
|
|
|
human => "boolean" |
5638
|
|
|
|
|
|
|
}, |
5639
|
|
|
|
|
|
|
}, |
5640
|
|
|
|
|
|
|
|
5641
|
|
|
|
|
|
|
'security.clear_cached_service_tokens' => { |
5642
|
|
|
|
|
|
|
doc => "security-api-clear-service-token-caches", |
5643
|
|
|
|
|
|
|
method => "POST", |
5644
|
|
|
|
|
|
|
parts => { name => { multi => 1 }, namespace => {}, service => {} }, |
5645
|
|
|
|
|
|
|
paths => [ |
5646
|
|
|
|
|
|
|
[ { name => 6, namespace => 2, service => 3 }, "_security", |
5647
|
|
|
|
|
|
|
"service", "{namespace}", |
5648
|
|
|
|
|
|
|
"{service}", "credential", |
5649
|
|
|
|
|
|
|
"token", "{name}", |
5650
|
|
|
|
|
|
|
"_clear_cache", |
5651
|
|
|
|
|
|
|
], |
5652
|
|
|
|
|
|
|
], |
5653
|
|
|
|
|
|
|
qs => { |
5654
|
|
|
|
|
|
|
error_trace => "boolean", |
5655
|
|
|
|
|
|
|
filter_path => "list", |
5656
|
|
|
|
|
|
|
human => "boolean" |
5657
|
|
|
|
|
|
|
}, |
5658
|
|
|
|
|
|
|
}, |
5659
|
|
|
|
|
|
|
|
5660
|
|
|
|
|
|
|
'security.create_api_key' => { |
5661
|
|
|
|
|
|
|
body => { required => 1 }, |
5662
|
|
|
|
|
|
|
doc => "security-api-create-api-key", |
5663
|
|
|
|
|
|
|
method => "PUT", |
5664
|
|
|
|
|
|
|
parts => {}, |
5665
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "api_key" ] ], |
5666
|
|
|
|
|
|
|
qs => { |
5667
|
|
|
|
|
|
|
error_trace => "boolean", |
5668
|
|
|
|
|
|
|
filter_path => "list", |
5669
|
|
|
|
|
|
|
human => "boolean", |
5670
|
|
|
|
|
|
|
refresh => "enum", |
5671
|
|
|
|
|
|
|
}, |
5672
|
|
|
|
|
|
|
}, |
5673
|
|
|
|
|
|
|
|
5674
|
|
|
|
|
|
|
'security.create_service_token' => { |
5675
|
|
|
|
|
|
|
doc => "security-api-create-service-token", |
5676
|
|
|
|
|
|
|
method => "POST", |
5677
|
|
|
|
|
|
|
parts => { name => {}, namespace => {}, service => {} }, |
5678
|
|
|
|
|
|
|
paths => [ |
5679
|
|
|
|
|
|
|
[ { name => 6, namespace => 2, service => 3 }, "_security", |
5680
|
|
|
|
|
|
|
"service", "{namespace}", |
5681
|
|
|
|
|
|
|
"{service}", "credential", |
5682
|
|
|
|
|
|
|
"token", "{name}", |
5683
|
|
|
|
|
|
|
], |
5684
|
|
|
|
|
|
|
[ { namespace => 2, service => 3 }, "_security", |
5685
|
|
|
|
|
|
|
"service", "{namespace}", |
5686
|
|
|
|
|
|
|
"{service}", "credential", |
5687
|
|
|
|
|
|
|
"token", |
5688
|
|
|
|
|
|
|
], |
5689
|
|
|
|
|
|
|
], |
5690
|
|
|
|
|
|
|
qs => { |
5691
|
|
|
|
|
|
|
error_trace => "boolean", |
5692
|
|
|
|
|
|
|
filter_path => "list", |
5693
|
|
|
|
|
|
|
human => "boolean", |
5694
|
|
|
|
|
|
|
refresh => "enum", |
5695
|
|
|
|
|
|
|
}, |
5696
|
|
|
|
|
|
|
}, |
5697
|
|
|
|
|
|
|
|
5698
|
|
|
|
|
|
|
'security.delete_privileges' => { |
5699
|
|
|
|
|
|
|
doc => "security-api-delete-privilege", |
5700
|
|
|
|
|
|
|
method => "DELETE", |
5701
|
|
|
|
|
|
|
parts => { application => {}, name => {} }, |
5702
|
|
|
|
|
|
|
paths => [ |
5703
|
|
|
|
|
|
|
[ { application => 2, name => 3 }, "_security", |
5704
|
|
|
|
|
|
|
"privilege", "{application}", |
5705
|
|
|
|
|
|
|
"{name}", |
5706
|
|
|
|
|
|
|
], |
5707
|
|
|
|
|
|
|
], |
5708
|
|
|
|
|
|
|
qs => { |
5709
|
|
|
|
|
|
|
error_trace => "boolean", |
5710
|
|
|
|
|
|
|
filter_path => "list", |
5711
|
|
|
|
|
|
|
human => "boolean", |
5712
|
|
|
|
|
|
|
refresh => "enum", |
5713
|
|
|
|
|
|
|
}, |
5714
|
|
|
|
|
|
|
}, |
5715
|
|
|
|
|
|
|
|
5716
|
|
|
|
|
|
|
'security.delete_role' => { |
5717
|
|
|
|
|
|
|
doc => "security-api-delete-role", |
5718
|
|
|
|
|
|
|
method => "DELETE", |
5719
|
|
|
|
|
|
|
parts => { name => {} }, |
5720
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_security", "role", "{name}" ] ], |
5721
|
|
|
|
|
|
|
qs => { |
5722
|
|
|
|
|
|
|
error_trace => "boolean", |
5723
|
|
|
|
|
|
|
filter_path => "list", |
5724
|
|
|
|
|
|
|
human => "boolean", |
5725
|
|
|
|
|
|
|
refresh => "enum", |
5726
|
|
|
|
|
|
|
}, |
5727
|
|
|
|
|
|
|
}, |
5728
|
|
|
|
|
|
|
|
5729
|
|
|
|
|
|
|
'security.delete_role_mapping' => { |
5730
|
|
|
|
|
|
|
doc => "security-api-delete-role-mapping", |
5731
|
|
|
|
|
|
|
method => "DELETE", |
5732
|
|
|
|
|
|
|
parts => { name => {} }, |
5733
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_security", "role_mapping", "{name}" ] ], |
5734
|
|
|
|
|
|
|
qs => { |
5735
|
|
|
|
|
|
|
error_trace => "boolean", |
5736
|
|
|
|
|
|
|
filter_path => "list", |
5737
|
|
|
|
|
|
|
human => "boolean", |
5738
|
|
|
|
|
|
|
refresh => "enum", |
5739
|
|
|
|
|
|
|
}, |
5740
|
|
|
|
|
|
|
}, |
5741
|
|
|
|
|
|
|
|
5742
|
|
|
|
|
|
|
'security.delete_service_token' => { |
5743
|
|
|
|
|
|
|
doc => "security-api-delete-service-token", |
5744
|
|
|
|
|
|
|
method => "DELETE", |
5745
|
|
|
|
|
|
|
parts => { name => {}, namespace => {}, service => {} }, |
5746
|
|
|
|
|
|
|
paths => [ |
5747
|
|
|
|
|
|
|
[ { name => 6, namespace => 2, service => 3 }, "_security", |
5748
|
|
|
|
|
|
|
"service", "{namespace}", |
5749
|
|
|
|
|
|
|
"{service}", "credential", |
5750
|
|
|
|
|
|
|
"token", "{name}", |
5751
|
|
|
|
|
|
|
], |
5752
|
|
|
|
|
|
|
], |
5753
|
|
|
|
|
|
|
qs => { |
5754
|
|
|
|
|
|
|
error_trace => "boolean", |
5755
|
|
|
|
|
|
|
filter_path => "list", |
5756
|
|
|
|
|
|
|
human => "boolean", |
5757
|
|
|
|
|
|
|
refresh => "enum", |
5758
|
|
|
|
|
|
|
}, |
5759
|
|
|
|
|
|
|
}, |
5760
|
|
|
|
|
|
|
|
5761
|
|
|
|
|
|
|
'security.delete_user' => { |
5762
|
|
|
|
|
|
|
doc => "security-api-delete-user", |
5763
|
|
|
|
|
|
|
method => "DELETE", |
5764
|
|
|
|
|
|
|
parts => { username => {} }, |
5765
|
|
|
|
|
|
|
paths => [ [ { username => 2 }, "_security", "user", "{username}" ] ], |
5766
|
|
|
|
|
|
|
qs => { |
5767
|
|
|
|
|
|
|
error_trace => "boolean", |
5768
|
|
|
|
|
|
|
filter_path => "list", |
5769
|
|
|
|
|
|
|
human => "boolean", |
5770
|
|
|
|
|
|
|
refresh => "enum", |
5771
|
|
|
|
|
|
|
}, |
5772
|
|
|
|
|
|
|
}, |
5773
|
|
|
|
|
|
|
|
5774
|
|
|
|
|
|
|
'security.disable_user' => { |
5775
|
|
|
|
|
|
|
doc => "security-api-disable-user", |
5776
|
|
|
|
|
|
|
method => "PUT", |
5777
|
|
|
|
|
|
|
parts => { username => {} }, |
5778
|
|
|
|
|
|
|
paths => [ |
5779
|
|
|
|
|
|
|
[ { username => 2 }, "_security", |
5780
|
|
|
|
|
|
|
"user", "{username}", |
5781
|
|
|
|
|
|
|
"_disable" |
5782
|
|
|
|
|
|
|
], |
5783
|
|
|
|
|
|
|
], |
5784
|
|
|
|
|
|
|
qs => { |
5785
|
|
|
|
|
|
|
error_trace => "boolean", |
5786
|
|
|
|
|
|
|
filter_path => "list", |
5787
|
|
|
|
|
|
|
human => "boolean", |
5788
|
|
|
|
|
|
|
refresh => "enum", |
5789
|
|
|
|
|
|
|
}, |
5790
|
|
|
|
|
|
|
}, |
5791
|
|
|
|
|
|
|
|
5792
|
|
|
|
|
|
|
'security.enable_user' => { |
5793
|
|
|
|
|
|
|
doc => "security-api-enable-user", |
5794
|
|
|
|
|
|
|
method => "PUT", |
5795
|
|
|
|
|
|
|
parts => { username => {} }, |
5796
|
|
|
|
|
|
|
paths => [ |
5797
|
|
|
|
|
|
|
[ { username => 2 }, "_security", |
5798
|
|
|
|
|
|
|
"user", "{username}", |
5799
|
|
|
|
|
|
|
"_enable" |
5800
|
|
|
|
|
|
|
], |
5801
|
|
|
|
|
|
|
], |
5802
|
|
|
|
|
|
|
qs => { |
5803
|
|
|
|
|
|
|
error_trace => "boolean", |
5804
|
|
|
|
|
|
|
filter_path => "list", |
5805
|
|
|
|
|
|
|
human => "boolean", |
5806
|
|
|
|
|
|
|
refresh => "enum", |
5807
|
|
|
|
|
|
|
}, |
5808
|
|
|
|
|
|
|
}, |
5809
|
|
|
|
|
|
|
|
5810
|
|
|
|
|
|
|
'security.get_api_key' => { |
5811
|
|
|
|
|
|
|
doc => "security-api-get-api-key", |
5812
|
|
|
|
|
|
|
parts => {}, |
5813
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "api_key" ] ], |
5814
|
|
|
|
|
|
|
qs => { |
5815
|
|
|
|
|
|
|
error_trace => "boolean", |
5816
|
|
|
|
|
|
|
filter_path => "list", |
5817
|
|
|
|
|
|
|
human => "boolean", |
5818
|
|
|
|
|
|
|
id => "string", |
5819
|
|
|
|
|
|
|
name => "string", |
5820
|
|
|
|
|
|
|
owner => "boolean", |
5821
|
|
|
|
|
|
|
realm_name => "string", |
5822
|
|
|
|
|
|
|
username => "string", |
5823
|
|
|
|
|
|
|
}, |
5824
|
|
|
|
|
|
|
}, |
5825
|
|
|
|
|
|
|
|
5826
|
|
|
|
|
|
|
'security.get_builtin_privileges' => { |
5827
|
|
|
|
|
|
|
doc => "security-api-get-builtin-privileges", |
5828
|
|
|
|
|
|
|
parts => {}, |
5829
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "privilege", "_builtin" ] ], |
5830
|
|
|
|
|
|
|
qs => { |
5831
|
|
|
|
|
|
|
error_trace => "boolean", |
5832
|
|
|
|
|
|
|
filter_path => "list", |
5833
|
|
|
|
|
|
|
human => "boolean" |
5834
|
|
|
|
|
|
|
}, |
5835
|
|
|
|
|
|
|
}, |
5836
|
|
|
|
|
|
|
|
5837
|
|
|
|
|
|
|
'security.get_privileges' => { |
5838
|
|
|
|
|
|
|
doc => "security-api-get-privileges", |
5839
|
|
|
|
|
|
|
parts => { application => {}, name => {} }, |
5840
|
|
|
|
|
|
|
paths => [ |
5841
|
|
|
|
|
|
|
[ { application => 2, name => 3 }, "_security", |
5842
|
|
|
|
|
|
|
"privilege", "{application}", |
5843
|
|
|
|
|
|
|
"{name}", |
5844
|
|
|
|
|
|
|
], |
5845
|
|
|
|
|
|
|
[ { application => 2 }, "_security", |
5846
|
|
|
|
|
|
|
"privilege", "{application}" |
5847
|
|
|
|
|
|
|
], |
5848
|
|
|
|
|
|
|
[ {}, "_security", "privilege" ], |
5849
|
|
|
|
|
|
|
], |
5850
|
|
|
|
|
|
|
qs => { |
5851
|
|
|
|
|
|
|
error_trace => "boolean", |
5852
|
|
|
|
|
|
|
filter_path => "list", |
5853
|
|
|
|
|
|
|
human => "boolean" |
5854
|
|
|
|
|
|
|
}, |
5855
|
|
|
|
|
|
|
}, |
5856
|
|
|
|
|
|
|
|
5857
|
|
|
|
|
|
|
'security.get_role' => { |
5858
|
|
|
|
|
|
|
doc => "security-api-get-role", |
5859
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
5860
|
|
|
|
|
|
|
paths => [ |
5861
|
|
|
|
|
|
|
[ { name => 2 }, "_security", "role", "{name}" ], |
5862
|
|
|
|
|
|
|
[ {}, "_security", "role" ], |
5863
|
|
|
|
|
|
|
], |
5864
|
|
|
|
|
|
|
qs => { |
5865
|
|
|
|
|
|
|
error_trace => "boolean", |
5866
|
|
|
|
|
|
|
filter_path => "list", |
5867
|
|
|
|
|
|
|
human => "boolean" |
5868
|
|
|
|
|
|
|
}, |
5869
|
|
|
|
|
|
|
}, |
5870
|
|
|
|
|
|
|
|
5871
|
|
|
|
|
|
|
'security.get_role_mapping' => { |
5872
|
|
|
|
|
|
|
doc => "security-api-get-role-mapping", |
5873
|
|
|
|
|
|
|
parts => { name => { multi => 1 } }, |
5874
|
|
|
|
|
|
|
paths => [ |
5875
|
|
|
|
|
|
|
[ { name => 2 }, "_security", "role_mapping", "{name}" ], |
5876
|
|
|
|
|
|
|
[ {}, "_security", "role_mapping" ], |
5877
|
|
|
|
|
|
|
], |
5878
|
|
|
|
|
|
|
qs => { |
5879
|
|
|
|
|
|
|
error_trace => "boolean", |
5880
|
|
|
|
|
|
|
filter_path => "list", |
5881
|
|
|
|
|
|
|
human => "boolean" |
5882
|
|
|
|
|
|
|
}, |
5883
|
|
|
|
|
|
|
}, |
5884
|
|
|
|
|
|
|
|
5885
|
|
|
|
|
|
|
'security.get_service_accounts' => { |
5886
|
|
|
|
|
|
|
doc => "security-api-get-service-accounts", |
5887
|
|
|
|
|
|
|
parts => { namespace => {}, service => {} }, |
5888
|
|
|
|
|
|
|
paths => [ |
5889
|
|
|
|
|
|
|
[ { namespace => 2, service => 3 }, "_security", |
5890
|
|
|
|
|
|
|
"service", "{namespace}", |
5891
|
|
|
|
|
|
|
"{service}", |
5892
|
|
|
|
|
|
|
], |
5893
|
|
|
|
|
|
|
[ { namespace => 2 }, "_security", "service", "{namespace}" ], |
5894
|
|
|
|
|
|
|
[ {}, "_security", "service" ], |
5895
|
|
|
|
|
|
|
], |
5896
|
|
|
|
|
|
|
qs => { |
5897
|
|
|
|
|
|
|
error_trace => "boolean", |
5898
|
|
|
|
|
|
|
filter_path => "list", |
5899
|
|
|
|
|
|
|
human => "boolean" |
5900
|
|
|
|
|
|
|
}, |
5901
|
|
|
|
|
|
|
}, |
5902
|
|
|
|
|
|
|
|
5903
|
|
|
|
|
|
|
'security.get_service_credentials' => { |
5904
|
|
|
|
|
|
|
doc => "security-api-get-service-credentials", |
5905
|
|
|
|
|
|
|
parts => { namespace => {}, service => {} }, |
5906
|
|
|
|
|
|
|
paths => [ |
5907
|
|
|
|
|
|
|
[ { namespace => 2, service => 3 }, "_security", |
5908
|
|
|
|
|
|
|
"service", "{namespace}", |
5909
|
|
|
|
|
|
|
"{service}", "credential", |
5910
|
|
|
|
|
|
|
], |
5911
|
|
|
|
|
|
|
], |
5912
|
|
|
|
|
|
|
qs => { |
5913
|
|
|
|
|
|
|
error_trace => "boolean", |
5914
|
|
|
|
|
|
|
filter_path => "list", |
5915
|
|
|
|
|
|
|
human => "boolean" |
5916
|
|
|
|
|
|
|
}, |
5917
|
|
|
|
|
|
|
}, |
5918
|
|
|
|
|
|
|
|
5919
|
|
|
|
|
|
|
'security.get_token' => { |
5920
|
|
|
|
|
|
|
body => { required => 1 }, |
5921
|
|
|
|
|
|
|
doc => "security-api-get-token", |
5922
|
|
|
|
|
|
|
method => "POST", |
5923
|
|
|
|
|
|
|
parts => {}, |
5924
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "oauth2", "token" ] ], |
5925
|
|
|
|
|
|
|
qs => { |
5926
|
|
|
|
|
|
|
error_trace => "boolean", |
5927
|
|
|
|
|
|
|
filter_path => "list", |
5928
|
|
|
|
|
|
|
human => "boolean" |
5929
|
|
|
|
|
|
|
}, |
5930
|
|
|
|
|
|
|
}, |
5931
|
|
|
|
|
|
|
|
5932
|
|
|
|
|
|
|
'security.get_user' => { |
5933
|
|
|
|
|
|
|
doc => "security-api-get-user", |
5934
|
|
|
|
|
|
|
parts => { username => { multi => 1 } }, |
5935
|
|
|
|
|
|
|
paths => [ |
5936
|
|
|
|
|
|
|
[ { username => 2 }, "_security", "user", "{username}" ], |
5937
|
|
|
|
|
|
|
[ {}, "_security", "user" ], |
5938
|
|
|
|
|
|
|
], |
5939
|
|
|
|
|
|
|
qs => { |
5940
|
|
|
|
|
|
|
error_trace => "boolean", |
5941
|
|
|
|
|
|
|
filter_path => "list", |
5942
|
|
|
|
|
|
|
human => "boolean" |
5943
|
|
|
|
|
|
|
}, |
5944
|
|
|
|
|
|
|
}, |
5945
|
|
|
|
|
|
|
|
5946
|
|
|
|
|
|
|
'security.get_user_privileges' => { |
5947
|
|
|
|
|
|
|
doc => "security-api-get-user-privileges", |
5948
|
|
|
|
|
|
|
parts => {}, |
5949
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "user", "_privileges" ] ], |
5950
|
|
|
|
|
|
|
qs => { |
5951
|
|
|
|
|
|
|
error_trace => "boolean", |
5952
|
|
|
|
|
|
|
filter_path => "list", |
5953
|
|
|
|
|
|
|
human => "boolean" |
5954
|
|
|
|
|
|
|
}, |
5955
|
|
|
|
|
|
|
}, |
5956
|
|
|
|
|
|
|
|
5957
|
|
|
|
|
|
|
'security.grant_api_key' => { |
5958
|
|
|
|
|
|
|
body => { required => 1 }, |
5959
|
|
|
|
|
|
|
doc => "security-api-grant-api-key", |
5960
|
|
|
|
|
|
|
method => "POST", |
5961
|
|
|
|
|
|
|
parts => {}, |
5962
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "api_key", "grant" ] ], |
5963
|
|
|
|
|
|
|
qs => { |
5964
|
|
|
|
|
|
|
error_trace => "boolean", |
5965
|
|
|
|
|
|
|
filter_path => "list", |
5966
|
|
|
|
|
|
|
human => "boolean", |
5967
|
|
|
|
|
|
|
refresh => "enum", |
5968
|
|
|
|
|
|
|
}, |
5969
|
|
|
|
|
|
|
}, |
5970
|
|
|
|
|
|
|
|
5971
|
|
|
|
|
|
|
'security.has_privileges' => { |
5972
|
|
|
|
|
|
|
body => { required => 1 }, |
5973
|
|
|
|
|
|
|
doc => "security-api-has-privileges", |
5974
|
|
|
|
|
|
|
parts => { user => {} }, |
5975
|
|
|
|
|
|
|
paths => [ |
5976
|
|
|
|
|
|
|
[ { user => 2 }, "_security", |
5977
|
|
|
|
|
|
|
"user", "{user}", |
5978
|
|
|
|
|
|
|
"_has_privileges" |
5979
|
|
|
|
|
|
|
], |
5980
|
|
|
|
|
|
|
[ {}, "_security", "user", "_has_privileges" ], |
5981
|
|
|
|
|
|
|
], |
5982
|
|
|
|
|
|
|
qs => { |
5983
|
|
|
|
|
|
|
error_trace => "boolean", |
5984
|
|
|
|
|
|
|
filter_path => "list", |
5985
|
|
|
|
|
|
|
human => "boolean" |
5986
|
|
|
|
|
|
|
}, |
5987
|
|
|
|
|
|
|
}, |
5988
|
|
|
|
|
|
|
|
5989
|
|
|
|
|
|
|
'security.invalidate_api_key' => { |
5990
|
|
|
|
|
|
|
body => { required => 1 }, |
5991
|
|
|
|
|
|
|
doc => "security-api-invalidate-api-key", |
5992
|
|
|
|
|
|
|
method => "DELETE", |
5993
|
|
|
|
|
|
|
parts => {}, |
5994
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "api_key" ] ], |
5995
|
|
|
|
|
|
|
qs => { |
5996
|
|
|
|
|
|
|
error_trace => "boolean", |
5997
|
|
|
|
|
|
|
filter_path => "list", |
5998
|
|
|
|
|
|
|
human => "boolean" |
5999
|
|
|
|
|
|
|
}, |
6000
|
|
|
|
|
|
|
}, |
6001
|
|
|
|
|
|
|
|
6002
|
|
|
|
|
|
|
'security.invalidate_token' => { |
6003
|
|
|
|
|
|
|
body => { required => 1 }, |
6004
|
|
|
|
|
|
|
doc => "security-api-invalidate-token", |
6005
|
|
|
|
|
|
|
method => "DELETE", |
6006
|
|
|
|
|
|
|
parts => {}, |
6007
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "oauth2", "token" ] ], |
6008
|
|
|
|
|
|
|
qs => { |
6009
|
|
|
|
|
|
|
error_trace => "boolean", |
6010
|
|
|
|
|
|
|
filter_path => "list", |
6011
|
|
|
|
|
|
|
human => "boolean" |
6012
|
|
|
|
|
|
|
}, |
6013
|
|
|
|
|
|
|
}, |
6014
|
|
|
|
|
|
|
|
6015
|
|
|
|
|
|
|
'security.put_privileges' => { |
6016
|
|
|
|
|
|
|
body => { required => 1 }, |
6017
|
|
|
|
|
|
|
doc => "security-api-put-privileges", |
6018
|
|
|
|
|
|
|
method => "PUT", |
6019
|
|
|
|
|
|
|
parts => {}, |
6020
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "privilege" ] ], |
6021
|
|
|
|
|
|
|
qs => { |
6022
|
|
|
|
|
|
|
error_trace => "boolean", |
6023
|
|
|
|
|
|
|
filter_path => "list", |
6024
|
|
|
|
|
|
|
human => "boolean", |
6025
|
|
|
|
|
|
|
refresh => "enum", |
6026
|
|
|
|
|
|
|
}, |
6027
|
|
|
|
|
|
|
}, |
6028
|
|
|
|
|
|
|
|
6029
|
|
|
|
|
|
|
'security.put_role' => { |
6030
|
|
|
|
|
|
|
body => { required => 1 }, |
6031
|
|
|
|
|
|
|
doc => "security-api-put-role", |
6032
|
|
|
|
|
|
|
method => "PUT", |
6033
|
|
|
|
|
|
|
parts => { name => {} }, |
6034
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_security", "role", "{name}" ] ], |
6035
|
|
|
|
|
|
|
qs => { |
6036
|
|
|
|
|
|
|
error_trace => "boolean", |
6037
|
|
|
|
|
|
|
filter_path => "list", |
6038
|
|
|
|
|
|
|
human => "boolean", |
6039
|
|
|
|
|
|
|
refresh => "enum", |
6040
|
|
|
|
|
|
|
}, |
6041
|
|
|
|
|
|
|
}, |
6042
|
|
|
|
|
|
|
|
6043
|
|
|
|
|
|
|
'security.put_role_mapping' => { |
6044
|
|
|
|
|
|
|
body => { required => 1 }, |
6045
|
|
|
|
|
|
|
doc => "security-api-put-role-mapping", |
6046
|
|
|
|
|
|
|
method => "PUT", |
6047
|
|
|
|
|
|
|
parts => { name => {} }, |
6048
|
|
|
|
|
|
|
paths => [ [ { name => 2 }, "_security", "role_mapping", "{name}" ] ], |
6049
|
|
|
|
|
|
|
qs => { |
6050
|
|
|
|
|
|
|
error_trace => "boolean", |
6051
|
|
|
|
|
|
|
filter_path => "list", |
6052
|
|
|
|
|
|
|
human => "boolean", |
6053
|
|
|
|
|
|
|
refresh => "enum", |
6054
|
|
|
|
|
|
|
}, |
6055
|
|
|
|
|
|
|
}, |
6056
|
|
|
|
|
|
|
|
6057
|
|
|
|
|
|
|
'security.put_user' => { |
6058
|
|
|
|
|
|
|
body => { required => 1 }, |
6059
|
|
|
|
|
|
|
doc => "security-api-put-user", |
6060
|
|
|
|
|
|
|
method => "PUT", |
6061
|
|
|
|
|
|
|
parts => { username => {} }, |
6062
|
|
|
|
|
|
|
paths => [ [ { username => 2 }, "_security", "user", "{username}" ] ], |
6063
|
|
|
|
|
|
|
qs => { |
6064
|
|
|
|
|
|
|
error_trace => "boolean", |
6065
|
|
|
|
|
|
|
filter_path => "list", |
6066
|
|
|
|
|
|
|
human => "boolean", |
6067
|
|
|
|
|
|
|
refresh => "enum", |
6068
|
|
|
|
|
|
|
}, |
6069
|
|
|
|
|
|
|
}, |
6070
|
|
|
|
|
|
|
|
6071
|
|
|
|
|
|
|
'security.query_api_keys' => { |
6072
|
|
|
|
|
|
|
body => {}, |
6073
|
|
|
|
|
|
|
doc => "security-api-query-api-key", |
6074
|
|
|
|
|
|
|
parts => {}, |
6075
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "_query", "api_key" ] ], |
6076
|
|
|
|
|
|
|
qs => { |
6077
|
|
|
|
|
|
|
error_trace => "boolean", |
6078
|
|
|
|
|
|
|
filter_path => "list", |
6079
|
|
|
|
|
|
|
human => "boolean" |
6080
|
|
|
|
|
|
|
}, |
6081
|
|
|
|
|
|
|
}, |
6082
|
|
|
|
|
|
|
|
6083
|
|
|
|
|
|
|
'security.saml_authenticate' => { |
6084
|
|
|
|
|
|
|
body => { required => 1 }, |
6085
|
|
|
|
|
|
|
doc => "security-api-saml-authenticate", |
6086
|
|
|
|
|
|
|
method => "POST", |
6087
|
|
|
|
|
|
|
parts => {}, |
6088
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "saml", "authenticate" ] ], |
6089
|
|
|
|
|
|
|
qs => { |
6090
|
|
|
|
|
|
|
error_trace => "boolean", |
6091
|
|
|
|
|
|
|
filter_path => "list", |
6092
|
|
|
|
|
|
|
human => "boolean" |
6093
|
|
|
|
|
|
|
}, |
6094
|
|
|
|
|
|
|
}, |
6095
|
|
|
|
|
|
|
|
6096
|
|
|
|
|
|
|
'security.saml_complete_logout' => { |
6097
|
|
|
|
|
|
|
body => { required => 1 }, |
6098
|
|
|
|
|
|
|
doc => "security-api-saml-complete-logout", |
6099
|
|
|
|
|
|
|
method => "POST", |
6100
|
|
|
|
|
|
|
parts => {}, |
6101
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "saml", "complete_logout" ] ], |
6102
|
|
|
|
|
|
|
qs => { |
6103
|
|
|
|
|
|
|
error_trace => "boolean", |
6104
|
|
|
|
|
|
|
filter_path => "list", |
6105
|
|
|
|
|
|
|
human => "boolean" |
6106
|
|
|
|
|
|
|
}, |
6107
|
|
|
|
|
|
|
}, |
6108
|
|
|
|
|
|
|
|
6109
|
|
|
|
|
|
|
'security.saml_invalidate' => { |
6110
|
|
|
|
|
|
|
body => { required => 1 }, |
6111
|
|
|
|
|
|
|
doc => "security-api-saml-invalidate", |
6112
|
|
|
|
|
|
|
method => "POST", |
6113
|
|
|
|
|
|
|
parts => {}, |
6114
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "saml", "invalidate" ] ], |
6115
|
|
|
|
|
|
|
qs => { |
6116
|
|
|
|
|
|
|
error_trace => "boolean", |
6117
|
|
|
|
|
|
|
filter_path => "list", |
6118
|
|
|
|
|
|
|
human => "boolean" |
6119
|
|
|
|
|
|
|
}, |
6120
|
|
|
|
|
|
|
}, |
6121
|
|
|
|
|
|
|
|
6122
|
|
|
|
|
|
|
'security.saml_logout' => { |
6123
|
|
|
|
|
|
|
body => { required => 1 }, |
6124
|
|
|
|
|
|
|
doc => "security-api-saml-logout", |
6125
|
|
|
|
|
|
|
method => "POST", |
6126
|
|
|
|
|
|
|
parts => {}, |
6127
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "saml", "logout" ] ], |
6128
|
|
|
|
|
|
|
qs => { |
6129
|
|
|
|
|
|
|
error_trace => "boolean", |
6130
|
|
|
|
|
|
|
filter_path => "list", |
6131
|
|
|
|
|
|
|
human => "boolean" |
6132
|
|
|
|
|
|
|
}, |
6133
|
|
|
|
|
|
|
}, |
6134
|
|
|
|
|
|
|
|
6135
|
|
|
|
|
|
|
'security.saml_prepare_authentication' => { |
6136
|
|
|
|
|
|
|
body => { required => 1 }, |
6137
|
|
|
|
|
|
|
doc => "security-api-saml-prepare-authentication", |
6138
|
|
|
|
|
|
|
method => "POST", |
6139
|
|
|
|
|
|
|
parts => {}, |
6140
|
|
|
|
|
|
|
paths => [ [ {}, "_security", "saml", "prepare" ] ], |
6141
|
|
|
|
|
|
|
qs => { |
6142
|
|
|
|
|
|
|
error_trace => "boolean", |
6143
|
|
|
|
|
|
|
filter_path => "list", |
6144
|
|
|
|
|
|
|
human => "boolean" |
6145
|
|
|
|
|
|
|
}, |
6146
|
|
|
|
|
|
|
}, |
6147
|
|
|
|
|
|
|
|
6148
|
|
|
|
|
|
|
'security.saml_service_provider_metadata' => { |
6149
|
|
|
|
|
|
|
doc => "security-api-saml-sp-metadata", |
6150
|
|
|
|
|
|
|
parts => { realm_name => {} }, |
6151
|
|
|
|
|
|
|
paths => [ |
6152
|
|
|
|
|
|
|
[ { realm_name => 3 }, "_security", |
6153
|
|
|
|
|
|
|
"saml", "metadata", |
6154
|
|
|
|
|
|
|
"{realm_name}", |
6155
|
|
|
|
|
|
|
], |
6156
|
|
|
|
|
|
|
], |
6157
|
|
|
|
|
|
|
qs => { |
6158
|
|
|
|
|
|
|
error_trace => "boolean", |
6159
|
|
|
|
|
|
|
filter_path => "list", |
6160
|
|
|
|
|
|
|
human => "boolean" |
6161
|
|
|
|
|
|
|
}, |
6162
|
|
|
|
|
|
|
}, |
6163
|
|
|
|
|
|
|
|
6164
|
|
|
|
|
|
|
'shutdown.delete_node' => { |
6165
|
|
|
|
|
|
|
doc => "", |
6166
|
|
|
|
|
|
|
method => "DELETE", |
6167
|
|
|
|
|
|
|
parts => { node_id => {} }, |
6168
|
|
|
|
|
|
|
paths => [ [ { node_id => 1 }, "_nodes", "{node_id}", "shutdown" ] ], |
6169
|
|
|
|
|
|
|
qs => { |
6170
|
|
|
|
|
|
|
error_trace => "boolean", |
6171
|
|
|
|
|
|
|
filter_path => "list", |
6172
|
|
|
|
|
|
|
human => "boolean" |
6173
|
|
|
|
|
|
|
}, |
6174
|
|
|
|
|
|
|
}, |
6175
|
|
|
|
|
|
|
|
6176
|
|
|
|
|
|
|
'shutdown.get_node' => { |
6177
|
|
|
|
|
|
|
doc => "", |
6178
|
|
|
|
|
|
|
parts => { node_id => {} }, |
6179
|
|
|
|
|
|
|
paths => [ |
6180
|
|
|
|
|
|
|
[ { node_id => 1 }, "_nodes", "{node_id}", "shutdown" ], |
6181
|
|
|
|
|
|
|
[ {}, "_nodes", "shutdown" ], |
6182
|
|
|
|
|
|
|
], |
6183
|
|
|
|
|
|
|
qs => { |
6184
|
|
|
|
|
|
|
error_trace => "boolean", |
6185
|
|
|
|
|
|
|
filter_path => "list", |
6186
|
|
|
|
|
|
|
human => "boolean" |
6187
|
|
|
|
|
|
|
}, |
6188
|
|
|
|
|
|
|
}, |
6189
|
|
|
|
|
|
|
|
6190
|
|
|
|
|
|
|
'shutdown.put_node' => { |
6191
|
|
|
|
|
|
|
body => { required => 1 }, |
6192
|
|
|
|
|
|
|
doc => "", |
6193
|
|
|
|
|
|
|
method => "PUT", |
6194
|
|
|
|
|
|
|
parts => { node_id => {} }, |
6195
|
|
|
|
|
|
|
paths => [ [ { node_id => 1 }, "_nodes", "{node_id}", "shutdown" ] ], |
6196
|
|
|
|
|
|
|
qs => { |
6197
|
|
|
|
|
|
|
error_trace => "boolean", |
6198
|
|
|
|
|
|
|
filter_path => "list", |
6199
|
|
|
|
|
|
|
human => "boolean" |
6200
|
|
|
|
|
|
|
}, |
6201
|
|
|
|
|
|
|
}, |
6202
|
|
|
|
|
|
|
|
6203
|
|
|
|
|
|
|
'slm.delete_lifecycle' => { |
6204
|
|
|
|
|
|
|
doc => "slm-api-delete-policy", |
6205
|
|
|
|
|
|
|
method => "DELETE", |
6206
|
|
|
|
|
|
|
parts => { policy_id => {} }, |
6207
|
|
|
|
|
|
|
paths => [ [ { policy_id => 2 }, "_slm", "policy", "{policy_id}" ] ], |
6208
|
|
|
|
|
|
|
qs => { |
6209
|
|
|
|
|
|
|
error_trace => "boolean", |
6210
|
|
|
|
|
|
|
filter_path => "list", |
6211
|
|
|
|
|
|
|
human => "boolean" |
6212
|
|
|
|
|
|
|
}, |
6213
|
|
|
|
|
|
|
}, |
6214
|
|
|
|
|
|
|
|
6215
|
|
|
|
|
|
|
'slm.execute_lifecycle' => { |
6216
|
|
|
|
|
|
|
doc => "slm-api-execute-lifecycle", |
6217
|
|
|
|
|
|
|
method => "PUT", |
6218
|
|
|
|
|
|
|
parts => { policy_id => {} }, |
6219
|
|
|
|
|
|
|
paths => [ |
6220
|
|
|
|
|
|
|
[ { policy_id => 2 }, "_slm", |
6221
|
|
|
|
|
|
|
"policy", "{policy_id}", |
6222
|
|
|
|
|
|
|
"_execute" |
6223
|
|
|
|
|
|
|
], |
6224
|
|
|
|
|
|
|
], |
6225
|
|
|
|
|
|
|
qs => { |
6226
|
|
|
|
|
|
|
error_trace => "boolean", |
6227
|
|
|
|
|
|
|
filter_path => "list", |
6228
|
|
|
|
|
|
|
human => "boolean" |
6229
|
|
|
|
|
|
|
}, |
6230
|
|
|
|
|
|
|
}, |
6231
|
|
|
|
|
|
|
|
6232
|
|
|
|
|
|
|
'slm.execute_retention' => { |
6233
|
|
|
|
|
|
|
doc => "slm-api-execute-retention", |
6234
|
|
|
|
|
|
|
method => "POST", |
6235
|
|
|
|
|
|
|
parts => {}, |
6236
|
|
|
|
|
|
|
paths => [ [ {}, "_slm", "_execute_retention" ] ], |
6237
|
|
|
|
|
|
|
qs => { |
6238
|
|
|
|
|
|
|
error_trace => "boolean", |
6239
|
|
|
|
|
|
|
filter_path => "list", |
6240
|
|
|
|
|
|
|
human => "boolean" |
6241
|
|
|
|
|
|
|
}, |
6242
|
|
|
|
|
|
|
}, |
6243
|
|
|
|
|
|
|
|
6244
|
|
|
|
|
|
|
'slm.get_lifecycle' => { |
6245
|
|
|
|
|
|
|
doc => "slm-api-get-policy", |
6246
|
|
|
|
|
|
|
parts => { policy_id => { multi => 1 } }, |
6247
|
|
|
|
|
|
|
paths => [ |
6248
|
|
|
|
|
|
|
[ { policy_id => 2 }, "_slm", "policy", "{policy_id}" ], |
6249
|
|
|
|
|
|
|
[ {}, "_slm", "policy" ], |
6250
|
|
|
|
|
|
|
], |
6251
|
|
|
|
|
|
|
qs => { |
6252
|
|
|
|
|
|
|
error_trace => "boolean", |
6253
|
|
|
|
|
|
|
filter_path => "list", |
6254
|
|
|
|
|
|
|
human => "boolean" |
6255
|
|
|
|
|
|
|
}, |
6256
|
|
|
|
|
|
|
}, |
6257
|
|
|
|
|
|
|
|
6258
|
|
|
|
|
|
|
'slm.get_stats' => { |
6259
|
|
|
|
|
|
|
doc => "slm-api-get-stats", |
6260
|
|
|
|
|
|
|
parts => {}, |
6261
|
|
|
|
|
|
|
paths => [ [ {}, "_slm", "stats" ] ], |
6262
|
|
|
|
|
|
|
qs => { |
6263
|
|
|
|
|
|
|
error_trace => "boolean", |
6264
|
|
|
|
|
|
|
filter_path => "list", |
6265
|
|
|
|
|
|
|
human => "boolean" |
6266
|
|
|
|
|
|
|
}, |
6267
|
|
|
|
|
|
|
}, |
6268
|
|
|
|
|
|
|
|
6269
|
|
|
|
|
|
|
'slm.get_status' => { |
6270
|
|
|
|
|
|
|
doc => "slm-api-get-status", |
6271
|
|
|
|
|
|
|
parts => {}, |
6272
|
|
|
|
|
|
|
paths => [ [ {}, "_slm", "status" ] ], |
6273
|
|
|
|
|
|
|
qs => { |
6274
|
|
|
|
|
|
|
error_trace => "boolean", |
6275
|
|
|
|
|
|
|
filter_path => "list", |
6276
|
|
|
|
|
|
|
human => "boolean" |
6277
|
|
|
|
|
|
|
}, |
6278
|
|
|
|
|
|
|
}, |
6279
|
|
|
|
|
|
|
|
6280
|
|
|
|
|
|
|
'slm.put_lifecycle' => { |
6281
|
|
|
|
|
|
|
body => {}, |
6282
|
|
|
|
|
|
|
doc => "slm-api-put-policy", |
6283
|
|
|
|
|
|
|
method => "PUT", |
6284
|
|
|
|
|
|
|
parts => { policy_id => {} }, |
6285
|
|
|
|
|
|
|
paths => [ [ { policy_id => 2 }, "_slm", "policy", "{policy_id}" ] ], |
6286
|
|
|
|
|
|
|
qs => { |
6287
|
|
|
|
|
|
|
error_trace => "boolean", |
6288
|
|
|
|
|
|
|
filter_path => "list", |
6289
|
|
|
|
|
|
|
human => "boolean" |
6290
|
|
|
|
|
|
|
}, |
6291
|
|
|
|
|
|
|
}, |
6292
|
|
|
|
|
|
|
|
6293
|
|
|
|
|
|
|
'slm.start' => { |
6294
|
|
|
|
|
|
|
doc => "slm-api-start", |
6295
|
|
|
|
|
|
|
method => "POST", |
6296
|
|
|
|
|
|
|
parts => {}, |
6297
|
|
|
|
|
|
|
paths => [ [ {}, "_slm", "start" ] ], |
6298
|
|
|
|
|
|
|
qs => { |
6299
|
|
|
|
|
|
|
error_trace => "boolean", |
6300
|
|
|
|
|
|
|
filter_path => "list", |
6301
|
|
|
|
|
|
|
human => "boolean" |
6302
|
|
|
|
|
|
|
}, |
6303
|
|
|
|
|
|
|
}, |
6304
|
|
|
|
|
|
|
|
6305
|
|
|
|
|
|
|
'slm.stop' => { |
6306
|
|
|
|
|
|
|
doc => "slm-api-stop", |
6307
|
|
|
|
|
|
|
method => "POST", |
6308
|
|
|
|
|
|
|
parts => {}, |
6309
|
|
|
|
|
|
|
paths => [ [ {}, "_slm", "stop" ] ], |
6310
|
|
|
|
|
|
|
qs => { |
6311
|
|
|
|
|
|
|
error_trace => "boolean", |
6312
|
|
|
|
|
|
|
filter_path => "list", |
6313
|
|
|
|
|
|
|
human => "boolean" |
6314
|
|
|
|
|
|
|
}, |
6315
|
|
|
|
|
|
|
}, |
6316
|
|
|
|
|
|
|
|
6317
|
|
|
|
|
|
|
'snapshot.cleanup_repository' => { |
6318
|
|
|
|
|
|
|
doc => "clean-up-snapshot-repo-api", |
6319
|
|
|
|
|
|
|
method => "POST", |
6320
|
|
|
|
|
|
|
parts => { repository => {} }, |
6321
|
|
|
|
|
|
|
paths => [ |
6322
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}", "_cleanup" ], |
6323
|
|
|
|
|
|
|
], |
6324
|
|
|
|
|
|
|
qs => { |
6325
|
|
|
|
|
|
|
error_trace => "boolean", |
6326
|
|
|
|
|
|
|
filter_path => "list", |
6327
|
|
|
|
|
|
|
human => "boolean", |
6328
|
|
|
|
|
|
|
master_timeout => "time", |
6329
|
|
|
|
|
|
|
timeout => "time", |
6330
|
|
|
|
|
|
|
}, |
6331
|
|
|
|
|
|
|
}, |
6332
|
|
|
|
|
|
|
|
6333
|
|
|
|
|
|
|
'snapshot.clone' => { |
6334
|
|
|
|
|
|
|
body => { required => 1 }, |
6335
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6336
|
|
|
|
|
|
|
method => "PUT", |
6337
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => {}, target_snapshot => {} }, |
6338
|
|
|
|
|
|
|
paths => [ |
6339
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2, target_snapshot => 4 }, |
6340
|
|
|
|
|
|
|
"_snapshot", |
6341
|
|
|
|
|
|
|
"{repository}", |
6342
|
|
|
|
|
|
|
"{snapshot}", |
6343
|
|
|
|
|
|
|
"_clone", |
6344
|
|
|
|
|
|
|
"{target_snapshot}", |
6345
|
|
|
|
|
|
|
], |
6346
|
|
|
|
|
|
|
], |
6347
|
|
|
|
|
|
|
qs => { |
6348
|
|
|
|
|
|
|
error_trace => "boolean", |
6349
|
|
|
|
|
|
|
filter_path => "list", |
6350
|
|
|
|
|
|
|
human => "boolean", |
6351
|
|
|
|
|
|
|
master_timeout => "time", |
6352
|
|
|
|
|
|
|
}, |
6353
|
|
|
|
|
|
|
}, |
6354
|
|
|
|
|
|
|
|
6355
|
|
|
|
|
|
|
'snapshot.create' => { |
6356
|
|
|
|
|
|
|
body => {}, |
6357
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6358
|
|
|
|
|
|
|
method => "PUT", |
6359
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => {} }, |
6360
|
|
|
|
|
|
|
paths => [ |
6361
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
6362
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
6363
|
|
|
|
|
|
|
], |
6364
|
|
|
|
|
|
|
], |
6365
|
|
|
|
|
|
|
qs => { |
6366
|
|
|
|
|
|
|
error_trace => "boolean", |
6367
|
|
|
|
|
|
|
filter_path => "list", |
6368
|
|
|
|
|
|
|
human => "boolean", |
6369
|
|
|
|
|
|
|
master_timeout => "time", |
6370
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6371
|
|
|
|
|
|
|
}, |
6372
|
|
|
|
|
|
|
}, |
6373
|
|
|
|
|
|
|
|
6374
|
|
|
|
|
|
|
'snapshot.create_repository' => { |
6375
|
|
|
|
|
|
|
body => { required => 1 }, |
6376
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6377
|
|
|
|
|
|
|
method => "PUT", |
6378
|
|
|
|
|
|
|
parts => { repository => {} }, |
6379
|
|
|
|
|
|
|
paths => [ [ { repository => 1 }, "_snapshot", "{repository}" ] ], |
6380
|
|
|
|
|
|
|
qs => { |
6381
|
|
|
|
|
|
|
error_trace => "boolean", |
6382
|
|
|
|
|
|
|
filter_path => "list", |
6383
|
|
|
|
|
|
|
human => "boolean", |
6384
|
|
|
|
|
|
|
master_timeout => "time", |
6385
|
|
|
|
|
|
|
timeout => "time", |
6386
|
|
|
|
|
|
|
verify => "boolean", |
6387
|
|
|
|
|
|
|
}, |
6388
|
|
|
|
|
|
|
}, |
6389
|
|
|
|
|
|
|
|
6390
|
|
|
|
|
|
|
'snapshot.delete' => { |
6391
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6392
|
|
|
|
|
|
|
method => "DELETE", |
6393
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => {} }, |
6394
|
|
|
|
|
|
|
paths => [ |
6395
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
6396
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
6397
|
|
|
|
|
|
|
], |
6398
|
|
|
|
|
|
|
], |
6399
|
|
|
|
|
|
|
qs => { |
6400
|
|
|
|
|
|
|
error_trace => "boolean", |
6401
|
|
|
|
|
|
|
filter_path => "list", |
6402
|
|
|
|
|
|
|
human => "boolean", |
6403
|
|
|
|
|
|
|
master_timeout => "time", |
6404
|
|
|
|
|
|
|
}, |
6405
|
|
|
|
|
|
|
}, |
6406
|
|
|
|
|
|
|
|
6407
|
|
|
|
|
|
|
'snapshot.delete_repository' => { |
6408
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6409
|
|
|
|
|
|
|
method => "DELETE", |
6410
|
|
|
|
|
|
|
parts => { repository => { multi => 1 } }, |
6411
|
|
|
|
|
|
|
paths => [ [ { repository => 1 }, "_snapshot", "{repository}" ] ], |
6412
|
|
|
|
|
|
|
qs => { |
6413
|
|
|
|
|
|
|
error_trace => "boolean", |
6414
|
|
|
|
|
|
|
filter_path => "list", |
6415
|
|
|
|
|
|
|
human => "boolean", |
6416
|
|
|
|
|
|
|
master_timeout => "time", |
6417
|
|
|
|
|
|
|
timeout => "time", |
6418
|
|
|
|
|
|
|
}, |
6419
|
|
|
|
|
|
|
}, |
6420
|
|
|
|
|
|
|
|
6421
|
|
|
|
|
|
|
'snapshot.get' => { |
6422
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6423
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => { multi => 1 } }, |
6424
|
|
|
|
|
|
|
paths => [ |
6425
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
6426
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
6427
|
|
|
|
|
|
|
], |
6428
|
|
|
|
|
|
|
], |
6429
|
|
|
|
|
|
|
qs => { |
6430
|
|
|
|
|
|
|
error_trace => "boolean", |
6431
|
|
|
|
|
|
|
filter_path => "list", |
6432
|
|
|
|
|
|
|
human => "boolean", |
6433
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
6434
|
|
|
|
|
|
|
include_repository => "boolean", |
6435
|
|
|
|
|
|
|
index_details => "boolean", |
6436
|
|
|
|
|
|
|
master_timeout => "time", |
6437
|
|
|
|
|
|
|
verbose => "boolean", |
6438
|
|
|
|
|
|
|
}, |
6439
|
|
|
|
|
|
|
}, |
6440
|
|
|
|
|
|
|
|
6441
|
|
|
|
|
|
|
'snapshot.get_repository' => { |
6442
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6443
|
|
|
|
|
|
|
parts => { repository => { multi => 1 } }, |
6444
|
|
|
|
|
|
|
paths => [ |
6445
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}" ], |
6446
|
|
|
|
|
|
|
[ {}, "_snapshot" ], |
6447
|
|
|
|
|
|
|
], |
6448
|
|
|
|
|
|
|
qs => { |
6449
|
|
|
|
|
|
|
error_trace => "boolean", |
6450
|
|
|
|
|
|
|
filter_path => "list", |
6451
|
|
|
|
|
|
|
human => "boolean", |
6452
|
|
|
|
|
|
|
local => "boolean", |
6453
|
|
|
|
|
|
|
master_timeout => "time", |
6454
|
|
|
|
|
|
|
}, |
6455
|
|
|
|
|
|
|
}, |
6456
|
|
|
|
|
|
|
|
6457
|
|
|
|
|
|
|
'snapshot.repository_analyze' => { |
6458
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6459
|
|
|
|
|
|
|
method => "POST", |
6460
|
|
|
|
|
|
|
parts => { repository => {} }, |
6461
|
|
|
|
|
|
|
paths => [ |
6462
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}", "_analyze" ], |
6463
|
|
|
|
|
|
|
], |
6464
|
|
|
|
|
|
|
qs => { |
6465
|
|
|
|
|
|
|
blob_count => "number", |
6466
|
|
|
|
|
|
|
concurrency => "number", |
6467
|
|
|
|
|
|
|
detailed => "boolean", |
6468
|
|
|
|
|
|
|
early_read_node_count => "number", |
6469
|
|
|
|
|
|
|
error_trace => "boolean", |
6470
|
|
|
|
|
|
|
filter_path => "list", |
6471
|
|
|
|
|
|
|
human => "boolean", |
6472
|
|
|
|
|
|
|
max_blob_size => "string", |
6473
|
|
|
|
|
|
|
max_total_data_size => "string", |
6474
|
|
|
|
|
|
|
rare_action_probability => "number", |
6475
|
|
|
|
|
|
|
rarely_abort_writes => "boolean", |
6476
|
|
|
|
|
|
|
read_node_count => "number", |
6477
|
|
|
|
|
|
|
seed => "number", |
6478
|
|
|
|
|
|
|
timeout => "time", |
6479
|
|
|
|
|
|
|
}, |
6480
|
|
|
|
|
|
|
}, |
6481
|
|
|
|
|
|
|
|
6482
|
|
|
|
|
|
|
'snapshot.restore' => { |
6483
|
|
|
|
|
|
|
body => {}, |
6484
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6485
|
|
|
|
|
|
|
method => "POST", |
6486
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => {} }, |
6487
|
|
|
|
|
|
|
paths => [ |
6488
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
6489
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
6490
|
|
|
|
|
|
|
"_restore", |
6491
|
|
|
|
|
|
|
], |
6492
|
|
|
|
|
|
|
], |
6493
|
|
|
|
|
|
|
qs => { |
6494
|
|
|
|
|
|
|
error_trace => "boolean", |
6495
|
|
|
|
|
|
|
filter_path => "list", |
6496
|
|
|
|
|
|
|
human => "boolean", |
6497
|
|
|
|
|
|
|
master_timeout => "time", |
6498
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6499
|
|
|
|
|
|
|
}, |
6500
|
|
|
|
|
|
|
}, |
6501
|
|
|
|
|
|
|
|
6502
|
|
|
|
|
|
|
'snapshot.status' => { |
6503
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6504
|
|
|
|
|
|
|
parts => { repository => {}, snapshot => { multi => 1 } }, |
6505
|
|
|
|
|
|
|
paths => [ |
6506
|
|
|
|
|
|
|
[ { repository => 1, snapshot => 2 }, "_snapshot", |
6507
|
|
|
|
|
|
|
"{repository}", "{snapshot}", |
6508
|
|
|
|
|
|
|
"_status", |
6509
|
|
|
|
|
|
|
], |
6510
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}", "_status" ], |
6511
|
|
|
|
|
|
|
[ {}, "_snapshot", "_status" ], |
6512
|
|
|
|
|
|
|
], |
6513
|
|
|
|
|
|
|
qs => { |
6514
|
|
|
|
|
|
|
error_trace => "boolean", |
6515
|
|
|
|
|
|
|
filter_path => "list", |
6516
|
|
|
|
|
|
|
human => "boolean", |
6517
|
|
|
|
|
|
|
ignore_unavailable => "boolean", |
6518
|
|
|
|
|
|
|
master_timeout => "time", |
6519
|
|
|
|
|
|
|
}, |
6520
|
|
|
|
|
|
|
}, |
6521
|
|
|
|
|
|
|
|
6522
|
|
|
|
|
|
|
'snapshot.verify_repository' => { |
6523
|
|
|
|
|
|
|
doc => "modules-snapshots", |
6524
|
|
|
|
|
|
|
method => "POST", |
6525
|
|
|
|
|
|
|
parts => { repository => {} }, |
6526
|
|
|
|
|
|
|
paths => [ |
6527
|
|
|
|
|
|
|
[ { repository => 1 }, "_snapshot", "{repository}", "_verify" ], |
6528
|
|
|
|
|
|
|
], |
6529
|
|
|
|
|
|
|
qs => { |
6530
|
|
|
|
|
|
|
error_trace => "boolean", |
6531
|
|
|
|
|
|
|
filter_path => "list", |
6532
|
|
|
|
|
|
|
human => "boolean", |
6533
|
|
|
|
|
|
|
master_timeout => "time", |
6534
|
|
|
|
|
|
|
timeout => "time", |
6535
|
|
|
|
|
|
|
}, |
6536
|
|
|
|
|
|
|
}, |
6537
|
|
|
|
|
|
|
|
6538
|
|
|
|
|
|
|
'sql.clear_cursor' => { |
6539
|
|
|
|
|
|
|
body => { required => 1 }, |
6540
|
|
|
|
|
|
|
doc => "clear-sql-cursor-api", |
6541
|
|
|
|
|
|
|
method => "POST", |
6542
|
|
|
|
|
|
|
parts => {}, |
6543
|
|
|
|
|
|
|
paths => [ [ {}, "_sql", "close" ] ], |
6544
|
|
|
|
|
|
|
qs => { |
6545
|
|
|
|
|
|
|
error_trace => "boolean", |
6546
|
|
|
|
|
|
|
filter_path => "list", |
6547
|
|
|
|
|
|
|
human => "boolean" |
6548
|
|
|
|
|
|
|
}, |
6549
|
|
|
|
|
|
|
}, |
6550
|
|
|
|
|
|
|
|
6551
|
|
|
|
|
|
|
'sql.delete_async' => { |
6552
|
|
|
|
|
|
|
doc => "delete-async-sql-search-api", |
6553
|
|
|
|
|
|
|
method => "DELETE", |
6554
|
|
|
|
|
|
|
parts => { id => {} }, |
6555
|
|
|
|
|
|
|
paths => [ [ { id => 3 }, "_sql", "async", "delete", "{id}" ] ], |
6556
|
|
|
|
|
|
|
qs => { |
6557
|
|
|
|
|
|
|
error_trace => "boolean", |
6558
|
|
|
|
|
|
|
filter_path => "list", |
6559
|
|
|
|
|
|
|
human => "boolean" |
6560
|
|
|
|
|
|
|
}, |
6561
|
|
|
|
|
|
|
}, |
6562
|
|
|
|
|
|
|
|
6563
|
|
|
|
|
|
|
'sql.get_async' => { |
6564
|
|
|
|
|
|
|
doc => "get-async-sql-search-api", |
6565
|
|
|
|
|
|
|
parts => { id => {} }, |
6566
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_sql", "async", "{id}" ] ], |
6567
|
|
|
|
|
|
|
qs => { |
6568
|
|
|
|
|
|
|
delimiter => "string", |
6569
|
|
|
|
|
|
|
error_trace => "boolean", |
6570
|
|
|
|
|
|
|
filter_path => "list", |
6571
|
|
|
|
|
|
|
format => "string", |
6572
|
|
|
|
|
|
|
human => "boolean", |
6573
|
|
|
|
|
|
|
keep_alive => "time", |
6574
|
|
|
|
|
|
|
wait_for_completion_timeout => "time", |
6575
|
|
|
|
|
|
|
}, |
6576
|
|
|
|
|
|
|
}, |
6577
|
|
|
|
|
|
|
|
6578
|
|
|
|
|
|
|
'sql.get_async_status' => { |
6579
|
|
|
|
|
|
|
doc => "get-async-sql-search-status-api", |
6580
|
|
|
|
|
|
|
parts => { id => {} }, |
6581
|
|
|
|
|
|
|
paths => [ [ { id => 3 }, "_sql", "async", "status", "{id}" ] ], |
6582
|
|
|
|
|
|
|
qs => { |
6583
|
|
|
|
|
|
|
error_trace => "boolean", |
6584
|
|
|
|
|
|
|
filter_path => "list", |
6585
|
|
|
|
|
|
|
human => "boolean" |
6586
|
|
|
|
|
|
|
}, |
6587
|
|
|
|
|
|
|
}, |
6588
|
|
|
|
|
|
|
|
6589
|
|
|
|
|
|
|
'sql.query' => { |
6590
|
|
|
|
|
|
|
body => { required => 1 }, |
6591
|
|
|
|
|
|
|
doc => "sql-search-api", |
6592
|
|
|
|
|
|
|
method => "POST", |
6593
|
|
|
|
|
|
|
parts => {}, |
6594
|
|
|
|
|
|
|
paths => [ [ {}, "_sql" ] ], |
6595
|
|
|
|
|
|
|
qs => { |
6596
|
|
|
|
|
|
|
error_trace => "boolean", |
6597
|
|
|
|
|
|
|
filter_path => "list", |
6598
|
|
|
|
|
|
|
format => "string", |
6599
|
|
|
|
|
|
|
human => "boolean", |
6600
|
|
|
|
|
|
|
}, |
6601
|
|
|
|
|
|
|
}, |
6602
|
|
|
|
|
|
|
|
6603
|
|
|
|
|
|
|
'sql.translate' => { |
6604
|
|
|
|
|
|
|
body => { required => 1 }, |
6605
|
|
|
|
|
|
|
doc => "sql-translate-api", |
6606
|
|
|
|
|
|
|
method => "POST", |
6607
|
|
|
|
|
|
|
parts => {}, |
6608
|
|
|
|
|
|
|
paths => [ [ {}, "_sql", "translate" ] ], |
6609
|
|
|
|
|
|
|
qs => { |
6610
|
|
|
|
|
|
|
error_trace => "boolean", |
6611
|
|
|
|
|
|
|
filter_path => "list", |
6612
|
|
|
|
|
|
|
human => "boolean" |
6613
|
|
|
|
|
|
|
}, |
6614
|
|
|
|
|
|
|
}, |
6615
|
|
|
|
|
|
|
|
6616
|
|
|
|
|
|
|
'ssl.certificates' => { |
6617
|
|
|
|
|
|
|
doc => "security-api-ssl", |
6618
|
|
|
|
|
|
|
parts => {}, |
6619
|
|
|
|
|
|
|
paths => [ [ {}, "_ssl", "certificates" ] ], |
6620
|
|
|
|
|
|
|
qs => { |
6621
|
|
|
|
|
|
|
error_trace => "boolean", |
6622
|
|
|
|
|
|
|
filter_path => "list", |
6623
|
|
|
|
|
|
|
human => "boolean" |
6624
|
|
|
|
|
|
|
}, |
6625
|
|
|
|
|
|
|
}, |
6626
|
|
|
|
|
|
|
|
6627
|
|
|
|
|
|
|
'tasks.cancel' => { |
6628
|
|
|
|
|
|
|
doc => "tasks", |
6629
|
|
|
|
|
|
|
method => "POST", |
6630
|
|
|
|
|
|
|
parts => { task_id => {} }, |
6631
|
|
|
|
|
|
|
paths => [ |
6632
|
|
|
|
|
|
|
[ { task_id => 1 }, "_tasks", "{task_id}", "_cancel" ], |
6633
|
|
|
|
|
|
|
[ {}, "_tasks", "_cancel" ], |
6634
|
|
|
|
|
|
|
], |
6635
|
|
|
|
|
|
|
qs => { |
6636
|
|
|
|
|
|
|
actions => "list", |
6637
|
|
|
|
|
|
|
error_trace => "boolean", |
6638
|
|
|
|
|
|
|
filter_path => "list", |
6639
|
|
|
|
|
|
|
human => "boolean", |
6640
|
|
|
|
|
|
|
nodes => "list", |
6641
|
|
|
|
|
|
|
parent_task_id => "string", |
6642
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6643
|
|
|
|
|
|
|
}, |
6644
|
|
|
|
|
|
|
}, |
6645
|
|
|
|
|
|
|
|
6646
|
|
|
|
|
|
|
'tasks.get' => { |
6647
|
|
|
|
|
|
|
doc => "tasks", |
6648
|
|
|
|
|
|
|
parts => { task_id => {} }, |
6649
|
|
|
|
|
|
|
paths => [ [ { task_id => 1 }, "_tasks", "{task_id}" ] ], |
6650
|
|
|
|
|
|
|
qs => { |
6651
|
|
|
|
|
|
|
error_trace => "boolean", |
6652
|
|
|
|
|
|
|
filter_path => "list", |
6653
|
|
|
|
|
|
|
human => "boolean", |
6654
|
|
|
|
|
|
|
timeout => "time", |
6655
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6656
|
|
|
|
|
|
|
}, |
6657
|
|
|
|
|
|
|
}, |
6658
|
|
|
|
|
|
|
|
6659
|
|
|
|
|
|
|
'tasks.list' => { |
6660
|
|
|
|
|
|
|
doc => "tasks", |
6661
|
|
|
|
|
|
|
parts => {}, |
6662
|
|
|
|
|
|
|
paths => [ [ {}, "_tasks" ] ], |
6663
|
|
|
|
|
|
|
qs => { |
6664
|
|
|
|
|
|
|
actions => "list", |
6665
|
|
|
|
|
|
|
detailed => "boolean", |
6666
|
|
|
|
|
|
|
error_trace => "boolean", |
6667
|
|
|
|
|
|
|
filter_path => "list", |
6668
|
|
|
|
|
|
|
group_by => "enum", |
6669
|
|
|
|
|
|
|
human => "boolean", |
6670
|
|
|
|
|
|
|
nodes => "list", |
6671
|
|
|
|
|
|
|
parent_task_id => "string", |
6672
|
|
|
|
|
|
|
timeout => "time", |
6673
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6674
|
|
|
|
|
|
|
}, |
6675
|
|
|
|
|
|
|
}, |
6676
|
|
|
|
|
|
|
|
6677
|
|
|
|
|
|
|
'text_structure.find_structure' => { |
6678
|
|
|
|
|
|
|
body => { required => 1 }, |
6679
|
|
|
|
|
|
|
doc => "find-structure", |
6680
|
|
|
|
|
|
|
method => "POST", |
6681
|
|
|
|
|
|
|
parts => {}, |
6682
|
|
|
|
|
|
|
paths => [ [ {}, "_text_structure", "find_structure" ] ], |
6683
|
|
|
|
|
|
|
qs => { |
6684
|
|
|
|
|
|
|
charset => "string", |
6685
|
|
|
|
|
|
|
column_names => "list", |
6686
|
|
|
|
|
|
|
delimiter => "string", |
6687
|
|
|
|
|
|
|
error_trace => "boolean", |
6688
|
|
|
|
|
|
|
explain => "boolean", |
6689
|
|
|
|
|
|
|
filter_path => "list", |
6690
|
|
|
|
|
|
|
format => "enum", |
6691
|
|
|
|
|
|
|
grok_pattern => "string", |
6692
|
|
|
|
|
|
|
has_header_row => "boolean", |
6693
|
|
|
|
|
|
|
human => "boolean", |
6694
|
|
|
|
|
|
|
line_merge_size_limit => "int", |
6695
|
|
|
|
|
|
|
lines_to_sample => "int", |
6696
|
|
|
|
|
|
|
quote => "string", |
6697
|
|
|
|
|
|
|
should_trim_fields => "boolean", |
6698
|
|
|
|
|
|
|
timeout => "time", |
6699
|
|
|
|
|
|
|
timestamp_field => "string", |
6700
|
|
|
|
|
|
|
timestamp_format => "string", |
6701
|
|
|
|
|
|
|
}, |
6702
|
|
|
|
|
|
|
serialize => "bulk", |
6703
|
|
|
|
|
|
|
}, |
6704
|
|
|
|
|
|
|
|
6705
|
|
|
|
|
|
|
'transform.delete_transform' => { |
6706
|
|
|
|
|
|
|
doc => "delete-transform", |
6707
|
|
|
|
|
|
|
method => "DELETE", |
6708
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6709
|
|
|
|
|
|
|
paths => |
6710
|
|
|
|
|
|
|
[ [ { transform_id => 1 }, "_transform", "{transform_id}" ] ], |
6711
|
|
|
|
|
|
|
qs => { |
6712
|
|
|
|
|
|
|
error_trace => "boolean", |
6713
|
|
|
|
|
|
|
filter_path => "list", |
6714
|
|
|
|
|
|
|
force => "boolean", |
6715
|
|
|
|
|
|
|
human => "boolean", |
6716
|
|
|
|
|
|
|
timeout => "time", |
6717
|
|
|
|
|
|
|
}, |
6718
|
|
|
|
|
|
|
}, |
6719
|
|
|
|
|
|
|
|
6720
|
|
|
|
|
|
|
'transform.get_transform' => { |
6721
|
|
|
|
|
|
|
doc => "get-transform", |
6722
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6723
|
|
|
|
|
|
|
paths => [ |
6724
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", "{transform_id}" ], |
6725
|
|
|
|
|
|
|
[ {}, "_transform" ], |
6726
|
|
|
|
|
|
|
], |
6727
|
|
|
|
|
|
|
qs => { |
6728
|
|
|
|
|
|
|
allow_no_match => "boolean", |
6729
|
|
|
|
|
|
|
error_trace => "boolean", |
6730
|
|
|
|
|
|
|
exclude_generated => "boolean", |
6731
|
|
|
|
|
|
|
filter_path => "list", |
6732
|
|
|
|
|
|
|
from => "int", |
6733
|
|
|
|
|
|
|
human => "boolean", |
6734
|
|
|
|
|
|
|
size => "int", |
6735
|
|
|
|
|
|
|
}, |
6736
|
|
|
|
|
|
|
}, |
6737
|
|
|
|
|
|
|
|
6738
|
|
|
|
|
|
|
'transform.get_transform_stats' => { |
6739
|
|
|
|
|
|
|
doc => "get-transform-stats", |
6740
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6741
|
|
|
|
|
|
|
paths => [ |
6742
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", |
6743
|
|
|
|
|
|
|
"{transform_id}", "_stats" |
6744
|
|
|
|
|
|
|
], |
6745
|
|
|
|
|
|
|
], |
6746
|
|
|
|
|
|
|
qs => { |
6747
|
|
|
|
|
|
|
allow_no_match => "boolean", |
6748
|
|
|
|
|
|
|
error_trace => "boolean", |
6749
|
|
|
|
|
|
|
filter_path => "list", |
6750
|
|
|
|
|
|
|
from => "number", |
6751
|
|
|
|
|
|
|
human => "boolean", |
6752
|
|
|
|
|
|
|
size => "number", |
6753
|
|
|
|
|
|
|
}, |
6754
|
|
|
|
|
|
|
}, |
6755
|
|
|
|
|
|
|
|
6756
|
|
|
|
|
|
|
'transform.preview_transform' => { |
6757
|
|
|
|
|
|
|
body => {}, |
6758
|
|
|
|
|
|
|
doc => "preview-transform", |
6759
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6760
|
|
|
|
|
|
|
paths => [ |
6761
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", |
6762
|
|
|
|
|
|
|
"{transform_id}", "_preview", |
6763
|
|
|
|
|
|
|
], |
6764
|
|
|
|
|
|
|
[ {}, "_transform", "_preview" ], |
6765
|
|
|
|
|
|
|
], |
6766
|
|
|
|
|
|
|
qs => { |
6767
|
|
|
|
|
|
|
error_trace => "boolean", |
6768
|
|
|
|
|
|
|
filter_path => "list", |
6769
|
|
|
|
|
|
|
human => "boolean", |
6770
|
|
|
|
|
|
|
timeout => "time", |
6771
|
|
|
|
|
|
|
}, |
6772
|
|
|
|
|
|
|
}, |
6773
|
|
|
|
|
|
|
|
6774
|
|
|
|
|
|
|
'transform.put_transform' => { |
6775
|
|
|
|
|
|
|
body => { required => 1 }, |
6776
|
|
|
|
|
|
|
doc => "put-transform", |
6777
|
|
|
|
|
|
|
method => "PUT", |
6778
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6779
|
|
|
|
|
|
|
paths => |
6780
|
|
|
|
|
|
|
[ [ { transform_id => 1 }, "_transform", "{transform_id}" ] ], |
6781
|
|
|
|
|
|
|
qs => { |
6782
|
|
|
|
|
|
|
defer_validation => "boolean", |
6783
|
|
|
|
|
|
|
error_trace => "boolean", |
6784
|
|
|
|
|
|
|
filter_path => "list", |
6785
|
|
|
|
|
|
|
human => "boolean", |
6786
|
|
|
|
|
|
|
timeout => "time", |
6787
|
|
|
|
|
|
|
}, |
6788
|
|
|
|
|
|
|
}, |
6789
|
|
|
|
|
|
|
|
6790
|
|
|
|
|
|
|
'transform.start_transform' => { |
6791
|
|
|
|
|
|
|
doc => "start-transform", |
6792
|
|
|
|
|
|
|
method => "POST", |
6793
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6794
|
|
|
|
|
|
|
paths => [ |
6795
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", |
6796
|
|
|
|
|
|
|
"{transform_id}", "_start" |
6797
|
|
|
|
|
|
|
], |
6798
|
|
|
|
|
|
|
], |
6799
|
|
|
|
|
|
|
qs => { |
6800
|
|
|
|
|
|
|
error_trace => "boolean", |
6801
|
|
|
|
|
|
|
filter_path => "list", |
6802
|
|
|
|
|
|
|
human => "boolean", |
6803
|
|
|
|
|
|
|
timeout => "time", |
6804
|
|
|
|
|
|
|
}, |
6805
|
|
|
|
|
|
|
}, |
6806
|
|
|
|
|
|
|
|
6807
|
|
|
|
|
|
|
'transform.stop_transform' => { |
6808
|
|
|
|
|
|
|
doc => "stop-transform", |
6809
|
|
|
|
|
|
|
method => "POST", |
6810
|
|
|
|
|
|
|
parts => { transform_id => {} }, |
6811
|
|
|
|
|
|
|
paths => [ |
6812
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", "{transform_id}", |
6813
|
|
|
|
|
|
|
"_stop" |
6814
|
|
|
|
|
|
|
], |
6815
|
|
|
|
|
|
|
], |
6816
|
|
|
|
|
|
|
qs => { |
6817
|
|
|
|
|
|
|
allow_no_match => "boolean", |
6818
|
|
|
|
|
|
|
error_trace => "boolean", |
6819
|
|
|
|
|
|
|
filter_path => "list", |
6820
|
|
|
|
|
|
|
force => "boolean", |
6821
|
|
|
|
|
|
|
human => "boolean", |
6822
|
|
|
|
|
|
|
timeout => "time", |
6823
|
|
|
|
|
|
|
wait_for_checkpoint => "boolean", |
6824
|
|
|
|
|
|
|
wait_for_completion => "boolean", |
6825
|
|
|
|
|
|
|
}, |
6826
|
|
|
|
|
|
|
}, |
6827
|
|
|
|
|
|
|
|
6828
|
|
|
|
|
|
|
'transform.update_transform' => { |
6829
|
|
|
|
|
|
|
body => { required => 1 }, |
6830
|
|
|
|
|
|
|
doc => "update-transform", |
6831
|
|
|
|
|
|
|
method => "POST", |
6832
|
|
|
|
|
|
|
parts => { transform_id => { required => 1 } }, |
6833
|
|
|
|
|
|
|
paths => [ |
6834
|
|
|
|
|
|
|
[ { transform_id => 1 }, "_transform", |
6835
|
|
|
|
|
|
|
"{transform_id}", "_update", |
6836
|
|
|
|
|
|
|
], |
6837
|
|
|
|
|
|
|
], |
6838
|
|
|
|
|
|
|
qs => { |
6839
|
|
|
|
|
|
|
defer_validation => "boolean", |
6840
|
|
|
|
|
|
|
error_trace => "boolean", |
6841
|
|
|
|
|
|
|
filter_path => "list", |
6842
|
|
|
|
|
|
|
human => "boolean", |
6843
|
|
|
|
|
|
|
timeout => "time", |
6844
|
|
|
|
|
|
|
}, |
6845
|
|
|
|
|
|
|
}, |
6846
|
|
|
|
|
|
|
|
6847
|
|
|
|
|
|
|
'transform.upgrade_transforms' => { |
6848
|
|
|
|
|
|
|
doc => "upgrade-transforms", |
6849
|
|
|
|
|
|
|
method => "POST", |
6850
|
|
|
|
|
|
|
parts => {}, |
6851
|
|
|
|
|
|
|
paths => [ [ {}, "_transform", "_upgrade" ] ], |
6852
|
|
|
|
|
|
|
qs => { |
6853
|
|
|
|
|
|
|
dry_run => "boolean", |
6854
|
|
|
|
|
|
|
error_trace => "boolean", |
6855
|
|
|
|
|
|
|
filter_path => "list", |
6856
|
|
|
|
|
|
|
human => "boolean", |
6857
|
|
|
|
|
|
|
timeout => "time", |
6858
|
|
|
|
|
|
|
}, |
6859
|
|
|
|
|
|
|
}, |
6860
|
|
|
|
|
|
|
|
6861
|
|
|
|
|
|
|
'watcher.ack_watch' => { |
6862
|
|
|
|
|
|
|
doc => "watcher-api-ack-watch", |
6863
|
|
|
|
|
|
|
method => "PUT", |
6864
|
|
|
|
|
|
|
parts => { action_id => { multi => 1 }, watch_id => {} }, |
6865
|
|
|
|
|
|
|
paths => [ |
6866
|
|
|
|
|
|
|
[ { action_id => 4, watch_id => 2 }, "_watcher", |
6867
|
|
|
|
|
|
|
"watch", "{watch_id}", |
6868
|
|
|
|
|
|
|
"_ack", "{action_id}", |
6869
|
|
|
|
|
|
|
], |
6870
|
|
|
|
|
|
|
[ { watch_id => 2 }, "_watcher", "watch", "{watch_id}", "_ack" ], |
6871
|
|
|
|
|
|
|
], |
6872
|
|
|
|
|
|
|
qs => { |
6873
|
|
|
|
|
|
|
error_trace => "boolean", |
6874
|
|
|
|
|
|
|
filter_path => "list", |
6875
|
|
|
|
|
|
|
human => "boolean" |
6876
|
|
|
|
|
|
|
}, |
6877
|
|
|
|
|
|
|
}, |
6878
|
|
|
|
|
|
|
|
6879
|
|
|
|
|
|
|
'watcher.activate_watch' => { |
6880
|
|
|
|
|
|
|
doc => "watcher-api-activate-watch", |
6881
|
|
|
|
|
|
|
method => "PUT", |
6882
|
|
|
|
|
|
|
parts => { watch_id => {} }, |
6883
|
|
|
|
|
|
|
paths => [ |
6884
|
|
|
|
|
|
|
[ { watch_id => 2 }, "_watcher", |
6885
|
|
|
|
|
|
|
"watch", "{watch_id}", |
6886
|
|
|
|
|
|
|
"_activate", |
6887
|
|
|
|
|
|
|
], |
6888
|
|
|
|
|
|
|
], |
6889
|
|
|
|
|
|
|
qs => { |
6890
|
|
|
|
|
|
|
error_trace => "boolean", |
6891
|
|
|
|
|
|
|
filter_path => "list", |
6892
|
|
|
|
|
|
|
human => "boolean" |
6893
|
|
|
|
|
|
|
}, |
6894
|
|
|
|
|
|
|
}, |
6895
|
|
|
|
|
|
|
|
6896
|
|
|
|
|
|
|
'watcher.deactivate_watch' => { |
6897
|
|
|
|
|
|
|
doc => "watcher-api-deactivate-watch", |
6898
|
|
|
|
|
|
|
method => "PUT", |
6899
|
|
|
|
|
|
|
parts => { watch_id => {} }, |
6900
|
|
|
|
|
|
|
paths => [ |
6901
|
|
|
|
|
|
|
[ { watch_id => 2 }, "_watcher", |
6902
|
|
|
|
|
|
|
"watch", "{watch_id}", |
6903
|
|
|
|
|
|
|
"_deactivate", |
6904
|
|
|
|
|
|
|
], |
6905
|
|
|
|
|
|
|
], |
6906
|
|
|
|
|
|
|
qs => { |
6907
|
|
|
|
|
|
|
error_trace => "boolean", |
6908
|
|
|
|
|
|
|
filter_path => "list", |
6909
|
|
|
|
|
|
|
human => "boolean" |
6910
|
|
|
|
|
|
|
}, |
6911
|
|
|
|
|
|
|
}, |
6912
|
|
|
|
|
|
|
|
6913
|
|
|
|
|
|
|
'watcher.delete_watch' => { |
6914
|
|
|
|
|
|
|
doc => "watcher-api-delete-watch", |
6915
|
|
|
|
|
|
|
method => "DELETE", |
6916
|
|
|
|
|
|
|
parts => { id => {} }, |
6917
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_watcher", "watch", "{id}" ] ], |
6918
|
|
|
|
|
|
|
qs => { |
6919
|
|
|
|
|
|
|
error_trace => "boolean", |
6920
|
|
|
|
|
|
|
filter_path => "list", |
6921
|
|
|
|
|
|
|
human => "boolean" |
6922
|
|
|
|
|
|
|
}, |
6923
|
|
|
|
|
|
|
}, |
6924
|
|
|
|
|
|
|
|
6925
|
|
|
|
|
|
|
'watcher.execute_watch' => { |
6926
|
|
|
|
|
|
|
body => {}, |
6927
|
|
|
|
|
|
|
doc => "watcher-api-execute-watch", |
6928
|
|
|
|
|
|
|
method => "PUT", |
6929
|
|
|
|
|
|
|
parts => { id => {} }, |
6930
|
|
|
|
|
|
|
paths => [ |
6931
|
|
|
|
|
|
|
[ { id => 2 }, "_watcher", "watch", "{id}", "_execute" ], |
6932
|
|
|
|
|
|
|
[ {}, "_watcher", "watch", "_execute" ], |
6933
|
|
|
|
|
|
|
], |
6934
|
|
|
|
|
|
|
qs => { |
6935
|
|
|
|
|
|
|
debug => "boolean", |
6936
|
|
|
|
|
|
|
error_trace => "boolean", |
6937
|
|
|
|
|
|
|
filter_path => "list", |
6938
|
|
|
|
|
|
|
human => "boolean", |
6939
|
|
|
|
|
|
|
}, |
6940
|
|
|
|
|
|
|
}, |
6941
|
|
|
|
|
|
|
|
6942
|
|
|
|
|
|
|
'watcher.get_watch' => { |
6943
|
|
|
|
|
|
|
doc => "watcher-api-get-watch", |
6944
|
|
|
|
|
|
|
parts => { id => {} }, |
6945
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_watcher", "watch", "{id}" ] ], |
6946
|
|
|
|
|
|
|
qs => { |
6947
|
|
|
|
|
|
|
error_trace => "boolean", |
6948
|
|
|
|
|
|
|
filter_path => "list", |
6949
|
|
|
|
|
|
|
human => "boolean" |
6950
|
|
|
|
|
|
|
}, |
6951
|
|
|
|
|
|
|
}, |
6952
|
|
|
|
|
|
|
|
6953
|
|
|
|
|
|
|
'watcher.put_watch' => { |
6954
|
|
|
|
|
|
|
body => {}, |
6955
|
|
|
|
|
|
|
doc => "watcher-api-put-watch", |
6956
|
|
|
|
|
|
|
method => "PUT", |
6957
|
|
|
|
|
|
|
parts => { id => {} }, |
6958
|
|
|
|
|
|
|
paths => [ [ { id => 2 }, "_watcher", "watch", "{id}" ] ], |
6959
|
|
|
|
|
|
|
qs => { |
6960
|
|
|
|
|
|
|
active => "boolean", |
6961
|
|
|
|
|
|
|
error_trace => "boolean", |
6962
|
|
|
|
|
|
|
filter_path => "list", |
6963
|
|
|
|
|
|
|
human => "boolean", |
6964
|
|
|
|
|
|
|
if_primary_term => "number", |
6965
|
|
|
|
|
|
|
if_seq_no => "number", |
6966
|
|
|
|
|
|
|
version => "number", |
6967
|
|
|
|
|
|
|
}, |
6968
|
|
|
|
|
|
|
}, |
6969
|
|
|
|
|
|
|
|
6970
|
|
|
|
|
|
|
'watcher.query_watches' => { |
6971
|
|
|
|
|
|
|
body => {}, |
6972
|
|
|
|
|
|
|
doc => "watcher-api-query-watches", |
6973
|
|
|
|
|
|
|
parts => {}, |
6974
|
|
|
|
|
|
|
paths => [ [ {}, "_watcher", "_query", "watches" ] ], |
6975
|
|
|
|
|
|
|
qs => { |
6976
|
|
|
|
|
|
|
error_trace => "boolean", |
6977
|
|
|
|
|
|
|
filter_path => "list", |
6978
|
|
|
|
|
|
|
human => "boolean" |
6979
|
|
|
|
|
|
|
}, |
6980
|
|
|
|
|
|
|
}, |
6981
|
|
|
|
|
|
|
|
6982
|
|
|
|
|
|
|
'watcher.start' => { |
6983
|
|
|
|
|
|
|
doc => "watcher-api-start", |
6984
|
|
|
|
|
|
|
method => "POST", |
6985
|
|
|
|
|
|
|
parts => {}, |
6986
|
|
|
|
|
|
|
paths => [ [ {}, "_watcher", "_start" ] ], |
6987
|
|
|
|
|
|
|
qs => { |
6988
|
|
|
|
|
|
|
error_trace => "boolean", |
6989
|
|
|
|
|
|
|
filter_path => "list", |
6990
|
|
|
|
|
|
|
human => "boolean" |
6991
|
|
|
|
|
|
|
}, |
6992
|
|
|
|
|
|
|
}, |
6993
|
|
|
|
|
|
|
|
6994
|
|
|
|
|
|
|
'watcher.stats' => { |
6995
|
|
|
|
|
|
|
doc => "watcher-api-stats", |
6996
|
|
|
|
|
|
|
parts => { metric => { multi => 1 } }, |
6997
|
|
|
|
|
|
|
paths => [ |
6998
|
|
|
|
|
|
|
[ { metric => 2 }, "_watcher", "stats", "{metric}" ], |
6999
|
|
|
|
|
|
|
[ {}, "_watcher", "stats" ], |
7000
|
|
|
|
|
|
|
], |
7001
|
|
|
|
|
|
|
qs => { |
7002
|
|
|
|
|
|
|
emit_stacktraces => "boolean", |
7003
|
|
|
|
|
|
|
error_trace => "boolean", |
7004
|
|
|
|
|
|
|
filter_path => "list", |
7005
|
|
|
|
|
|
|
human => "boolean", |
7006
|
|
|
|
|
|
|
}, |
7007
|
|
|
|
|
|
|
}, |
7008
|
|
|
|
|
|
|
|
7009
|
|
|
|
|
|
|
'watcher.stop' => { |
7010
|
|
|
|
|
|
|
doc => "watcher-api-stop", |
7011
|
|
|
|
|
|
|
method => "POST", |
7012
|
|
|
|
|
|
|
parts => {}, |
7013
|
|
|
|
|
|
|
paths => [ [ {}, "_watcher", "_stop" ] ], |
7014
|
|
|
|
|
|
|
qs => { |
7015
|
|
|
|
|
|
|
error_trace => "boolean", |
7016
|
|
|
|
|
|
|
filter_path => "list", |
7017
|
|
|
|
|
|
|
human => "boolean" |
7018
|
|
|
|
|
|
|
}, |
7019
|
|
|
|
|
|
|
}, |
7020
|
|
|
|
|
|
|
|
7021
|
|
|
|
|
|
|
'xpack.info' => { |
7022
|
|
|
|
|
|
|
doc => "info-api", |
7023
|
|
|
|
|
|
|
parts => {}, |
7024
|
|
|
|
|
|
|
paths => [ [ {}, "_xpack" ] ], |
7025
|
|
|
|
|
|
|
qs => { |
7026
|
|
|
|
|
|
|
accept_enterprise => "boolean", |
7027
|
|
|
|
|
|
|
categories => "list", |
7028
|
|
|
|
|
|
|
error_trace => "boolean", |
7029
|
|
|
|
|
|
|
filter_path => "list", |
7030
|
|
|
|
|
|
|
human => "boolean", |
7031
|
|
|
|
|
|
|
}, |
7032
|
|
|
|
|
|
|
}, |
7033
|
|
|
|
|
|
|
|
7034
|
|
|
|
|
|
|
'xpack.usage' => { |
7035
|
|
|
|
|
|
|
doc => "usage-api", |
7036
|
|
|
|
|
|
|
parts => {}, |
7037
|
|
|
|
|
|
|
paths => [ [ {}, "_xpack", "usage" ] ], |
7038
|
|
|
|
|
|
|
qs => { |
7039
|
|
|
|
|
|
|
error_trace => "boolean", |
7040
|
|
|
|
|
|
|
filter_path => "list", |
7041
|
|
|
|
|
|
|
human => "boolean", |
7042
|
|
|
|
|
|
|
master_timeout => "time", |
7043
|
|
|
|
|
|
|
}, |
7044
|
|
|
|
|
|
|
}, |
7045
|
|
|
|
|
|
|
|
7046
|
|
|
|
|
|
|
#=== AUTOGEN - END === |
7047
|
|
|
|
|
|
|
|
7048
|
|
|
|
|
|
|
); |
7049
|
|
|
|
|
|
|
|
7050
|
|
|
|
|
|
|
__PACKAGE__->_qs_init( \%API ); |
7051
|
|
|
|
|
|
|
1; |
7052
|
|
|
|
|
|
|
|
7053
|
|
|
|
|
|
|
=pod |
7054
|
|
|
|
|
|
|
|
7055
|
|
|
|
|
|
|
=encoding UTF-8 |
7056
|
|
|
|
|
|
|
|
7057
|
|
|
|
|
|
|
=head1 NAME |
7058
|
|
|
|
|
|
|
|
7059
|
|
|
|
|
|
|
Search::Elasticsearch::Client::7_0::Role::API - This class contains the spec for the Elasticsearch APIs |
7060
|
|
|
|
|
|
|
|
7061
|
|
|
|
|
|
|
=head1 VERSION |
7062
|
|
|
|
|
|
|
|
7063
|
|
|
|
|
|
|
version 7.717 |
7064
|
|
|
|
|
|
|
|
7065
|
|
|
|
|
|
|
=head1 DESCRIPTION |
7066
|
|
|
|
|
|
|
|
7067
|
|
|
|
|
|
|
All of the Elasticsearch APIs are defined in this role. The example given below |
7068
|
|
|
|
|
|
|
is the definition for the L method: |
7069
|
|
|
|
|
|
|
|
7070
|
|
|
|
|
|
|
'index' => { |
7071
|
|
|
|
|
|
|
body => { required => 1 }, |
7072
|
|
|
|
|
|
|
doc => "docs-index_", |
7073
|
|
|
|
|
|
|
method => "POST", |
7074
|
|
|
|
|
|
|
parts => { id => {}, index => {}, type => {} }, |
7075
|
|
|
|
|
|
|
paths => [ |
7076
|
|
|
|
|
|
|
[ { id => 2, index => 0, type => 1 }, "{index}", |
7077
|
|
|
|
|
|
|
"{type}", "{id}" |
7078
|
|
|
|
|
|
|
], |
7079
|
|
|
|
|
|
|
[ { id => 2, index => 0 }, "{index}", "_doc", "{id}" ], |
7080
|
|
|
|
|
|
|
[ { index => 0, type => 1 }, "{index}", "{type}" ], |
7081
|
|
|
|
|
|
|
[ { index => 0 }, "{index}", "_doc" ], |
7082
|
|
|
|
|
|
|
], |
7083
|
|
|
|
|
|
|
qs => { |
7084
|
|
|
|
|
|
|
error_trace => "boolean", |
7085
|
|
|
|
|
|
|
filter_path => "list", |
7086
|
|
|
|
|
|
|
human => "boolean", |
7087
|
|
|
|
|
|
|
if_primary_term => "number", |
7088
|
|
|
|
|
|
|
if_seq_no => "number", |
7089
|
|
|
|
|
|
|
op_type => "enum", |
7090
|
|
|
|
|
|
|
pipeline => "string", |
7091
|
|
|
|
|
|
|
refresh => "enum", |
7092
|
|
|
|
|
|
|
require_alias => "boolean", |
7093
|
|
|
|
|
|
|
routing => "string", |
7094
|
|
|
|
|
|
|
timeout => "time", |
7095
|
|
|
|
|
|
|
version => "number", |
7096
|
|
|
|
|
|
|
version_type => "enum", |
7097
|
|
|
|
|
|
|
wait_for_active_shards => "string", |
7098
|
|
|
|
|
|
|
}, |
7099
|
|
|
|
|
|
|
} |
7100
|
|
|
|
|
|
|
|
7101
|
|
|
|
|
|
|
These definitions can be used by different L |
7102
|
|
|
|
|
|
|
implementations to provide distinct user interfaces. |
7103
|
|
|
|
|
|
|
|
7104
|
|
|
|
|
|
|
=head1 METHODS |
7105
|
|
|
|
|
|
|
|
7106
|
|
|
|
|
|
|
=head2 C |
7107
|
|
|
|
|
|
|
|
7108
|
|
|
|
|
|
|
$defn = $api->api($name); |
7109
|
|
|
|
|
|
|
|
7110
|
|
|
|
|
|
|
The only method in this class is the C method which takes the name |
7111
|
|
|
|
|
|
|
of the I and returns its definition. Actions in the |
7112
|
|
|
|
|
|
|
C or C namespace use the namespace as a prefix, eg: |
7113
|
|
|
|
|
|
|
|
7114
|
|
|
|
|
|
|
$defn = $e->api('indices.create'); |
7115
|
|
|
|
|
|
|
$defn = $e->api('cluster.node_stats'); |
7116
|
|
|
|
|
|
|
|
7117
|
|
|
|
|
|
|
=head1 SEE ALSO |
7118
|
|
|
|
|
|
|
|
7119
|
|
|
|
|
|
|
=over |
7120
|
|
|
|
|
|
|
|
7121
|
|
|
|
|
|
|
=item * |
7122
|
|
|
|
|
|
|
|
7123
|
|
|
|
|
|
|
L |
7124
|
|
|
|
|
|
|
|
7125
|
|
|
|
|
|
|
=item * |
7126
|
|
|
|
|
|
|
|
7127
|
|
|
|
|
|
|
L |
7128
|
|
|
|
|
|
|
|
7129
|
|
|
|
|
|
|
=back |
7130
|
|
|
|
|
|
|
|
7131
|
|
|
|
|
|
|
=head1 AUTHOR |
7132
|
|
|
|
|
|
|
|
7133
|
|
|
|
|
|
|
Enrico Zimuel |
7134
|
|
|
|
|
|
|
|
7135
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
7136
|
|
|
|
|
|
|
|
7137
|
|
|
|
|
|
|
This software is Copyright (c) 2022 by Elasticsearch BV. |
7138
|
|
|
|
|
|
|
|
7139
|
|
|
|
|
|
|
This is free software, licensed under: |
7140
|
|
|
|
|
|
|
|
7141
|
|
|
|
|
|
|
The Apache License, Version 2.0, January 2004 |
7142
|
|
|
|
|
|
|
|
7143
|
|
|
|
|
|
|
=cut |
7144
|
|
|
|
|
|
|
|
7145
|
|
|
|
|
|
|
__END__ |