| 1 | package Search::Elasticsearch::Client::6_0::Role::API; | ||||||||||||||||||||
| 2 | 55 | $Search::Elasticsearch::Client::6_0::Role::API::VERSION = '6.80'; | |||||||||||||||||||
| 3 | 55 | ▶ | use Moo::Role; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 55 | with 'Search::Elasticsearch::Role::API'; | |||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | 55 | ▶ | use Search::Elasticsearch::Util qw(throw); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | 55 | ▶ | use namespace::clean; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 55 | has 'api_version' => ( is => 'ro', default => '6_0' ); | |||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 55 | our %API; | |||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | #=================================== | ||||||||||||||||||||
| 14 | sub api { | ||||||||||||||||||||
| 15 | #=================================== | ||||||||||||||||||||
| 16 | 55 | ▶ | my $name = $_[1] || return \%API; | ||||||||||||||||||
|
Subroutine
api: called CC=3 SCAR=18.4
Pod
documented
Condition50%1/2
$_[1] || (return \%Search::Elasticsearch::Client::6_0::Role::API::API)
MC/DC0%0/1
$_[1] || (return \%Search::Elasticsearch::Client::6_0::Role::API::API)
$_[1]
Truth table50%1/2
A
A= $_[1]
| |||||||||||||||||||||
| 17 | 0 | ▶ | return $API{$name} | ||||||||||||||||||
|
Condition0%0/3
$Search::Elasticsearch::Client::6_0::Role::API::API{$name} || throw('Internal', "Unknown api name ($name)")
MC/DC0%0/2
$Search::Elasticsearch::Client::6_0::Role::API::API{$name} || throw('Internal', "Unknown api name ($name)")
$Search::Elasticsearch::Client::6_0::Role::API::API{$name}
throw('Internal', "Unknown api name ($name)")
Truth table0%0/3
A || B
A= $Search::Elasticsearch::Client::6_0::Role::API::API{$name}B= throw('Internal', "Unknown api name ($name)")
| |||||||||||||||||||||
| 18 | || throw( 'Internal', "Unknown api name ($name)" ); | ||||||||||||||||||||
| 19 | } | ||||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | #=================================== | ||||||||||||||||||||
| 22 | 55 | %API = ( | |||||||||||||||||||
| 23 | #=================================== | ||||||||||||||||||||
| 24 | |||||||||||||||||||||
| 25 | 'bulk.metadata' => { | ||||||||||||||||||||
| 26 | params => { | ||||||||||||||||||||
| 27 | '_index' => '_index', | ||||||||||||||||||||
| 28 | 'index' => '_index', | ||||||||||||||||||||
| 29 | '_type' => '_type', | ||||||||||||||||||||
| 30 | 'type' => '_type', | ||||||||||||||||||||
| 31 | '_id' => '_id', | ||||||||||||||||||||
| 32 | 'id' => '_id', | ||||||||||||||||||||
| 33 | 'pipeline' => 'pipeline', | ||||||||||||||||||||
| 34 | 'routing' => 'routing', | ||||||||||||||||||||
| 35 | '_routing' => 'routing', | ||||||||||||||||||||
| 36 | 'parent' => 'parent', | ||||||||||||||||||||
| 37 | '_parent' => 'parent', | ||||||||||||||||||||
| 38 | 'timestamp' => 'timestamp', | ||||||||||||||||||||
| 39 | '_timestamp' => 'timestamp', | ||||||||||||||||||||
| 40 | 'ttl' => 'ttl', | ||||||||||||||||||||
| 41 | '_ttl' => 'ttl', | ||||||||||||||||||||
| 42 | 'version' => 'version', | ||||||||||||||||||||
| 43 | '_version' => 'version', | ||||||||||||||||||||
| 44 | 'version_type' => 'version_type', | ||||||||||||||||||||
| 45 | '_version_type' => 'version_type' | ||||||||||||||||||||
| 46 | } | ||||||||||||||||||||
| 47 | }, | ||||||||||||||||||||
| 48 | 'bulk.update' => { | ||||||||||||||||||||
| 49 | params => [ | ||||||||||||||||||||
| 50 | '_source', '_source_includes', | ||||||||||||||||||||
| 51 | '_source_excludes', 'detect_noop', | ||||||||||||||||||||
| 52 | 'doc', 'doc_as_upsert', | ||||||||||||||||||||
| 53 | 'fields', 'retry_on_conflict', | ||||||||||||||||||||
| 54 | 'scripted_upsert', 'script', | ||||||||||||||||||||
| 55 | 'upsert', | ||||||||||||||||||||
| 56 | ] | ||||||||||||||||||||
| 57 | }, | ||||||||||||||||||||
| 58 | 'bulk.required' => { params => [ 'index', 'type' ] }, | ||||||||||||||||||||
| 59 | |||||||||||||||||||||
| 60 | #=== AUTOGEN - START === | ||||||||||||||||||||
| 61 | |||||||||||||||||||||
| 62 | 'bulk' => { | ||||||||||||||||||||
| 63 | body => { required => 1 }, | ||||||||||||||||||||
| 64 | doc => "docs-bulk", | ||||||||||||||||||||
| 65 | method => "POST", | ||||||||||||||||||||
| 66 | parts => { index => {}, type => {} }, | ||||||||||||||||||||
| 67 | paths => [ | ||||||||||||||||||||
| 68 | [ { index => 0, type => 1 }, "{index}", "{type}", "_bulk" ], | ||||||||||||||||||||
| 69 | [ { index => 0 }, "{index}", "_bulk" ], | ||||||||||||||||||||
| 70 | [ {}, "_bulk" ], | ||||||||||||||||||||
| 71 | ], | ||||||||||||||||||||
| 72 | qs => { | ||||||||||||||||||||
| 73 | _source => "list", | ||||||||||||||||||||
| 74 | _source_excludes => "list", | ||||||||||||||||||||
| 75 | _source_includes => "list", | ||||||||||||||||||||
| 76 | error_trace => "boolean", | ||||||||||||||||||||
| 77 | fields => "list", | ||||||||||||||||||||
| 78 | filter_path => "list", | ||||||||||||||||||||
| 79 | human => "boolean", | ||||||||||||||||||||
| 80 | pipeline => "string", | ||||||||||||||||||||
| 81 | refresh => "enum", | ||||||||||||||||||||
| 82 | routing => "string", | ||||||||||||||||||||
| 83 | timeout => "time", | ||||||||||||||||||||
| 84 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 85 | }, | ||||||||||||||||||||
| 86 | serialize => "bulk", | ||||||||||||||||||||
| 87 | }, | ||||||||||||||||||||
| 88 | |||||||||||||||||||||
| 89 | 'clear_scroll' => { | ||||||||||||||||||||
| 90 | body => {}, | ||||||||||||||||||||
| 91 | doc => "search-request-scroll", | ||||||||||||||||||||
| 92 | method => "DELETE", | ||||||||||||||||||||
| 93 | parts => { scroll_id => { multi => 1 } }, | ||||||||||||||||||||
| 94 | paths => [ | ||||||||||||||||||||
| 95 | [ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], | ||||||||||||||||||||
| 96 | [ {}, "_search", "scroll" ], | ||||||||||||||||||||
| 97 | ], | ||||||||||||||||||||
| 98 | qs => { | ||||||||||||||||||||
| 99 | error_trace => "boolean", | ||||||||||||||||||||
| 100 | filter_path => "list", | ||||||||||||||||||||
| 101 | human => "boolean" | ||||||||||||||||||||
| 102 | }, | ||||||||||||||||||||
| 103 | }, | ||||||||||||||||||||
| 104 | |||||||||||||||||||||
| 105 | 'count' => { | ||||||||||||||||||||
| 106 | body => {}, | ||||||||||||||||||||
| 107 | doc => "search-count", | ||||||||||||||||||||
| 108 | method => "POST", | ||||||||||||||||||||
| 109 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 110 | paths => [ | ||||||||||||||||||||
| 111 | [ { index => 0, type => 1 }, "{index}", "{type}", "_count" ], | ||||||||||||||||||||
| 112 | [ { index => 0 }, "{index}", "_count" ], | ||||||||||||||||||||
| 113 | [ {}, "_count" ], | ||||||||||||||||||||
| 114 | ], | ||||||||||||||||||||
| 115 | qs => { | ||||||||||||||||||||
| 116 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 117 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 118 | analyzer => "string", | ||||||||||||||||||||
| 119 | default_operator => "enum", | ||||||||||||||||||||
| 120 | df => "string", | ||||||||||||||||||||
| 121 | error_trace => "boolean", | ||||||||||||||||||||
| 122 | expand_wildcards => "enum", | ||||||||||||||||||||
| 123 | filter_path => "list", | ||||||||||||||||||||
| 124 | human => "boolean", | ||||||||||||||||||||
| 125 | ignore_throttled => "boolean", | ||||||||||||||||||||
| 126 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 127 | lenient => "boolean", | ||||||||||||||||||||
| 128 | min_score => "number", | ||||||||||||||||||||
| 129 | preference => "string", | ||||||||||||||||||||
| 130 | q => "string", | ||||||||||||||||||||
| 131 | routing => "list", | ||||||||||||||||||||
| 132 | terminate_after => "number", | ||||||||||||||||||||
| 133 | }, | ||||||||||||||||||||
| 134 | }, | ||||||||||||||||||||
| 135 | |||||||||||||||||||||
| 136 | 'create' => { | ||||||||||||||||||||
| 137 | body => { required => 1 }, | ||||||||||||||||||||
| 138 | doc => "docs-index_", | ||||||||||||||||||||
| 139 | method => "PUT", | ||||||||||||||||||||
| 140 | parts => { | ||||||||||||||||||||
| 141 | id => { required => 1 }, | ||||||||||||||||||||
| 142 | index => { required => 1 }, | ||||||||||||||||||||
| 143 | type => { required => 1 }, | ||||||||||||||||||||
| 144 | }, | ||||||||||||||||||||
| 145 | paths => [ | ||||||||||||||||||||
| 146 | [ { id => 2, index => 0, type => 1 }, | ||||||||||||||||||||
| 147 | "{index}", "{type}", "{id}", "_create", | ||||||||||||||||||||
| 148 | ], | ||||||||||||||||||||
| 149 | ], | ||||||||||||||||||||
| 150 | qs => { | ||||||||||||||||||||
| 151 | error_trace => "boolean", | ||||||||||||||||||||
| 152 | filter_path => "list", | ||||||||||||||||||||
| 153 | human => "boolean", | ||||||||||||||||||||
| 154 | parent => "string", | ||||||||||||||||||||
| 155 | pipeline => "string", | ||||||||||||||||||||
| 156 | refresh => "enum", | ||||||||||||||||||||
| 157 | routing => "string", | ||||||||||||||||||||
| 158 | timeout => "time", | ||||||||||||||||||||
| 159 | version => "number", | ||||||||||||||||||||
| 160 | version_type => "enum", | ||||||||||||||||||||
| 161 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 162 | }, | ||||||||||||||||||||
| 163 | }, | ||||||||||||||||||||
| 164 | |||||||||||||||||||||
| 165 | 'delete' => { | ||||||||||||||||||||
| 166 | doc => "docs-delete", | ||||||||||||||||||||
| 167 | method => "DELETE", | ||||||||||||||||||||
| 168 | parts => { | ||||||||||||||||||||
| 169 | id => { required => 1 }, | ||||||||||||||||||||
| 170 | index => { required => 1 }, | ||||||||||||||||||||
| 171 | type => { required => 1 }, | ||||||||||||||||||||
| 172 | }, | ||||||||||||||||||||
| 173 | paths => [ | ||||||||||||||||||||
| 174 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 175 | "{type}", "{id}" | ||||||||||||||||||||
| 176 | ], | ||||||||||||||||||||
| 177 | ], | ||||||||||||||||||||
| 178 | qs => { | ||||||||||||||||||||
| 179 | error_trace => "boolean", | ||||||||||||||||||||
| 180 | filter_path => "list", | ||||||||||||||||||||
| 181 | human => "boolean", | ||||||||||||||||||||
| 182 | if_primary_term => "number", | ||||||||||||||||||||
| 183 | if_seq_no => "number", | ||||||||||||||||||||
| 184 | parent => "string", | ||||||||||||||||||||
| 185 | refresh => "enum", | ||||||||||||||||||||
| 186 | routing => "string", | ||||||||||||||||||||
| 187 | timeout => "time", | ||||||||||||||||||||
| 188 | version => "number", | ||||||||||||||||||||
| 189 | version_type => "enum", | ||||||||||||||||||||
| 190 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 191 | }, | ||||||||||||||||||||
| 192 | }, | ||||||||||||||||||||
| 193 | |||||||||||||||||||||
| 194 | 'delete_by_query' => { | ||||||||||||||||||||
| 195 | body => { required => 1 }, | ||||||||||||||||||||
| 196 | doc => "docs-delete-by-query", | ||||||||||||||||||||
| 197 | method => "POST", | ||||||||||||||||||||
| 198 | parts => { | ||||||||||||||||||||
| 199 | index => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 200 | type => { multi => 1 } | ||||||||||||||||||||
| 201 | }, | ||||||||||||||||||||
| 202 | paths => [ | ||||||||||||||||||||
| 203 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 204 | "{type}", "_delete_by_query", | ||||||||||||||||||||
| 205 | ], | ||||||||||||||||||||
| 206 | [ { index => 0 }, "{index}", "_delete_by_query" ], | ||||||||||||||||||||
| 207 | ], | ||||||||||||||||||||
| 208 | qs => { | ||||||||||||||||||||
| 209 | _source => "list", | ||||||||||||||||||||
| 210 | _source_excludes => "list", | ||||||||||||||||||||
| 211 | _source_includes => "list", | ||||||||||||||||||||
| 212 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 213 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 214 | analyzer => "string", | ||||||||||||||||||||
| 215 | conflicts => "enum", | ||||||||||||||||||||
| 216 | default_operator => "enum", | ||||||||||||||||||||
| 217 | df => "string", | ||||||||||||||||||||
| 218 | error_trace => "boolean", | ||||||||||||||||||||
| 219 | expand_wildcards => "enum", | ||||||||||||||||||||
| 220 | filter_path => "list", | ||||||||||||||||||||
| 221 | from => "number", | ||||||||||||||||||||
| 222 | human => "boolean", | ||||||||||||||||||||
| 223 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 224 | lenient => "boolean", | ||||||||||||||||||||
| 225 | preference => "string", | ||||||||||||||||||||
| 226 | q => "string", | ||||||||||||||||||||
| 227 | refresh => "boolean", | ||||||||||||||||||||
| 228 | request_cache => "boolean", | ||||||||||||||||||||
| 229 | requests_per_second => "number", | ||||||||||||||||||||
| 230 | routing => "list", | ||||||||||||||||||||
| 231 | scroll => "time", | ||||||||||||||||||||
| 232 | scroll_size => "number", | ||||||||||||||||||||
| 233 | search_timeout => "time", | ||||||||||||||||||||
| 234 | search_type => "enum", | ||||||||||||||||||||
| 235 | size => "number", | ||||||||||||||||||||
| 236 | slices => "number", | ||||||||||||||||||||
| 237 | sort => "list", | ||||||||||||||||||||
| 238 | stats => "list", | ||||||||||||||||||||
| 239 | terminate_after => "number", | ||||||||||||||||||||
| 240 | timeout => "time", | ||||||||||||||||||||
| 241 | version => "boolean", | ||||||||||||||||||||
| 242 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 243 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 244 | }, | ||||||||||||||||||||
| 245 | }, | ||||||||||||||||||||
| 246 | |||||||||||||||||||||
| 247 | 'delete_by_query_rethrottle' => { | ||||||||||||||||||||
| 248 | doc => "docs-delete-by-query", | ||||||||||||||||||||
| 249 | method => "POST", | ||||||||||||||||||||
| 250 | parts => { task_id => { required => 1 } }, | ||||||||||||||||||||
| 251 | paths => [ | ||||||||||||||||||||
| 252 | [ { task_id => 1 }, "_delete_by_query", | ||||||||||||||||||||
| 253 | "{task_id}", "_rethrottle", | ||||||||||||||||||||
| 254 | ], | ||||||||||||||||||||
| 255 | ], | ||||||||||||||||||||
| 256 | qs => { | ||||||||||||||||||||
| 257 | error_trace => "boolean", | ||||||||||||||||||||
| 258 | filter_path => "list", | ||||||||||||||||||||
| 259 | human => "boolean", | ||||||||||||||||||||
| 260 | requests_per_second => "number", | ||||||||||||||||||||
| 261 | }, | ||||||||||||||||||||
| 262 | }, | ||||||||||||||||||||
| 263 | |||||||||||||||||||||
| 264 | 'delete_script' => { | ||||||||||||||||||||
| 265 | doc => "modules-scripting", | ||||||||||||||||||||
| 266 | method => "DELETE", | ||||||||||||||||||||
| 267 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 268 | paths => [ [ { id => 1 }, "_scripts", "{id}" ] ], | ||||||||||||||||||||
| 269 | qs => { | ||||||||||||||||||||
| 270 | error_trace => "boolean", | ||||||||||||||||||||
| 271 | filter_path => "list", | ||||||||||||||||||||
| 272 | human => "boolean", | ||||||||||||||||||||
| 273 | master_timeout => "time", | ||||||||||||||||||||
| 274 | timeout => "time", | ||||||||||||||||||||
| 275 | }, | ||||||||||||||||||||
| 276 | }, | ||||||||||||||||||||
| 277 | |||||||||||||||||||||
| 278 | 'exists' => { | ||||||||||||||||||||
| 279 | doc => "docs-get", | ||||||||||||||||||||
| 280 | method => "HEAD", | ||||||||||||||||||||
| 281 | parts => { | ||||||||||||||||||||
| 282 | id => { required => 1 }, | ||||||||||||||||||||
| 283 | index => { required => 1 }, | ||||||||||||||||||||
| 284 | type => { required => 1 }, | ||||||||||||||||||||
| 285 | }, | ||||||||||||||||||||
| 286 | paths => [ | ||||||||||||||||||||
| 287 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 288 | "{type}", "{id}" | ||||||||||||||||||||
| 289 | ], | ||||||||||||||||||||
| 290 | ], | ||||||||||||||||||||
| 291 | qs => { | ||||||||||||||||||||
| 292 | _source => "list", | ||||||||||||||||||||
| 293 | _source_excludes => "list", | ||||||||||||||||||||
| 294 | _source_includes => "list", | ||||||||||||||||||||
| 295 | error_trace => "boolean", | ||||||||||||||||||||
| 296 | filter_path => "list", | ||||||||||||||||||||
| 297 | human => "boolean", | ||||||||||||||||||||
| 298 | parent => "string", | ||||||||||||||||||||
| 299 | preference => "string", | ||||||||||||||||||||
| 300 | realtime => "boolean", | ||||||||||||||||||||
| 301 | refresh => "boolean", | ||||||||||||||||||||
| 302 | routing => "string", | ||||||||||||||||||||
| 303 | stored_fields => "list", | ||||||||||||||||||||
| 304 | version => "number", | ||||||||||||||||||||
| 305 | version_type => "enum", | ||||||||||||||||||||
| 306 | }, | ||||||||||||||||||||
| 307 | }, | ||||||||||||||||||||
| 308 | |||||||||||||||||||||
| 309 | 'exists_source' => { | ||||||||||||||||||||
| 310 | doc => "docs-get", | ||||||||||||||||||||
| 311 | method => "HEAD", | ||||||||||||||||||||
| 312 | parts => { | ||||||||||||||||||||
| 313 | id => { required => 1 }, | ||||||||||||||||||||
| 314 | index => { required => 1 }, | ||||||||||||||||||||
| 315 | type => { required => 1 }, | ||||||||||||||||||||
| 316 | }, | ||||||||||||||||||||
| 317 | paths => [ | ||||||||||||||||||||
| 318 | [ { id => 2, index => 0, type => 1 }, | ||||||||||||||||||||
| 319 | "{index}", "{type}", "{id}", "_source", | ||||||||||||||||||||
| 320 | ], | ||||||||||||||||||||
| 321 | ], | ||||||||||||||||||||
| 322 | qs => { | ||||||||||||||||||||
| 323 | _source => "list", | ||||||||||||||||||||
| 324 | _source_excludes => "list", | ||||||||||||||||||||
| 325 | _source_includes => "list", | ||||||||||||||||||||
| 326 | error_trace => "boolean", | ||||||||||||||||||||
| 327 | filter_path => "list", | ||||||||||||||||||||
| 328 | human => "boolean", | ||||||||||||||||||||
| 329 | parent => "string", | ||||||||||||||||||||
| 330 | preference => "string", | ||||||||||||||||||||
| 331 | realtime => "boolean", | ||||||||||||||||||||
| 332 | refresh => "boolean", | ||||||||||||||||||||
| 333 | routing => "string", | ||||||||||||||||||||
| 334 | version => "number", | ||||||||||||||||||||
| 335 | version_type => "enum", | ||||||||||||||||||||
| 336 | }, | ||||||||||||||||||||
| 337 | }, | ||||||||||||||||||||
| 338 | |||||||||||||||||||||
| 339 | 'explain' => { | ||||||||||||||||||||
| 340 | body => {}, | ||||||||||||||||||||
| 341 | doc => "search-explain", | ||||||||||||||||||||
| 342 | parts => { | ||||||||||||||||||||
| 343 | id => { required => 1 }, | ||||||||||||||||||||
| 344 | index => { required => 1 }, | ||||||||||||||||||||
| 345 | type => { required => 1 }, | ||||||||||||||||||||
| 346 | }, | ||||||||||||||||||||
| 347 | paths => [ | ||||||||||||||||||||
| 348 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 349 | "{type}", "{id}", | ||||||||||||||||||||
| 350 | "_explain", | ||||||||||||||||||||
| 351 | ], | ||||||||||||||||||||
| 352 | ], | ||||||||||||||||||||
| 353 | qs => { | ||||||||||||||||||||
| 354 | _source => "list", | ||||||||||||||||||||
| 355 | _source_excludes => "list", | ||||||||||||||||||||
| 356 | _source_includes => "list", | ||||||||||||||||||||
| 357 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 358 | analyzer => "string", | ||||||||||||||||||||
| 359 | default_operator => "enum", | ||||||||||||||||||||
| 360 | df => "string", | ||||||||||||||||||||
| 361 | error_trace => "boolean", | ||||||||||||||||||||
| 362 | filter_path => "list", | ||||||||||||||||||||
| 363 | human => "boolean", | ||||||||||||||||||||
| 364 | lenient => "boolean", | ||||||||||||||||||||
| 365 | parent => "string", | ||||||||||||||||||||
| 366 | preference => "string", | ||||||||||||||||||||
| 367 | q => "string", | ||||||||||||||||||||
| 368 | routing => "string", | ||||||||||||||||||||
| 369 | stored_fields => "list", | ||||||||||||||||||||
| 370 | }, | ||||||||||||||||||||
| 371 | }, | ||||||||||||||||||||
| 372 | |||||||||||||||||||||
| 373 | 'field_caps' => { | ||||||||||||||||||||
| 374 | body => {}, | ||||||||||||||||||||
| 375 | doc => "search-field-caps", | ||||||||||||||||||||
| 376 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 377 | paths => [ | ||||||||||||||||||||
| 378 | [ { index => 0 }, "{index}", "_field_caps" ], | ||||||||||||||||||||
| 379 | [ {}, "_field_caps" ], | ||||||||||||||||||||
| 380 | ], | ||||||||||||||||||||
| 381 | qs => { | ||||||||||||||||||||
| 382 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 383 | error_trace => "boolean", | ||||||||||||||||||||
| 384 | expand_wildcards => "enum", | ||||||||||||||||||||
| 385 | fields => "list", | ||||||||||||||||||||
| 386 | filter_path => "list", | ||||||||||||||||||||
| 387 | human => "boolean", | ||||||||||||||||||||
| 388 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 389 | }, | ||||||||||||||||||||
| 390 | }, | ||||||||||||||||||||
| 391 | |||||||||||||||||||||
| 392 | 'get' => { | ||||||||||||||||||||
| 393 | doc => "docs-get", | ||||||||||||||||||||
| 394 | parts => { | ||||||||||||||||||||
| 395 | id => { required => 1 }, | ||||||||||||||||||||
| 396 | index => { required => 1 }, | ||||||||||||||||||||
| 397 | type => { required => 1 }, | ||||||||||||||||||||
| 398 | }, | ||||||||||||||||||||
| 399 | paths => [ | ||||||||||||||||||||
| 400 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 401 | "{type}", "{id}" | ||||||||||||||||||||
| 402 | ], | ||||||||||||||||||||
| 403 | ], | ||||||||||||||||||||
| 404 | qs => { | ||||||||||||||||||||
| 405 | _source => "list", | ||||||||||||||||||||
| 406 | _source_exclude => "list", | ||||||||||||||||||||
| 407 | _source_excludes => "list", | ||||||||||||||||||||
| 408 | _source_include => "list", | ||||||||||||||||||||
| 409 | _source_includes => "list", | ||||||||||||||||||||
| 410 | error_trace => "boolean", | ||||||||||||||||||||
| 411 | filter_path => "list", | ||||||||||||||||||||
| 412 | human => "boolean", | ||||||||||||||||||||
| 413 | parent => "string", | ||||||||||||||||||||
| 414 | preference => "string", | ||||||||||||||||||||
| 415 | realtime => "boolean", | ||||||||||||||||||||
| 416 | refresh => "boolean", | ||||||||||||||||||||
| 417 | routing => "string", | ||||||||||||||||||||
| 418 | stored_fields => "list", | ||||||||||||||||||||
| 419 | version => "number", | ||||||||||||||||||||
| 420 | version_type => "enum", | ||||||||||||||||||||
| 421 | }, | ||||||||||||||||||||
| 422 | }, | ||||||||||||||||||||
| 423 | |||||||||||||||||||||
| 424 | 'get_script' => { | ||||||||||||||||||||
| 425 | doc => "modules-scripting", | ||||||||||||||||||||
| 426 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 427 | paths => [ [ { id => 1 }, "_scripts", "{id}" ] ], | ||||||||||||||||||||
| 428 | qs => { | ||||||||||||||||||||
| 429 | error_trace => "boolean", | ||||||||||||||||||||
| 430 | filter_path => "list", | ||||||||||||||||||||
| 431 | human => "boolean", | ||||||||||||||||||||
| 432 | master_timeout => "time", | ||||||||||||||||||||
| 433 | }, | ||||||||||||||||||||
| 434 | }, | ||||||||||||||||||||
| 435 | |||||||||||||||||||||
| 436 | 'get_source' => { | ||||||||||||||||||||
| 437 | doc => "docs-get", | ||||||||||||||||||||
| 438 | parts => { | ||||||||||||||||||||
| 439 | id => { required => 1 }, | ||||||||||||||||||||
| 440 | index => { required => 1 }, | ||||||||||||||||||||
| 441 | type => { required => 1 }, | ||||||||||||||||||||
| 442 | }, | ||||||||||||||||||||
| 443 | paths => [ | ||||||||||||||||||||
| 444 | [ { id => 2, index => 0, type => 1 }, | ||||||||||||||||||||
| 445 | "{index}", "{type}", "{id}", "_source", | ||||||||||||||||||||
| 446 | ], | ||||||||||||||||||||
| 447 | ], | ||||||||||||||||||||
| 448 | qs => { | ||||||||||||||||||||
| 449 | _source => "list", | ||||||||||||||||||||
| 450 | _source_excludes => "list", | ||||||||||||||||||||
| 451 | _source_includes => "list", | ||||||||||||||||||||
| 452 | error_trace => "boolean", | ||||||||||||||||||||
| 453 | filter_path => "list", | ||||||||||||||||||||
| 454 | human => "boolean", | ||||||||||||||||||||
| 455 | parent => "string", | ||||||||||||||||||||
| 456 | preference => "string", | ||||||||||||||||||||
| 457 | realtime => "boolean", | ||||||||||||||||||||
| 458 | refresh => "boolean", | ||||||||||||||||||||
| 459 | routing => "string", | ||||||||||||||||||||
| 460 | version => "number", | ||||||||||||||||||||
| 461 | version_type => "enum", | ||||||||||||||||||||
| 462 | }, | ||||||||||||||||||||
| 463 | }, | ||||||||||||||||||||
| 464 | |||||||||||||||||||||
| 465 | 'index' => { | ||||||||||||||||||||
| 466 | body => { required => 1 }, | ||||||||||||||||||||
| 467 | doc => "docs-index_", | ||||||||||||||||||||
| 468 | method => "POST", | ||||||||||||||||||||
| 469 | parts => { | ||||||||||||||||||||
| 470 | id => {}, | ||||||||||||||||||||
| 471 | index => { required => 1 }, | ||||||||||||||||||||
| 472 | type => { required => 1 } | ||||||||||||||||||||
| 473 | }, | ||||||||||||||||||||
| 474 | paths => [ | ||||||||||||||||||||
| 475 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 476 | "{type}", "{id}" | ||||||||||||||||||||
| 477 | ], | ||||||||||||||||||||
| 478 | [ { index => 0, type => 1 }, "{index}", "{type}" ], | ||||||||||||||||||||
| 479 | ], | ||||||||||||||||||||
| 480 | qs => { | ||||||||||||||||||||
| 481 | error_trace => "boolean", | ||||||||||||||||||||
| 482 | filter_path => "list", | ||||||||||||||||||||
| 483 | human => "boolean", | ||||||||||||||||||||
| 484 | if_primary_term => "number", | ||||||||||||||||||||
| 485 | if_seq_no => "number", | ||||||||||||||||||||
| 486 | op_type => "enum", | ||||||||||||||||||||
| 487 | parent => "string", | ||||||||||||||||||||
| 488 | pipeline => "string", | ||||||||||||||||||||
| 489 | refresh => "enum", | ||||||||||||||||||||
| 490 | routing => "string", | ||||||||||||||||||||
| 491 | timeout => "time", | ||||||||||||||||||||
| 492 | version => "number", | ||||||||||||||||||||
| 493 | version_type => "enum", | ||||||||||||||||||||
| 494 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 495 | }, | ||||||||||||||||||||
| 496 | }, | ||||||||||||||||||||
| 497 | |||||||||||||||||||||
| 498 | 'info' => { | ||||||||||||||||||||
| 499 | doc => "", | ||||||||||||||||||||
| 500 | parts => {}, | ||||||||||||||||||||
| 501 | paths => [ [ {} ] ], | ||||||||||||||||||||
| 502 | qs => { | ||||||||||||||||||||
| 503 | error_trace => "boolean", | ||||||||||||||||||||
| 504 | filter_path => "list", | ||||||||||||||||||||
| 505 | human => "boolean" | ||||||||||||||||||||
| 506 | }, | ||||||||||||||||||||
| 507 | }, | ||||||||||||||||||||
| 508 | |||||||||||||||||||||
| 509 | 'mget' => { | ||||||||||||||||||||
| 510 | body => { required => 1 }, | ||||||||||||||||||||
| 511 | doc => "docs-multi-get", | ||||||||||||||||||||
| 512 | parts => { index => {}, type => {} }, | ||||||||||||||||||||
| 513 | paths => [ | ||||||||||||||||||||
| 514 | [ { index => 0, type => 1 }, "{index}", "{type}", "_mget" ], | ||||||||||||||||||||
| 515 | [ { index => 0 }, "{index}", "_mget" ], | ||||||||||||||||||||
| 516 | [ {}, "_mget" ], | ||||||||||||||||||||
| 517 | ], | ||||||||||||||||||||
| 518 | qs => { | ||||||||||||||||||||
| 519 | _source => "list", | ||||||||||||||||||||
| 520 | _source_excludes => "list", | ||||||||||||||||||||
| 521 | _source_includes => "list", | ||||||||||||||||||||
| 522 | error_trace => "boolean", | ||||||||||||||||||||
| 523 | filter_path => "list", | ||||||||||||||||||||
| 524 | human => "boolean", | ||||||||||||||||||||
| 525 | preference => "string", | ||||||||||||||||||||
| 526 | realtime => "boolean", | ||||||||||||||||||||
| 527 | refresh => "boolean", | ||||||||||||||||||||
| 528 | routing => "string", | ||||||||||||||||||||
| 529 | stored_fields => "list", | ||||||||||||||||||||
| 530 | }, | ||||||||||||||||||||
| 531 | }, | ||||||||||||||||||||
| 532 | |||||||||||||||||||||
| 533 | 'msearch' => { | ||||||||||||||||||||
| 534 | body => { required => 1 }, | ||||||||||||||||||||
| 535 | doc => "search-multi-search", | ||||||||||||||||||||
| 536 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 537 | paths => [ | ||||||||||||||||||||
| 538 | [ { index => 0, type => 1 }, "{index}", "{type}", "_msearch" ], | ||||||||||||||||||||
| 539 | [ { index => 0 }, "{index}", "_msearch" ], | ||||||||||||||||||||
| 540 | [ {}, "_msearch" ], | ||||||||||||||||||||
| 541 | ], | ||||||||||||||||||||
| 542 | qs => { | ||||||||||||||||||||
| 543 | error_trace => "boolean", | ||||||||||||||||||||
| 544 | filter_path => "list", | ||||||||||||||||||||
| 545 | human => "boolean", | ||||||||||||||||||||
| 546 | max_concurrent_searches => "number", | ||||||||||||||||||||
| 547 | max_concurrent_shard_requests => "number", | ||||||||||||||||||||
| 548 | pre_filter_shard_size => "number", | ||||||||||||||||||||
| 549 | rest_total_hits_as_int => "boolean", | ||||||||||||||||||||
| 550 | search_type => "enum", | ||||||||||||||||||||
| 551 | typed_keys => "boolean", | ||||||||||||||||||||
| 552 | }, | ||||||||||||||||||||
| 553 | serialize => "bulk", | ||||||||||||||||||||
| 554 | }, | ||||||||||||||||||||
| 555 | |||||||||||||||||||||
| 556 | 'msearch_template' => { | ||||||||||||||||||||
| 557 | body => { required => 1 }, | ||||||||||||||||||||
| 558 | doc => "search-multi-search", | ||||||||||||||||||||
| 559 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 560 | paths => [ | ||||||||||||||||||||
| 561 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 562 | "{type}", "_msearch", | ||||||||||||||||||||
| 563 | "template", | ||||||||||||||||||||
| 564 | ], | ||||||||||||||||||||
| 565 | [ { index => 0 }, "{index}", "_msearch", "template" ], | ||||||||||||||||||||
| 566 | [ {}, "_msearch", "template" ], | ||||||||||||||||||||
| 567 | ], | ||||||||||||||||||||
| 568 | qs => { | ||||||||||||||||||||
| 569 | error_trace => "boolean", | ||||||||||||||||||||
| 570 | filter_path => "list", | ||||||||||||||||||||
| 571 | human => "boolean", | ||||||||||||||||||||
| 572 | max_concurrent_searches => "number", | ||||||||||||||||||||
| 573 | rest_total_hits_as_int => "boolean", | ||||||||||||||||||||
| 574 | search_type => "enum", | ||||||||||||||||||||
| 575 | typed_keys => "boolean", | ||||||||||||||||||||
| 576 | }, | ||||||||||||||||||||
| 577 | serialize => "bulk", | ||||||||||||||||||||
| 578 | }, | ||||||||||||||||||||
| 579 | |||||||||||||||||||||
| 580 | 'mtermvectors' => { | ||||||||||||||||||||
| 581 | body => {}, | ||||||||||||||||||||
| 582 | doc => "docs-multi-termvectors", | ||||||||||||||||||||
| 583 | parts => { index => {}, type => {} }, | ||||||||||||||||||||
| 584 | paths => [ | ||||||||||||||||||||
| 585 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 586 | "{type}", "_mtermvectors" | ||||||||||||||||||||
| 587 | ], | ||||||||||||||||||||
| 588 | [ { index => 0 }, "{index}", "_mtermvectors" ], | ||||||||||||||||||||
| 589 | [ {}, "_mtermvectors" ], | ||||||||||||||||||||
| 590 | ], | ||||||||||||||||||||
| 591 | qs => { | ||||||||||||||||||||
| 592 | error_trace => "boolean", | ||||||||||||||||||||
| 593 | field_statistics => "boolean", | ||||||||||||||||||||
| 594 | fields => "list", | ||||||||||||||||||||
| 595 | filter_path => "list", | ||||||||||||||||||||
| 596 | human => "boolean", | ||||||||||||||||||||
| 597 | ids => "list", | ||||||||||||||||||||
| 598 | offsets => "boolean", | ||||||||||||||||||||
| 599 | parent => "string", | ||||||||||||||||||||
| 600 | payloads => "boolean", | ||||||||||||||||||||
| 601 | positions => "boolean", | ||||||||||||||||||||
| 602 | preference => "string", | ||||||||||||||||||||
| 603 | realtime => "boolean", | ||||||||||||||||||||
| 604 | routing => "string", | ||||||||||||||||||||
| 605 | term_statistics => "boolean", | ||||||||||||||||||||
| 606 | version => "number", | ||||||||||||||||||||
| 607 | version_type => "enum", | ||||||||||||||||||||
| 608 | }, | ||||||||||||||||||||
| 609 | }, | ||||||||||||||||||||
| 610 | |||||||||||||||||||||
| 611 | 'ping' => { | ||||||||||||||||||||
| 612 | doc => "", | ||||||||||||||||||||
| 613 | method => "HEAD", | ||||||||||||||||||||
| 614 | parts => {}, | ||||||||||||||||||||
| 615 | paths => [ [ {} ] ], | ||||||||||||||||||||
| 616 | qs => { | ||||||||||||||||||||
| 617 | error_trace => "boolean", | ||||||||||||||||||||
| 618 | filter_path => "list", | ||||||||||||||||||||
| 619 | human => "boolean" | ||||||||||||||||||||
| 620 | }, | ||||||||||||||||||||
| 621 | }, | ||||||||||||||||||||
| 622 | |||||||||||||||||||||
| 623 | 'put_script' => { | ||||||||||||||||||||
| 624 | body => { required => 1 }, | ||||||||||||||||||||
| 625 | doc => "modules-scripting", | ||||||||||||||||||||
| 626 | method => "PUT", | ||||||||||||||||||||
| 627 | parts => { context => {}, id => { required => 1 } }, | ||||||||||||||||||||
| 628 | paths => [ | ||||||||||||||||||||
| 629 | [ { context => 2, id => 1 }, "_scripts", "{id}", "{context}" ], | ||||||||||||||||||||
| 630 | [ { id => 1 }, "_scripts", "{id}" ], | ||||||||||||||||||||
| 631 | ], | ||||||||||||||||||||
| 632 | qs => { | ||||||||||||||||||||
| 633 | error_trace => "boolean", | ||||||||||||||||||||
| 634 | filter_path => "list", | ||||||||||||||||||||
| 635 | human => "boolean", | ||||||||||||||||||||
| 636 | master_timeout => "time", | ||||||||||||||||||||
| 637 | timeout => "time", | ||||||||||||||||||||
| 638 | }, | ||||||||||||||||||||
| 639 | }, | ||||||||||||||||||||
| 640 | |||||||||||||||||||||
| 641 | 'rank_eval' => { | ||||||||||||||||||||
| 642 | body => { required => 1 }, | ||||||||||||||||||||
| 643 | doc => "search-rank-eval", | ||||||||||||||||||||
| 644 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 645 | paths => [ | ||||||||||||||||||||
| 646 | [ { index => 0 }, "{index}", "_rank_eval" ], | ||||||||||||||||||||
| 647 | [ {}, "_rank_eval" ] | ||||||||||||||||||||
| 648 | ], | ||||||||||||||||||||
| 649 | qs => { | ||||||||||||||||||||
| 650 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 651 | error_trace => "boolean", | ||||||||||||||||||||
| 652 | expand_wildcards => "enum", | ||||||||||||||||||||
| 653 | filter_path => "list", | ||||||||||||||||||||
| 654 | human => "boolean", | ||||||||||||||||||||
| 655 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 656 | }, | ||||||||||||||||||||
| 657 | }, | ||||||||||||||||||||
| 658 | |||||||||||||||||||||
| 659 | 'reindex' => { | ||||||||||||||||||||
| 660 | body => { required => 1 }, | ||||||||||||||||||||
| 661 | doc => "docs-reindex", | ||||||||||||||||||||
| 662 | method => "POST", | ||||||||||||||||||||
| 663 | parts => {}, | ||||||||||||||||||||
| 664 | paths => [ [ {}, "_reindex" ] ], | ||||||||||||||||||||
| 665 | qs => { | ||||||||||||||||||||
| 666 | error_trace => "boolean", | ||||||||||||||||||||
| 667 | filter_path => "list", | ||||||||||||||||||||
| 668 | human => "boolean", | ||||||||||||||||||||
| 669 | refresh => "boolean", | ||||||||||||||||||||
| 670 | requests_per_second => "number", | ||||||||||||||||||||
| 671 | slices => "number", | ||||||||||||||||||||
| 672 | timeout => "time", | ||||||||||||||||||||
| 673 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 674 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 675 | }, | ||||||||||||||||||||
| 676 | }, | ||||||||||||||||||||
| 677 | |||||||||||||||||||||
| 678 | 'reindex_rethrottle' => { | ||||||||||||||||||||
| 679 | doc => "docs-reindex", | ||||||||||||||||||||
| 680 | method => "POST", | ||||||||||||||||||||
| 681 | parts => { task_id => { required => 1 } }, | ||||||||||||||||||||
| 682 | paths => | ||||||||||||||||||||
| 683 | [ [ { task_id => 1 }, "_reindex", "{task_id}", "_rethrottle" ] ], | ||||||||||||||||||||
| 684 | qs => { | ||||||||||||||||||||
| 685 | error_trace => "boolean", | ||||||||||||||||||||
| 686 | filter_path => "list", | ||||||||||||||||||||
| 687 | human => "boolean", | ||||||||||||||||||||
| 688 | requests_per_second => "number", | ||||||||||||||||||||
| 689 | }, | ||||||||||||||||||||
| 690 | }, | ||||||||||||||||||||
| 691 | |||||||||||||||||||||
| 692 | 'render_search_template' => { | ||||||||||||||||||||
| 693 | body => {}, | ||||||||||||||||||||
| 694 | doc => "search-template", | ||||||||||||||||||||
| 695 | parts => { id => {} }, | ||||||||||||||||||||
| 696 | paths => [ | ||||||||||||||||||||
| 697 | [ { id => 2 }, "_render", "template", "{id}" ], | ||||||||||||||||||||
| 698 | [ {}, "_render", "template" ], | ||||||||||||||||||||
| 699 | ], | ||||||||||||||||||||
| 700 | qs => { | ||||||||||||||||||||
| 701 | error_trace => "boolean", | ||||||||||||||||||||
| 702 | filter_path => "list", | ||||||||||||||||||||
| 703 | human => "boolean" | ||||||||||||||||||||
| 704 | }, | ||||||||||||||||||||
| 705 | }, | ||||||||||||||||||||
| 706 | |||||||||||||||||||||
| 707 | 'scripts_painless_execute' => { | ||||||||||||||||||||
| 708 | body => {}, | ||||||||||||||||||||
| 709 | doc => "painless-execute-api", | ||||||||||||||||||||
| 710 | parts => {}, | ||||||||||||||||||||
| 711 | paths => [ [ {}, "_scripts", "painless", "_execute" ] ], | ||||||||||||||||||||
| 712 | qs => { | ||||||||||||||||||||
| 713 | error_trace => "boolean", | ||||||||||||||||||||
| 714 | filter_path => "list", | ||||||||||||||||||||
| 715 | human => "boolean" | ||||||||||||||||||||
| 716 | }, | ||||||||||||||||||||
| 717 | }, | ||||||||||||||||||||
| 718 | |||||||||||||||||||||
| 719 | 'scroll' => { | ||||||||||||||||||||
| 720 | body => {}, | ||||||||||||||||||||
| 721 | doc => "search-request-scroll", | ||||||||||||||||||||
| 722 | parts => { scroll_id => {} }, | ||||||||||||||||||||
| 723 | paths => [ | ||||||||||||||||||||
| 724 | [ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], | ||||||||||||||||||||
| 725 | [ {}, "_search", "scroll" ], | ||||||||||||||||||||
| 726 | ], | ||||||||||||||||||||
| 727 | qs => { | ||||||||||||||||||||
| 728 | error_trace => "boolean", | ||||||||||||||||||||
| 729 | filter_path => "list", | ||||||||||||||||||||
| 730 | human => "boolean", | ||||||||||||||||||||
| 731 | rest_total_hits_as_int => "boolean", | ||||||||||||||||||||
| 732 | scroll => "time", | ||||||||||||||||||||
| 733 | }, | ||||||||||||||||||||
| 734 | }, | ||||||||||||||||||||
| 735 | |||||||||||||||||||||
| 736 | 'search' => { | ||||||||||||||||||||
| 737 | body => {}, | ||||||||||||||||||||
| 738 | doc => "search-search", | ||||||||||||||||||||
| 739 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 740 | paths => [ | ||||||||||||||||||||
| 741 | [ { index => 0, type => 1 }, "{index}", "{type}", "_search" ], | ||||||||||||||||||||
| 742 | [ { index => 0 }, "{index}", "_search" ], | ||||||||||||||||||||
| 743 | [ {}, "_search" ], | ||||||||||||||||||||
| 744 | ], | ||||||||||||||||||||
| 745 | qs => { | ||||||||||||||||||||
| 746 | _source => "list", | ||||||||||||||||||||
| 747 | _source_excludes => "list", | ||||||||||||||||||||
| 748 | _source_includes => "list", | ||||||||||||||||||||
| 749 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 750 | allow_partial_search_results => "boolean", | ||||||||||||||||||||
| 751 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 752 | analyzer => "string", | ||||||||||||||||||||
| 753 | batched_reduce_size => "number", | ||||||||||||||||||||
| 754 | default_operator => "enum", | ||||||||||||||||||||
| 755 | df => "string", | ||||||||||||||||||||
| 756 | docvalue_fields => "list", | ||||||||||||||||||||
| 757 | error_trace => "boolean", | ||||||||||||||||||||
| 758 | expand_wildcards => "enum", | ||||||||||||||||||||
| 759 | explain => "boolean", | ||||||||||||||||||||
| 760 | filter_path => "list", | ||||||||||||||||||||
| 761 | from => "number", | ||||||||||||||||||||
| 762 | human => "boolean", | ||||||||||||||||||||
| 763 | ignore_throttled => "boolean", | ||||||||||||||||||||
| 764 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 765 | lenient => "boolean", | ||||||||||||||||||||
| 766 | max_concurrent_shard_requests => "number", | ||||||||||||||||||||
| 767 | pre_filter_shard_size => "number", | ||||||||||||||||||||
| 768 | preference => "string", | ||||||||||||||||||||
| 769 | q => "string", | ||||||||||||||||||||
| 770 | request_cache => "boolean", | ||||||||||||||||||||
| 771 | rest_total_hits_as_int => "boolean", | ||||||||||||||||||||
| 772 | routing => "list", | ||||||||||||||||||||
| 773 | scroll => "time", | ||||||||||||||||||||
| 774 | search_type => "enum", | ||||||||||||||||||||
| 775 | seq_no_primary_term => "boolean", | ||||||||||||||||||||
| 776 | size => "number", | ||||||||||||||||||||
| 777 | sort => "list", | ||||||||||||||||||||
| 778 | stats => "list", | ||||||||||||||||||||
| 779 | stored_fields => "list", | ||||||||||||||||||||
| 780 | suggest_field => "string", | ||||||||||||||||||||
| 781 | suggest_mode => "enum", | ||||||||||||||||||||
| 782 | suggest_size => "number", | ||||||||||||||||||||
| 783 | suggest_text => "string", | ||||||||||||||||||||
| 784 | terminate_after => "number", | ||||||||||||||||||||
| 785 | timeout => "time", | ||||||||||||||||||||
| 786 | track_scores => "boolean", | ||||||||||||||||||||
| 787 | track_total_hits => "boolean", | ||||||||||||||||||||
| 788 | typed_keys => "boolean", | ||||||||||||||||||||
| 789 | version => "boolean", | ||||||||||||||||||||
| 790 | }, | ||||||||||||||||||||
| 791 | }, | ||||||||||||||||||||
| 792 | |||||||||||||||||||||
| 793 | 'search_shards' => { | ||||||||||||||||||||
| 794 | doc => "search-shards", | ||||||||||||||||||||
| 795 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 796 | paths => [ | ||||||||||||||||||||
| 797 | [ { index => 0 }, "{index}", "_search_shards" ], | ||||||||||||||||||||
| 798 | [ {}, "_search_shards" ], | ||||||||||||||||||||
| 799 | ], | ||||||||||||||||||||
| 800 | qs => { | ||||||||||||||||||||
| 801 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 802 | error_trace => "boolean", | ||||||||||||||||||||
| 803 | expand_wildcards => "enum", | ||||||||||||||||||||
| 804 | filter_path => "list", | ||||||||||||||||||||
| 805 | human => "boolean", | ||||||||||||||||||||
| 806 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 807 | local => "boolean", | ||||||||||||||||||||
| 808 | preference => "string", | ||||||||||||||||||||
| 809 | routing => "string", | ||||||||||||||||||||
| 810 | }, | ||||||||||||||||||||
| 811 | }, | ||||||||||||||||||||
| 812 | |||||||||||||||||||||
| 813 | 'search_template' => { | ||||||||||||||||||||
| 814 | body => { required => 1 }, | ||||||||||||||||||||
| 815 | doc => "search-template", | ||||||||||||||||||||
| 816 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 817 | paths => [ | ||||||||||||||||||||
| 818 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 819 | "{type}", "_search", | ||||||||||||||||||||
| 820 | "template", | ||||||||||||||||||||
| 821 | ], | ||||||||||||||||||||
| 822 | [ { index => 0 }, "{index}", "_search", "template" ], | ||||||||||||||||||||
| 823 | [ {}, "_search", "template" ], | ||||||||||||||||||||
| 824 | ], | ||||||||||||||||||||
| 825 | qs => { | ||||||||||||||||||||
| 826 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 827 | error_trace => "boolean", | ||||||||||||||||||||
| 828 | expand_wildcards => "enum", | ||||||||||||||||||||
| 829 | explain => "boolean", | ||||||||||||||||||||
| 830 | filter_path => "list", | ||||||||||||||||||||
| 831 | human => "boolean", | ||||||||||||||||||||
| 832 | ignore_throttled => "boolean", | ||||||||||||||||||||
| 833 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 834 | preference => "string", | ||||||||||||||||||||
| 835 | profile => "boolean", | ||||||||||||||||||||
| 836 | rest_total_hits_as_int => "boolean", | ||||||||||||||||||||
| 837 | routing => "list", | ||||||||||||||||||||
| 838 | scroll => "time", | ||||||||||||||||||||
| 839 | search_type => "enum", | ||||||||||||||||||||
| 840 | typed_keys => "boolean", | ||||||||||||||||||||
| 841 | }, | ||||||||||||||||||||
| 842 | }, | ||||||||||||||||||||
| 843 | |||||||||||||||||||||
| 844 | 'termvectors' => { | ||||||||||||||||||||
| 845 | body => {}, | ||||||||||||||||||||
| 846 | doc => "docs-termvectors", | ||||||||||||||||||||
| 847 | parts => { | ||||||||||||||||||||
| 848 | id => {}, | ||||||||||||||||||||
| 849 | index => { required => 1 }, | ||||||||||||||||||||
| 850 | type => { required => 1 } | ||||||||||||||||||||
| 851 | }, | ||||||||||||||||||||
| 852 | paths => [ | ||||||||||||||||||||
| 853 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 854 | "{type}", "{id}", | ||||||||||||||||||||
| 855 | "_termvectors", | ||||||||||||||||||||
| 856 | ], | ||||||||||||||||||||
| 857 | [ { index => 0, type => 1 }, "{index}", "{type}", | ||||||||||||||||||||
| 858 | "_termvectors" | ||||||||||||||||||||
| 859 | ], | ||||||||||||||||||||
| 860 | ], | ||||||||||||||||||||
| 861 | qs => { | ||||||||||||||||||||
| 862 | error_trace => "boolean", | ||||||||||||||||||||
| 863 | field_statistics => "boolean", | ||||||||||||||||||||
| 864 | fields => "list", | ||||||||||||||||||||
| 865 | filter_path => "list", | ||||||||||||||||||||
| 866 | human => "boolean", | ||||||||||||||||||||
| 867 | offsets => "boolean", | ||||||||||||||||||||
| 868 | parent => "string", | ||||||||||||||||||||
| 869 | payloads => "boolean", | ||||||||||||||||||||
| 870 | positions => "boolean", | ||||||||||||||||||||
| 871 | preference => "string", | ||||||||||||||||||||
| 872 | realtime => "boolean", | ||||||||||||||||||||
| 873 | routing => "string", | ||||||||||||||||||||
| 874 | term_statistics => "boolean", | ||||||||||||||||||||
| 875 | version => "number", | ||||||||||||||||||||
| 876 | version_type => "enum", | ||||||||||||||||||||
| 877 | }, | ||||||||||||||||||||
| 878 | }, | ||||||||||||||||||||
| 879 | |||||||||||||||||||||
| 880 | 'update' => { | ||||||||||||||||||||
| 881 | body => { required => 1 }, | ||||||||||||||||||||
| 882 | doc => "docs-update", | ||||||||||||||||||||
| 883 | method => "POST", | ||||||||||||||||||||
| 884 | parts => { | ||||||||||||||||||||
| 885 | id => { required => 1 }, | ||||||||||||||||||||
| 886 | index => { required => 1 }, | ||||||||||||||||||||
| 887 | type => { required => 1 }, | ||||||||||||||||||||
| 888 | }, | ||||||||||||||||||||
| 889 | paths => [ | ||||||||||||||||||||
| 890 | [ { id => 2, index => 0, type => 1 }, | ||||||||||||||||||||
| 891 | "{index}", "{type}", "{id}", "_update", | ||||||||||||||||||||
| 892 | ], | ||||||||||||||||||||
| 893 | ], | ||||||||||||||||||||
| 894 | qs => { | ||||||||||||||||||||
| 895 | _source => "list", | ||||||||||||||||||||
| 896 | _source_excludes => "list", | ||||||||||||||||||||
| 897 | _source_includes => "list", | ||||||||||||||||||||
| 898 | error_trace => "boolean", | ||||||||||||||||||||
| 899 | fields => "list", | ||||||||||||||||||||
| 900 | filter_path => "list", | ||||||||||||||||||||
| 901 | human => "boolean", | ||||||||||||||||||||
| 902 | if_primary_term => "number", | ||||||||||||||||||||
| 903 | if_seq_no => "number", | ||||||||||||||||||||
| 904 | lang => "string", | ||||||||||||||||||||
| 905 | parent => "string", | ||||||||||||||||||||
| 906 | refresh => "enum", | ||||||||||||||||||||
| 907 | retry_on_conflict => "number", | ||||||||||||||||||||
| 908 | routing => "string", | ||||||||||||||||||||
| 909 | timeout => "time", | ||||||||||||||||||||
| 910 | version => "number", | ||||||||||||||||||||
| 911 | version_type => "enum", | ||||||||||||||||||||
| 912 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 913 | }, | ||||||||||||||||||||
| 914 | }, | ||||||||||||||||||||
| 915 | |||||||||||||||||||||
| 916 | 'update_by_query' => { | ||||||||||||||||||||
| 917 | body => {}, | ||||||||||||||||||||
| 918 | doc => "docs-update-by-query", | ||||||||||||||||||||
| 919 | method => "POST", | ||||||||||||||||||||
| 920 | parts => { | ||||||||||||||||||||
| 921 | index => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 922 | type => { multi => 1 } | ||||||||||||||||||||
| 923 | }, | ||||||||||||||||||||
| 924 | paths => [ | ||||||||||||||||||||
| 925 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 926 | "{type}", "_update_by_query", | ||||||||||||||||||||
| 927 | ], | ||||||||||||||||||||
| 928 | [ { index => 0 }, "{index}", "_update_by_query" ], | ||||||||||||||||||||
| 929 | ], | ||||||||||||||||||||
| 930 | qs => { | ||||||||||||||||||||
| 931 | _source => "list", | ||||||||||||||||||||
| 932 | _source_excludes => "list", | ||||||||||||||||||||
| 933 | _source_includes => "list", | ||||||||||||||||||||
| 934 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 935 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 936 | analyzer => "string", | ||||||||||||||||||||
| 937 | conflicts => "enum", | ||||||||||||||||||||
| 938 | default_operator => "enum", | ||||||||||||||||||||
| 939 | df => "string", | ||||||||||||||||||||
| 940 | error_trace => "boolean", | ||||||||||||||||||||
| 941 | expand_wildcards => "enum", | ||||||||||||||||||||
| 942 | filter_path => "list", | ||||||||||||||||||||
| 943 | from => "number", | ||||||||||||||||||||
| 944 | human => "boolean", | ||||||||||||||||||||
| 945 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 946 | lenient => "boolean", | ||||||||||||||||||||
| 947 | pipeline => "string", | ||||||||||||||||||||
| 948 | preference => "string", | ||||||||||||||||||||
| 949 | q => "string", | ||||||||||||||||||||
| 950 | refresh => "boolean", | ||||||||||||||||||||
| 951 | request_cache => "boolean", | ||||||||||||||||||||
| 952 | requests_per_second => "number", | ||||||||||||||||||||
| 953 | routing => "list", | ||||||||||||||||||||
| 954 | scroll => "time", | ||||||||||||||||||||
| 955 | scroll_size => "number", | ||||||||||||||||||||
| 956 | search_timeout => "time", | ||||||||||||||||||||
| 957 | search_type => "enum", | ||||||||||||||||||||
| 958 | size => "number", | ||||||||||||||||||||
| 959 | slices => "number", | ||||||||||||||||||||
| 960 | sort => "list", | ||||||||||||||||||||
| 961 | stats => "list", | ||||||||||||||||||||
| 962 | terminate_after => "number", | ||||||||||||||||||||
| 963 | timeout => "time", | ||||||||||||||||||||
| 964 | version => "boolean", | ||||||||||||||||||||
| 965 | version_type => "boolean", | ||||||||||||||||||||
| 966 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 967 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 968 | }, | ||||||||||||||||||||
| 969 | }, | ||||||||||||||||||||
| 970 | |||||||||||||||||||||
| 971 | 'update_by_query_rethrottle' => { | ||||||||||||||||||||
| 972 | doc => "docs-update-by-query", | ||||||||||||||||||||
| 973 | method => "POST", | ||||||||||||||||||||
| 974 | parts => { task_id => { required => 1 } }, | ||||||||||||||||||||
| 975 | paths => [ | ||||||||||||||||||||
| 976 | [ { task_id => 1 }, "_update_by_query", | ||||||||||||||||||||
| 977 | "{task_id}", "_rethrottle", | ||||||||||||||||||||
| 978 | ], | ||||||||||||||||||||
| 979 | ], | ||||||||||||||||||||
| 980 | qs => { | ||||||||||||||||||||
| 981 | error_trace => "boolean", | ||||||||||||||||||||
| 982 | filter_path => "list", | ||||||||||||||||||||
| 983 | human => "boolean", | ||||||||||||||||||||
| 984 | requests_per_second => "number", | ||||||||||||||||||||
| 985 | }, | ||||||||||||||||||||
| 986 | }, | ||||||||||||||||||||
| 987 | |||||||||||||||||||||
| 988 | 'cat.aliases' => { | ||||||||||||||||||||
| 989 | doc => "cat-alias", | ||||||||||||||||||||
| 990 | parts => { name => { multi => 1 } }, | ||||||||||||||||||||
| 991 | paths => [ | ||||||||||||||||||||
| 992 | [ { name => 2 }, "_cat", "aliases", "{name}" ], | ||||||||||||||||||||
| 993 | [ {}, "_cat", "aliases" ], | ||||||||||||||||||||
| 994 | ], | ||||||||||||||||||||
| 995 | qs => { | ||||||||||||||||||||
| 996 | error_trace => "boolean", | ||||||||||||||||||||
| 997 | filter_path => "list", | ||||||||||||||||||||
| 998 | format => "string", | ||||||||||||||||||||
| 999 | h => "list", | ||||||||||||||||||||
| 1000 | help => "boolean", | ||||||||||||||||||||
| 1001 | human => "boolean", | ||||||||||||||||||||
| 1002 | local => "boolean", | ||||||||||||||||||||
| 1003 | master_timeout => "time", | ||||||||||||||||||||
| 1004 | s => "list", | ||||||||||||||||||||
| 1005 | v => "boolean", | ||||||||||||||||||||
| 1006 | }, | ||||||||||||||||||||
| 1007 | }, | ||||||||||||||||||||
| 1008 | |||||||||||||||||||||
| 1009 | 'cat.allocation' => { | ||||||||||||||||||||
| 1010 | doc => "cat-allocation", | ||||||||||||||||||||
| 1011 | parts => { node_id => { multi => 1 } }, | ||||||||||||||||||||
| 1012 | paths => [ | ||||||||||||||||||||
| 1013 | [ { node_id => 2 }, "_cat", "allocation", "{node_id}" ], | ||||||||||||||||||||
| 1014 | [ {}, "_cat", "allocation" ], | ||||||||||||||||||||
| 1015 | ], | ||||||||||||||||||||
| 1016 | qs => { | ||||||||||||||||||||
| 1017 | bytes => "enum", | ||||||||||||||||||||
| 1018 | error_trace => "boolean", | ||||||||||||||||||||
| 1019 | filter_path => "list", | ||||||||||||||||||||
| 1020 | format => "string", | ||||||||||||||||||||
| 1021 | h => "list", | ||||||||||||||||||||
| 1022 | help => "boolean", | ||||||||||||||||||||
| 1023 | human => "boolean", | ||||||||||||||||||||
| 1024 | local => "boolean", | ||||||||||||||||||||
| 1025 | master_timeout => "time", | ||||||||||||||||||||
| 1026 | s => "list", | ||||||||||||||||||||
| 1027 | v => "boolean", | ||||||||||||||||||||
| 1028 | }, | ||||||||||||||||||||
| 1029 | }, | ||||||||||||||||||||
| 1030 | |||||||||||||||||||||
| 1031 | 'cat.count' => { | ||||||||||||||||||||
| 1032 | doc => "cat-count", | ||||||||||||||||||||
| 1033 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1034 | paths => [ | ||||||||||||||||||||
| 1035 | [ { index => 2 }, "_cat", "count", "{index}" ], | ||||||||||||||||||||
| 1036 | [ {}, "_cat", "count" ], | ||||||||||||||||||||
| 1037 | ], | ||||||||||||||||||||
| 1038 | qs => { | ||||||||||||||||||||
| 1039 | error_trace => "boolean", | ||||||||||||||||||||
| 1040 | filter_path => "list", | ||||||||||||||||||||
| 1041 | format => "string", | ||||||||||||||||||||
| 1042 | h => "list", | ||||||||||||||||||||
| 1043 | help => "boolean", | ||||||||||||||||||||
| 1044 | human => "boolean", | ||||||||||||||||||||
| 1045 | local => "boolean", | ||||||||||||||||||||
| 1046 | master_timeout => "time", | ||||||||||||||||||||
| 1047 | s => "list", | ||||||||||||||||||||
| 1048 | v => "boolean", | ||||||||||||||||||||
| 1049 | }, | ||||||||||||||||||||
| 1050 | }, | ||||||||||||||||||||
| 1051 | |||||||||||||||||||||
| 1052 | 'cat.fielddata' => { | ||||||||||||||||||||
| 1053 | doc => "cat-fielddata", | ||||||||||||||||||||
| 1054 | parts => { fields => { multi => 1 } }, | ||||||||||||||||||||
| 1055 | paths => [ | ||||||||||||||||||||
| 1056 | [ { fields => 2 }, "_cat", "fielddata", "{fields}" ], | ||||||||||||||||||||
| 1057 | [ {}, "_cat", "fielddata" ], | ||||||||||||||||||||
| 1058 | ], | ||||||||||||||||||||
| 1059 | qs => { | ||||||||||||||||||||
| 1060 | bytes => "enum", | ||||||||||||||||||||
| 1061 | error_trace => "boolean", | ||||||||||||||||||||
| 1062 | filter_path => "list", | ||||||||||||||||||||
| 1063 | format => "string", | ||||||||||||||||||||
| 1064 | h => "list", | ||||||||||||||||||||
| 1065 | help => "boolean", | ||||||||||||||||||||
| 1066 | human => "boolean", | ||||||||||||||||||||
| 1067 | local => "boolean", | ||||||||||||||||||||
| 1068 | master_timeout => "time", | ||||||||||||||||||||
| 1069 | s => "list", | ||||||||||||||||||||
| 1070 | v => "boolean", | ||||||||||||||||||||
| 1071 | }, | ||||||||||||||||||||
| 1072 | }, | ||||||||||||||||||||
| 1073 | |||||||||||||||||||||
| 1074 | 'cat.health' => { | ||||||||||||||||||||
| 1075 | doc => "cat-health", | ||||||||||||||||||||
| 1076 | parts => {}, | ||||||||||||||||||||
| 1077 | paths => [ [ {}, "_cat", "health" ] ], | ||||||||||||||||||||
| 1078 | qs => { | ||||||||||||||||||||
| 1079 | error_trace => "boolean", | ||||||||||||||||||||
| 1080 | filter_path => "list", | ||||||||||||||||||||
| 1081 | format => "string", | ||||||||||||||||||||
| 1082 | h => "list", | ||||||||||||||||||||
| 1083 | help => "boolean", | ||||||||||||||||||||
| 1084 | human => "boolean", | ||||||||||||||||||||
| 1085 | local => "boolean", | ||||||||||||||||||||
| 1086 | master_timeout => "time", | ||||||||||||||||||||
| 1087 | s => "list", | ||||||||||||||||||||
| 1088 | ts => "boolean", | ||||||||||||||||||||
| 1089 | v => "boolean", | ||||||||||||||||||||
| 1090 | }, | ||||||||||||||||||||
| 1091 | }, | ||||||||||||||||||||
| 1092 | |||||||||||||||||||||
| 1093 | 'cat.help' => { | ||||||||||||||||||||
| 1094 | doc => "cat", | ||||||||||||||||||||
| 1095 | parts => {}, | ||||||||||||||||||||
| 1096 | paths => [ [ {}, "_cat" ] ], | ||||||||||||||||||||
| 1097 | qs => { | ||||||||||||||||||||
| 1098 | error_trace => "boolean", | ||||||||||||||||||||
| 1099 | filter_path => "list", | ||||||||||||||||||||
| 1100 | help => "boolean", | ||||||||||||||||||||
| 1101 | human => "boolean", | ||||||||||||||||||||
| 1102 | s => "list", | ||||||||||||||||||||
| 1103 | }, | ||||||||||||||||||||
| 1104 | }, | ||||||||||||||||||||
| 1105 | |||||||||||||||||||||
| 1106 | 'cat.indices' => { | ||||||||||||||||||||
| 1107 | doc => "cat-indices", | ||||||||||||||||||||
| 1108 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1109 | paths => [ | ||||||||||||||||||||
| 1110 | [ { index => 2 }, "_cat", "indices", "{index}" ], | ||||||||||||||||||||
| 1111 | [ {}, "_cat", "indices" ], | ||||||||||||||||||||
| 1112 | ], | ||||||||||||||||||||
| 1113 | qs => { | ||||||||||||||||||||
| 1114 | bytes => "enum", | ||||||||||||||||||||
| 1115 | error_trace => "boolean", | ||||||||||||||||||||
| 1116 | filter_path => "list", | ||||||||||||||||||||
| 1117 | format => "string", | ||||||||||||||||||||
| 1118 | h => "list", | ||||||||||||||||||||
| 1119 | health => "enum", | ||||||||||||||||||||
| 1120 | help => "boolean", | ||||||||||||||||||||
| 1121 | human => "boolean", | ||||||||||||||||||||
| 1122 | local => "boolean", | ||||||||||||||||||||
| 1123 | master_timeout => "time", | ||||||||||||||||||||
| 1124 | pri => "boolean", | ||||||||||||||||||||
| 1125 | s => "list", | ||||||||||||||||||||
| 1126 | v => "boolean", | ||||||||||||||||||||
| 1127 | }, | ||||||||||||||||||||
| 1128 | }, | ||||||||||||||||||||
| 1129 | |||||||||||||||||||||
| 1130 | 'cat.master' => { | ||||||||||||||||||||
| 1131 | doc => "cat-master", | ||||||||||||||||||||
| 1132 | parts => {}, | ||||||||||||||||||||
| 1133 | paths => [ [ {}, "_cat", "master" ] ], | ||||||||||||||||||||
| 1134 | qs => { | ||||||||||||||||||||
| 1135 | error_trace => "boolean", | ||||||||||||||||||||
| 1136 | filter_path => "list", | ||||||||||||||||||||
| 1137 | format => "string", | ||||||||||||||||||||
| 1138 | h => "list", | ||||||||||||||||||||
| 1139 | help => "boolean", | ||||||||||||||||||||
| 1140 | human => "boolean", | ||||||||||||||||||||
| 1141 | local => "boolean", | ||||||||||||||||||||
| 1142 | master_timeout => "time", | ||||||||||||||||||||
| 1143 | s => "list", | ||||||||||||||||||||
| 1144 | v => "boolean", | ||||||||||||||||||||
| 1145 | }, | ||||||||||||||||||||
| 1146 | }, | ||||||||||||||||||||
| 1147 | |||||||||||||||||||||
| 1148 | 'cat.nodeattrs' => { | ||||||||||||||||||||
| 1149 | doc => "cat-nodeattrs", | ||||||||||||||||||||
| 1150 | parts => {}, | ||||||||||||||||||||
| 1151 | paths => [ [ {}, "_cat", "nodeattrs" ] ], | ||||||||||||||||||||
| 1152 | qs => { | ||||||||||||||||||||
| 1153 | error_trace => "boolean", | ||||||||||||||||||||
| 1154 | filter_path => "list", | ||||||||||||||||||||
| 1155 | format => "string", | ||||||||||||||||||||
| 1156 | h => "list", | ||||||||||||||||||||
| 1157 | help => "boolean", | ||||||||||||||||||||
| 1158 | human => "boolean", | ||||||||||||||||||||
| 1159 | local => "boolean", | ||||||||||||||||||||
| 1160 | master_timeout => "time", | ||||||||||||||||||||
| 1161 | s => "list", | ||||||||||||||||||||
| 1162 | v => "boolean", | ||||||||||||||||||||
| 1163 | }, | ||||||||||||||||||||
| 1164 | }, | ||||||||||||||||||||
| 1165 | |||||||||||||||||||||
| 1166 | 'cat.nodes' => { | ||||||||||||||||||||
| 1167 | doc => "cat-nodes", | ||||||||||||||||||||
| 1168 | parts => {}, | ||||||||||||||||||||
| 1169 | paths => [ [ {}, "_cat", "nodes" ] ], | ||||||||||||||||||||
| 1170 | qs => { | ||||||||||||||||||||
| 1171 | error_trace => "boolean", | ||||||||||||||||||||
| 1172 | filter_path => "list", | ||||||||||||||||||||
| 1173 | format => "string", | ||||||||||||||||||||
| 1174 | full_id => "boolean", | ||||||||||||||||||||
| 1175 | h => "list", | ||||||||||||||||||||
| 1176 | help => "boolean", | ||||||||||||||||||||
| 1177 | human => "boolean", | ||||||||||||||||||||
| 1178 | local => "boolean", | ||||||||||||||||||||
| 1179 | master_timeout => "time", | ||||||||||||||||||||
| 1180 | s => "list", | ||||||||||||||||||||
| 1181 | v => "boolean", | ||||||||||||||||||||
| 1182 | }, | ||||||||||||||||||||
| 1183 | }, | ||||||||||||||||||||
| 1184 | |||||||||||||||||||||
| 1185 | 'cat.pending_tasks' => { | ||||||||||||||||||||
| 1186 | doc => "cat-pending-tasks", | ||||||||||||||||||||
| 1187 | parts => {}, | ||||||||||||||||||||
| 1188 | paths => [ [ {}, "_cat", "pending_tasks" ] ], | ||||||||||||||||||||
| 1189 | qs => { | ||||||||||||||||||||
| 1190 | error_trace => "boolean", | ||||||||||||||||||||
| 1191 | filter_path => "list", | ||||||||||||||||||||
| 1192 | format => "string", | ||||||||||||||||||||
| 1193 | h => "list", | ||||||||||||||||||||
| 1194 | help => "boolean", | ||||||||||||||||||||
| 1195 | human => "boolean", | ||||||||||||||||||||
| 1196 | local => "boolean", | ||||||||||||||||||||
| 1197 | master_timeout => "time", | ||||||||||||||||||||
| 1198 | s => "list", | ||||||||||||||||||||
| 1199 | v => "boolean", | ||||||||||||||||||||
| 1200 | }, | ||||||||||||||||||||
| 1201 | }, | ||||||||||||||||||||
| 1202 | |||||||||||||||||||||
| 1203 | 'cat.plugins' => { | ||||||||||||||||||||
| 1204 | doc => "cat-plugins", | ||||||||||||||||||||
| 1205 | parts => {}, | ||||||||||||||||||||
| 1206 | paths => [ [ {}, "_cat", "plugins" ] ], | ||||||||||||||||||||
| 1207 | qs => { | ||||||||||||||||||||
| 1208 | error_trace => "boolean", | ||||||||||||||||||||
| 1209 | filter_path => "list", | ||||||||||||||||||||
| 1210 | format => "string", | ||||||||||||||||||||
| 1211 | h => "list", | ||||||||||||||||||||
| 1212 | help => "boolean", | ||||||||||||||||||||
| 1213 | human => "boolean", | ||||||||||||||||||||
| 1214 | local => "boolean", | ||||||||||||||||||||
| 1215 | master_timeout => "time", | ||||||||||||||||||||
| 1216 | s => "list", | ||||||||||||||||||||
| 1217 | v => "boolean", | ||||||||||||||||||||
| 1218 | }, | ||||||||||||||||||||
| 1219 | }, | ||||||||||||||||||||
| 1220 | |||||||||||||||||||||
| 1221 | 'cat.recovery' => { | ||||||||||||||||||||
| 1222 | doc => "cat-recovery", | ||||||||||||||||||||
| 1223 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1224 | paths => [ | ||||||||||||||||||||
| 1225 | [ { index => 2 }, "_cat", "recovery", "{index}" ], | ||||||||||||||||||||
| 1226 | [ {}, "_cat", "recovery" ], | ||||||||||||||||||||
| 1227 | ], | ||||||||||||||||||||
| 1228 | qs => { | ||||||||||||||||||||
| 1229 | bytes => "enum", | ||||||||||||||||||||
| 1230 | error_trace => "boolean", | ||||||||||||||||||||
| 1231 | filter_path => "list", | ||||||||||||||||||||
| 1232 | format => "string", | ||||||||||||||||||||
| 1233 | h => "list", | ||||||||||||||||||||
| 1234 | help => "boolean", | ||||||||||||||||||||
| 1235 | human => "boolean", | ||||||||||||||||||||
| 1236 | master_timeout => "time", | ||||||||||||||||||||
| 1237 | s => "list", | ||||||||||||||||||||
| 1238 | v => "boolean", | ||||||||||||||||||||
| 1239 | }, | ||||||||||||||||||||
| 1240 | }, | ||||||||||||||||||||
| 1241 | |||||||||||||||||||||
| 1242 | 'cat.repositories' => { | ||||||||||||||||||||
| 1243 | doc => "cat-repositories", | ||||||||||||||||||||
| 1244 | parts => {}, | ||||||||||||||||||||
| 1245 | paths => [ [ {}, "_cat", "repositories" ] ], | ||||||||||||||||||||
| 1246 | qs => { | ||||||||||||||||||||
| 1247 | error_trace => "boolean", | ||||||||||||||||||||
| 1248 | filter_path => "list", | ||||||||||||||||||||
| 1249 | format => "string", | ||||||||||||||||||||
| 1250 | h => "list", | ||||||||||||||||||||
| 1251 | help => "boolean", | ||||||||||||||||||||
| 1252 | human => "boolean", | ||||||||||||||||||||
| 1253 | local => "boolean", | ||||||||||||||||||||
| 1254 | master_timeout => "time", | ||||||||||||||||||||
| 1255 | s => "list", | ||||||||||||||||||||
| 1256 | v => "boolean", | ||||||||||||||||||||
| 1257 | }, | ||||||||||||||||||||
| 1258 | }, | ||||||||||||||||||||
| 1259 | |||||||||||||||||||||
| 1260 | 'cat.segments' => { | ||||||||||||||||||||
| 1261 | doc => "cat-segments", | ||||||||||||||||||||
| 1262 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1263 | paths => [ | ||||||||||||||||||||
| 1264 | [ { index => 2 }, "_cat", "segments", "{index}" ], | ||||||||||||||||||||
| 1265 | [ {}, "_cat", "segments" ], | ||||||||||||||||||||
| 1266 | ], | ||||||||||||||||||||
| 1267 | qs => { | ||||||||||||||||||||
| 1268 | bytes => "enum", | ||||||||||||||||||||
| 1269 | error_trace => "boolean", | ||||||||||||||||||||
| 1270 | filter_path => "list", | ||||||||||||||||||||
| 1271 | format => "string", | ||||||||||||||||||||
| 1272 | h => "list", | ||||||||||||||||||||
| 1273 | help => "boolean", | ||||||||||||||||||||
| 1274 | human => "boolean", | ||||||||||||||||||||
| 1275 | s => "list", | ||||||||||||||||||||
| 1276 | v => "boolean", | ||||||||||||||||||||
| 1277 | }, | ||||||||||||||||||||
| 1278 | }, | ||||||||||||||||||||
| 1279 | |||||||||||||||||||||
| 1280 | 'cat.shards' => { | ||||||||||||||||||||
| 1281 | doc => "cat-shards", | ||||||||||||||||||||
| 1282 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1283 | paths => [ | ||||||||||||||||||||
| 1284 | [ { index => 2 }, "_cat", "shards", "{index}" ], | ||||||||||||||||||||
| 1285 | [ {}, "_cat", "shards" ], | ||||||||||||||||||||
| 1286 | ], | ||||||||||||||||||||
| 1287 | qs => { | ||||||||||||||||||||
| 1288 | bytes => "enum", | ||||||||||||||||||||
| 1289 | error_trace => "boolean", | ||||||||||||||||||||
| 1290 | filter_path => "list", | ||||||||||||||||||||
| 1291 | format => "string", | ||||||||||||||||||||
| 1292 | h => "list", | ||||||||||||||||||||
| 1293 | help => "boolean", | ||||||||||||||||||||
| 1294 | human => "boolean", | ||||||||||||||||||||
| 1295 | local => "boolean", | ||||||||||||||||||||
| 1296 | master_timeout => "time", | ||||||||||||||||||||
| 1297 | s => "list", | ||||||||||||||||||||
| 1298 | v => "boolean", | ||||||||||||||||||||
| 1299 | }, | ||||||||||||||||||||
| 1300 | }, | ||||||||||||||||||||
| 1301 | |||||||||||||||||||||
| 1302 | 'cat.snapshots' => { | ||||||||||||||||||||
| 1303 | doc => "cat-snapshots", | ||||||||||||||||||||
| 1304 | parts => { repository => { multi => 1 } }, | ||||||||||||||||||||
| 1305 | paths => [ | ||||||||||||||||||||
| 1306 | [ { repository => 2 }, "_cat", "snapshots", "{repository}" ], | ||||||||||||||||||||
| 1307 | [ {}, "_cat", "snapshots" ], | ||||||||||||||||||||
| 1308 | ], | ||||||||||||||||||||
| 1309 | qs => { | ||||||||||||||||||||
| 1310 | error_trace => "boolean", | ||||||||||||||||||||
| 1311 | filter_path => "list", | ||||||||||||||||||||
| 1312 | format => "string", | ||||||||||||||||||||
| 1313 | h => "list", | ||||||||||||||||||||
| 1314 | help => "boolean", | ||||||||||||||||||||
| 1315 | human => "boolean", | ||||||||||||||||||||
| 1316 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1317 | master_timeout => "time", | ||||||||||||||||||||
| 1318 | s => "list", | ||||||||||||||||||||
| 1319 | v => "boolean", | ||||||||||||||||||||
| 1320 | }, | ||||||||||||||||||||
| 1321 | }, | ||||||||||||||||||||
| 1322 | |||||||||||||||||||||
| 1323 | 'cat.tasks' => { | ||||||||||||||||||||
| 1324 | doc => "tasks", | ||||||||||||||||||||
| 1325 | parts => {}, | ||||||||||||||||||||
| 1326 | paths => [ [ {}, "_cat", "tasks" ] ], | ||||||||||||||||||||
| 1327 | qs => { | ||||||||||||||||||||
| 1328 | actions => "list", | ||||||||||||||||||||
| 1329 | detailed => "boolean", | ||||||||||||||||||||
| 1330 | error_trace => "boolean", | ||||||||||||||||||||
| 1331 | filter_path => "list", | ||||||||||||||||||||
| 1332 | format => "string", | ||||||||||||||||||||
| 1333 | h => "list", | ||||||||||||||||||||
| 1334 | help => "boolean", | ||||||||||||||||||||
| 1335 | human => "boolean", | ||||||||||||||||||||
| 1336 | node_id => "list", | ||||||||||||||||||||
| 1337 | parent_task => "number", | ||||||||||||||||||||
| 1338 | s => "list", | ||||||||||||||||||||
| 1339 | v => "boolean", | ||||||||||||||||||||
| 1340 | }, | ||||||||||||||||||||
| 1341 | }, | ||||||||||||||||||||
| 1342 | |||||||||||||||||||||
| 1343 | 'cat.templates' => { | ||||||||||||||||||||
| 1344 | doc => "cat-templates", | ||||||||||||||||||||
| 1345 | parts => { name => {} }, | ||||||||||||||||||||
| 1346 | paths => [ | ||||||||||||||||||||
| 1347 | [ { name => 2 }, "_cat", "templates", "{name}" ], | ||||||||||||||||||||
| 1348 | [ {}, "_cat", "templates" ], | ||||||||||||||||||||
| 1349 | ], | ||||||||||||||||||||
| 1350 | qs => { | ||||||||||||||||||||
| 1351 | error_trace => "boolean", | ||||||||||||||||||||
| 1352 | filter_path => "list", | ||||||||||||||||||||
| 1353 | format => "string", | ||||||||||||||||||||
| 1354 | h => "list", | ||||||||||||||||||||
| 1355 | help => "boolean", | ||||||||||||||||||||
| 1356 | human => "boolean", | ||||||||||||||||||||
| 1357 | local => "boolean", | ||||||||||||||||||||
| 1358 | master_timeout => "time", | ||||||||||||||||||||
| 1359 | s => "list", | ||||||||||||||||||||
| 1360 | v => "boolean", | ||||||||||||||||||||
| 1361 | }, | ||||||||||||||||||||
| 1362 | }, | ||||||||||||||||||||
| 1363 | |||||||||||||||||||||
| 1364 | 'cat.thread_pool' => { | ||||||||||||||||||||
| 1365 | doc => "cat-thread-pool", | ||||||||||||||||||||
| 1366 | parts => { thread_pool_patterns => { multi => 1 } }, | ||||||||||||||||||||
| 1367 | paths => [ | ||||||||||||||||||||
| 1368 | [ { thread_pool_patterns => 2 }, "_cat", | ||||||||||||||||||||
| 1369 | "thread_pool", "{thread_pool_patterns}", | ||||||||||||||||||||
| 1370 | ], | ||||||||||||||||||||
| 1371 | [ {}, "_cat", "thread_pool" ], | ||||||||||||||||||||
| 1372 | ], | ||||||||||||||||||||
| 1373 | qs => { | ||||||||||||||||||||
| 1374 | error_trace => "boolean", | ||||||||||||||||||||
| 1375 | filter_path => "list", | ||||||||||||||||||||
| 1376 | format => "string", | ||||||||||||||||||||
| 1377 | h => "list", | ||||||||||||||||||||
| 1378 | help => "boolean", | ||||||||||||||||||||
| 1379 | human => "boolean", | ||||||||||||||||||||
| 1380 | local => "boolean", | ||||||||||||||||||||
| 1381 | master_timeout => "time", | ||||||||||||||||||||
| 1382 | s => "list", | ||||||||||||||||||||
| 1383 | size => "enum", | ||||||||||||||||||||
| 1384 | v => "boolean", | ||||||||||||||||||||
| 1385 | }, | ||||||||||||||||||||
| 1386 | }, | ||||||||||||||||||||
| 1387 | |||||||||||||||||||||
| 1388 | 'ccr.delete_auto_follow_pattern' => { | ||||||||||||||||||||
| 1389 | doc => "ccr-delete-auto-follow-pattern", | ||||||||||||||||||||
| 1390 | method => "DELETE", | ||||||||||||||||||||
| 1391 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 1392 | paths => [ [ { name => 2 }, "_ccr", "auto_follow", "{name}" ] ], | ||||||||||||||||||||
| 1393 | qs => { | ||||||||||||||||||||
| 1394 | error_trace => "boolean", | ||||||||||||||||||||
| 1395 | filter_path => "list", | ||||||||||||||||||||
| 1396 | human => "boolean" | ||||||||||||||||||||
| 1397 | }, | ||||||||||||||||||||
| 1398 | }, | ||||||||||||||||||||
| 1399 | |||||||||||||||||||||
| 1400 | 'ccr.follow' => { | ||||||||||||||||||||
| 1401 | body => { required => 1 }, | ||||||||||||||||||||
| 1402 | doc => "ccr-put-follow", | ||||||||||||||||||||
| 1403 | method => "PUT", | ||||||||||||||||||||
| 1404 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1405 | paths => [ [ { index => 0 }, "{index}", "_ccr", "follow" ] ], | ||||||||||||||||||||
| 1406 | qs => { | ||||||||||||||||||||
| 1407 | error_trace => "boolean", | ||||||||||||||||||||
| 1408 | filter_path => "list", | ||||||||||||||||||||
| 1409 | human => "boolean", | ||||||||||||||||||||
| 1410 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 1411 | }, | ||||||||||||||||||||
| 1412 | }, | ||||||||||||||||||||
| 1413 | |||||||||||||||||||||
| 1414 | 'ccr.follow_info' => { | ||||||||||||||||||||
| 1415 | doc => "ccr-get-follow-info", | ||||||||||||||||||||
| 1416 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1417 | paths => [ [ { index => 0 }, "{index}", "_ccr", "info" ] ], | ||||||||||||||||||||
| 1418 | qs => { | ||||||||||||||||||||
| 1419 | error_trace => "boolean", | ||||||||||||||||||||
| 1420 | filter_path => "list", | ||||||||||||||||||||
| 1421 | human => "boolean" | ||||||||||||||||||||
| 1422 | }, | ||||||||||||||||||||
| 1423 | }, | ||||||||||||||||||||
| 1424 | |||||||||||||||||||||
| 1425 | 'ccr.follow_stats' => { | ||||||||||||||||||||
| 1426 | doc => "ccr-get-follow-stats", | ||||||||||||||||||||
| 1427 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1428 | paths => [ [ { index => 0 }, "{index}", "_ccr", "stats" ] ], | ||||||||||||||||||||
| 1429 | qs => { | ||||||||||||||||||||
| 1430 | error_trace => "boolean", | ||||||||||||||||||||
| 1431 | filter_path => "list", | ||||||||||||||||||||
| 1432 | human => "boolean" | ||||||||||||||||||||
| 1433 | }, | ||||||||||||||||||||
| 1434 | }, | ||||||||||||||||||||
| 1435 | |||||||||||||||||||||
| 1436 | 'ccr.forget_follower' => { | ||||||||||||||||||||
| 1437 | body => { required => 1 }, | ||||||||||||||||||||
| 1438 | doc => "", | ||||||||||||||||||||
| 1439 | method => "POST", | ||||||||||||||||||||
| 1440 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1441 | paths => [ [ { index => 0 }, "{index}", "_ccr", "forget_follower" ] ], | ||||||||||||||||||||
| 1442 | qs => { | ||||||||||||||||||||
| 1443 | error_trace => "boolean", | ||||||||||||||||||||
| 1444 | filter_path => "list", | ||||||||||||||||||||
| 1445 | human => "boolean" | ||||||||||||||||||||
| 1446 | }, | ||||||||||||||||||||
| 1447 | }, | ||||||||||||||||||||
| 1448 | |||||||||||||||||||||
| 1449 | 'ccr.get_auto_follow_pattern' => { | ||||||||||||||||||||
| 1450 | doc => "ccr-get-auto-follow-pattern", | ||||||||||||||||||||
| 1451 | parts => { name => {} }, | ||||||||||||||||||||
| 1452 | paths => [ | ||||||||||||||||||||
| 1453 | [ { name => 2 }, "_ccr", "auto_follow", "{name}" ], | ||||||||||||||||||||
| 1454 | [ {}, "_ccr", "auto_follow" ], | ||||||||||||||||||||
| 1455 | ], | ||||||||||||||||||||
| 1456 | qs => { | ||||||||||||||||||||
| 1457 | error_trace => "boolean", | ||||||||||||||||||||
| 1458 | filter_path => "list", | ||||||||||||||||||||
| 1459 | human => "boolean" | ||||||||||||||||||||
| 1460 | }, | ||||||||||||||||||||
| 1461 | }, | ||||||||||||||||||||
| 1462 | |||||||||||||||||||||
| 1463 | 'ccr.pause_follow' => { | ||||||||||||||||||||
| 1464 | doc => "ccr-post-pause-follow", | ||||||||||||||||||||
| 1465 | method => "POST", | ||||||||||||||||||||
| 1466 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1467 | paths => [ [ { index => 0 }, "{index}", "_ccr", "pause_follow" ] ], | ||||||||||||||||||||
| 1468 | qs => { | ||||||||||||||||||||
| 1469 | error_trace => "boolean", | ||||||||||||||||||||
| 1470 | filter_path => "list", | ||||||||||||||||||||
| 1471 | human => "boolean" | ||||||||||||||||||||
| 1472 | }, | ||||||||||||||||||||
| 1473 | }, | ||||||||||||||||||||
| 1474 | |||||||||||||||||||||
| 1475 | 'ccr.put_auto_follow_pattern' => { | ||||||||||||||||||||
| 1476 | body => { required => 1 }, | ||||||||||||||||||||
| 1477 | doc => "ccr-put-auto-follow-pattern", | ||||||||||||||||||||
| 1478 | method => "PUT", | ||||||||||||||||||||
| 1479 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 1480 | paths => [ [ { name => 2 }, "_ccr", "auto_follow", "{name}" ] ], | ||||||||||||||||||||
| 1481 | qs => { | ||||||||||||||||||||
| 1482 | error_trace => "boolean", | ||||||||||||||||||||
| 1483 | filter_path => "list", | ||||||||||||||||||||
| 1484 | human => "boolean" | ||||||||||||||||||||
| 1485 | }, | ||||||||||||||||||||
| 1486 | }, | ||||||||||||||||||||
| 1487 | |||||||||||||||||||||
| 1488 | 'ccr.resume_follow' => { | ||||||||||||||||||||
| 1489 | body => {}, | ||||||||||||||||||||
| 1490 | doc => "ccr-post-resume-follow", | ||||||||||||||||||||
| 1491 | method => "POST", | ||||||||||||||||||||
| 1492 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1493 | paths => [ [ { index => 0 }, "{index}", "_ccr", "resume_follow" ] ], | ||||||||||||||||||||
| 1494 | qs => { | ||||||||||||||||||||
| 1495 | error_trace => "boolean", | ||||||||||||||||||||
| 1496 | filter_path => "list", | ||||||||||||||||||||
| 1497 | human => "boolean" | ||||||||||||||||||||
| 1498 | }, | ||||||||||||||||||||
| 1499 | }, | ||||||||||||||||||||
| 1500 | |||||||||||||||||||||
| 1501 | 'ccr.stats' => { | ||||||||||||||||||||
| 1502 | doc => "ccr-get-stats", | ||||||||||||||||||||
| 1503 | parts => {}, | ||||||||||||||||||||
| 1504 | paths => [ [ {}, "_ccr", "stats" ] ], | ||||||||||||||||||||
| 1505 | qs => { | ||||||||||||||||||||
| 1506 | error_trace => "boolean", | ||||||||||||||||||||
| 1507 | filter_path => "list", | ||||||||||||||||||||
| 1508 | human => "boolean" | ||||||||||||||||||||
| 1509 | }, | ||||||||||||||||||||
| 1510 | }, | ||||||||||||||||||||
| 1511 | |||||||||||||||||||||
| 1512 | 'ccr.unfollow' => { | ||||||||||||||||||||
| 1513 | doc => "", | ||||||||||||||||||||
| 1514 | method => "POST", | ||||||||||||||||||||
| 1515 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1516 | paths => [ [ { index => 0 }, "{index}", "_ccr", "unfollow" ] ], | ||||||||||||||||||||
| 1517 | qs => { | ||||||||||||||||||||
| 1518 | error_trace => "boolean", | ||||||||||||||||||||
| 1519 | filter_path => "list", | ||||||||||||||||||||
| 1520 | human => "boolean" | ||||||||||||||||||||
| 1521 | }, | ||||||||||||||||||||
| 1522 | }, | ||||||||||||||||||||
| 1523 | |||||||||||||||||||||
| 1524 | 'cluster.allocation_explain' => { | ||||||||||||||||||||
| 1525 | body => {}, | ||||||||||||||||||||
| 1526 | doc => "cluster-allocation-explain", | ||||||||||||||||||||
| 1527 | parts => {}, | ||||||||||||||||||||
| 1528 | paths => [ [ {}, "_cluster", "allocation", "explain" ] ], | ||||||||||||||||||||
| 1529 | qs => { | ||||||||||||||||||||
| 1530 | error_trace => "boolean", | ||||||||||||||||||||
| 1531 | filter_path => "list", | ||||||||||||||||||||
| 1532 | human => "boolean", | ||||||||||||||||||||
| 1533 | include_disk_info => "boolean", | ||||||||||||||||||||
| 1534 | include_yes_decisions => "boolean", | ||||||||||||||||||||
| 1535 | }, | ||||||||||||||||||||
| 1536 | }, | ||||||||||||||||||||
| 1537 | |||||||||||||||||||||
| 1538 | 'cluster.get_settings' => { | ||||||||||||||||||||
| 1539 | doc => "cluster-update-settings", | ||||||||||||||||||||
| 1540 | parts => {}, | ||||||||||||||||||||
| 1541 | paths => [ [ {}, "_cluster", "settings" ] ], | ||||||||||||||||||||
| 1542 | qs => { | ||||||||||||||||||||
| 1543 | error_trace => "boolean", | ||||||||||||||||||||
| 1544 | filter_path => "list", | ||||||||||||||||||||
| 1545 | flat_settings => "boolean", | ||||||||||||||||||||
| 1546 | human => "boolean", | ||||||||||||||||||||
| 1547 | include_defaults => "boolean", | ||||||||||||||||||||
| 1548 | master_timeout => "time", | ||||||||||||||||||||
| 1549 | timeout => "time", | ||||||||||||||||||||
| 1550 | }, | ||||||||||||||||||||
| 1551 | }, | ||||||||||||||||||||
| 1552 | |||||||||||||||||||||
| 1553 | 'cluster.health' => { | ||||||||||||||||||||
| 1554 | doc => "cluster-health", | ||||||||||||||||||||
| 1555 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1556 | paths => [ | ||||||||||||||||||||
| 1557 | [ { index => 2 }, "_cluster", "health", "{index}" ], | ||||||||||||||||||||
| 1558 | [ {}, "_cluster", "health" ], | ||||||||||||||||||||
| 1559 | ], | ||||||||||||||||||||
| 1560 | qs => { | ||||||||||||||||||||
| 1561 | error_trace => "boolean", | ||||||||||||||||||||
| 1562 | filter_path => "list", | ||||||||||||||||||||
| 1563 | human => "boolean", | ||||||||||||||||||||
| 1564 | level => "enum", | ||||||||||||||||||||
| 1565 | local => "boolean", | ||||||||||||||||||||
| 1566 | master_timeout => "time", | ||||||||||||||||||||
| 1567 | timeout => "time", | ||||||||||||||||||||
| 1568 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 1569 | wait_for_events => "enum", | ||||||||||||||||||||
| 1570 | wait_for_no_initializing_shards => "boolean", | ||||||||||||||||||||
| 1571 | wait_for_no_relocating_shards => "boolean", | ||||||||||||||||||||
| 1572 | wait_for_nodes => "string", | ||||||||||||||||||||
| 1573 | wait_for_status => "enum", | ||||||||||||||||||||
| 1574 | }, | ||||||||||||||||||||
| 1575 | }, | ||||||||||||||||||||
| 1576 | |||||||||||||||||||||
| 1577 | 'cluster.pending_tasks' => { | ||||||||||||||||||||
| 1578 | doc => "cluster-pending", | ||||||||||||||||||||
| 1579 | parts => {}, | ||||||||||||||||||||
| 1580 | paths => [ [ {}, "_cluster", "pending_tasks" ] ], | ||||||||||||||||||||
| 1581 | qs => { | ||||||||||||||||||||
| 1582 | error_trace => "boolean", | ||||||||||||||||||||
| 1583 | filter_path => "list", | ||||||||||||||||||||
| 1584 | human => "boolean", | ||||||||||||||||||||
| 1585 | local => "boolean", | ||||||||||||||||||||
| 1586 | master_timeout => "time", | ||||||||||||||||||||
| 1587 | }, | ||||||||||||||||||||
| 1588 | }, | ||||||||||||||||||||
| 1589 | |||||||||||||||||||||
| 1590 | 'cluster.put_settings' => { | ||||||||||||||||||||
| 1591 | body => { required => 1 }, | ||||||||||||||||||||
| 1592 | doc => "cluster-update-settings", | ||||||||||||||||||||
| 1593 | method => "PUT", | ||||||||||||||||||||
| 1594 | parts => {}, | ||||||||||||||||||||
| 1595 | paths => [ [ {}, "_cluster", "settings" ] ], | ||||||||||||||||||||
| 1596 | qs => { | ||||||||||||||||||||
| 1597 | error_trace => "boolean", | ||||||||||||||||||||
| 1598 | filter_path => "list", | ||||||||||||||||||||
| 1599 | flat_settings => "boolean", | ||||||||||||||||||||
| 1600 | human => "boolean", | ||||||||||||||||||||
| 1601 | master_timeout => "time", | ||||||||||||||||||||
| 1602 | timeout => "time", | ||||||||||||||||||||
| 1603 | }, | ||||||||||||||||||||
| 1604 | }, | ||||||||||||||||||||
| 1605 | |||||||||||||||||||||
| 1606 | 'cluster.remote_info' => { | ||||||||||||||||||||
| 1607 | doc => "cluster-remote-info", | ||||||||||||||||||||
| 1608 | parts => {}, | ||||||||||||||||||||
| 1609 | paths => [ [ {}, "_remote", "info" ] ], | ||||||||||||||||||||
| 1610 | qs => { | ||||||||||||||||||||
| 1611 | error_trace => "boolean", | ||||||||||||||||||||
| 1612 | filter_path => "list", | ||||||||||||||||||||
| 1613 | human => "boolean" | ||||||||||||||||||||
| 1614 | }, | ||||||||||||||||||||
| 1615 | }, | ||||||||||||||||||||
| 1616 | |||||||||||||||||||||
| 1617 | 'cluster.reroute' => { | ||||||||||||||||||||
| 1618 | body => {}, | ||||||||||||||||||||
| 1619 | doc => "cluster-reroute", | ||||||||||||||||||||
| 1620 | method => "POST", | ||||||||||||||||||||
| 1621 | parts => {}, | ||||||||||||||||||||
| 1622 | paths => [ [ {}, "_cluster", "reroute" ] ], | ||||||||||||||||||||
| 1623 | qs => { | ||||||||||||||||||||
| 1624 | dry_run => "boolean", | ||||||||||||||||||||
| 1625 | error_trace => "boolean", | ||||||||||||||||||||
| 1626 | explain => "boolean", | ||||||||||||||||||||
| 1627 | filter_path => "list", | ||||||||||||||||||||
| 1628 | human => "boolean", | ||||||||||||||||||||
| 1629 | master_timeout => "time", | ||||||||||||||||||||
| 1630 | metric => "list", | ||||||||||||||||||||
| 1631 | retry_failed => "boolean", | ||||||||||||||||||||
| 1632 | timeout => "time", | ||||||||||||||||||||
| 1633 | }, | ||||||||||||||||||||
| 1634 | }, | ||||||||||||||||||||
| 1635 | |||||||||||||||||||||
| 1636 | 'cluster.state' => { | ||||||||||||||||||||
| 1637 | doc => "cluster-state", | ||||||||||||||||||||
| 1638 | parts => { index => { multi => 1 }, metric => { multi => 1 } }, | ||||||||||||||||||||
| 1639 | paths => [ | ||||||||||||||||||||
| 1640 | [ { index => 3, metric => 2 }, "_cluster", | ||||||||||||||||||||
| 1641 | "state", "{metric}", | ||||||||||||||||||||
| 1642 | "{index}", | ||||||||||||||||||||
| 1643 | ], | ||||||||||||||||||||
| 1644 | [ { metric => 2 }, "_cluster", "state", "{metric}" ], | ||||||||||||||||||||
| 1645 | [ {}, "_cluster", "state" ], | ||||||||||||||||||||
| 1646 | ], | ||||||||||||||||||||
| 1647 | qs => { | ||||||||||||||||||||
| 1648 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1649 | error_trace => "boolean", | ||||||||||||||||||||
| 1650 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1651 | filter_path => "list", | ||||||||||||||||||||
| 1652 | flat_settings => "boolean", | ||||||||||||||||||||
| 1653 | human => "boolean", | ||||||||||||||||||||
| 1654 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1655 | local => "boolean", | ||||||||||||||||||||
| 1656 | master_timeout => "time", | ||||||||||||||||||||
| 1657 | wait_for_metadata_version => "number", | ||||||||||||||||||||
| 1658 | wait_for_timeout => "time", | ||||||||||||||||||||
| 1659 | }, | ||||||||||||||||||||
| 1660 | }, | ||||||||||||||||||||
| 1661 | |||||||||||||||||||||
| 1662 | 'cluster.stats' => { | ||||||||||||||||||||
| 1663 | doc => "cluster-stats", | ||||||||||||||||||||
| 1664 | parts => { node_id => { multi => 1 } }, | ||||||||||||||||||||
| 1665 | paths => [ | ||||||||||||||||||||
| 1666 | [ { node_id => 3 }, "_cluster", "stats", "nodes", "{node_id}" ], | ||||||||||||||||||||
| 1667 | [ {}, "_cluster", "stats" ], | ||||||||||||||||||||
| 1668 | ], | ||||||||||||||||||||
| 1669 | qs => { | ||||||||||||||||||||
| 1670 | error_trace => "boolean", | ||||||||||||||||||||
| 1671 | filter_path => "list", | ||||||||||||||||||||
| 1672 | flat_settings => "boolean", | ||||||||||||||||||||
| 1673 | human => "boolean", | ||||||||||||||||||||
| 1674 | timeout => "time", | ||||||||||||||||||||
| 1675 | }, | ||||||||||||||||||||
| 1676 | }, | ||||||||||||||||||||
| 1677 | |||||||||||||||||||||
| 1678 | 'ilm.delete_lifecycle' => { | ||||||||||||||||||||
| 1679 | doc => "ilm-delete-lifecycle", | ||||||||||||||||||||
| 1680 | method => "DELETE", | ||||||||||||||||||||
| 1681 | parts => { policy => {} }, | ||||||||||||||||||||
| 1682 | paths => [ [ { policy => 2 }, "_ilm", "policy", "{policy}" ] ], | ||||||||||||||||||||
| 1683 | qs => { | ||||||||||||||||||||
| 1684 | error_trace => "boolean", | ||||||||||||||||||||
| 1685 | filter_path => "list", | ||||||||||||||||||||
| 1686 | human => "boolean" | ||||||||||||||||||||
| 1687 | }, | ||||||||||||||||||||
| 1688 | }, | ||||||||||||||||||||
| 1689 | |||||||||||||||||||||
| 1690 | 'ilm.explain_lifecycle' => { | ||||||||||||||||||||
| 1691 | doc => "ilm-explain-lifecycle", | ||||||||||||||||||||
| 1692 | parts => { index => {} }, | ||||||||||||||||||||
| 1693 | paths => [ [ { index => 0 }, "{index}", "_ilm", "explain" ] ], | ||||||||||||||||||||
| 1694 | qs => { | ||||||||||||||||||||
| 1695 | error_trace => "boolean", | ||||||||||||||||||||
| 1696 | filter_path => "list", | ||||||||||||||||||||
| 1697 | human => "boolean" | ||||||||||||||||||||
| 1698 | }, | ||||||||||||||||||||
| 1699 | }, | ||||||||||||||||||||
| 1700 | |||||||||||||||||||||
| 1701 | 'ilm.get_lifecycle' => { | ||||||||||||||||||||
| 1702 | doc => "ilm-get-lifecycle", | ||||||||||||||||||||
| 1703 | parts => { policy => {} }, | ||||||||||||||||||||
| 1704 | paths => [ | ||||||||||||||||||||
| 1705 | [ { policy => 2 }, "_ilm", "policy", "{policy}" ], | ||||||||||||||||||||
| 1706 | [ {}, "_ilm", "policy" ], | ||||||||||||||||||||
| 1707 | ], | ||||||||||||||||||||
| 1708 | qs => { | ||||||||||||||||||||
| 1709 | error_trace => "boolean", | ||||||||||||||||||||
| 1710 | filter_path => "list", | ||||||||||||||||||||
| 1711 | human => "boolean" | ||||||||||||||||||||
| 1712 | }, | ||||||||||||||||||||
| 1713 | }, | ||||||||||||||||||||
| 1714 | |||||||||||||||||||||
| 1715 | 'ilm.get_status' => { | ||||||||||||||||||||
| 1716 | doc => "ilm-get-status", | ||||||||||||||||||||
| 1717 | parts => {}, | ||||||||||||||||||||
| 1718 | paths => [ [ {}, "_ilm", "status" ] ], | ||||||||||||||||||||
| 1719 | qs => { | ||||||||||||||||||||
| 1720 | error_trace => "boolean", | ||||||||||||||||||||
| 1721 | filter_path => "list", | ||||||||||||||||||||
| 1722 | human => "boolean" | ||||||||||||||||||||
| 1723 | }, | ||||||||||||||||||||
| 1724 | }, | ||||||||||||||||||||
| 1725 | |||||||||||||||||||||
| 1726 | 'ilm.move_to_step' => { | ||||||||||||||||||||
| 1727 | body => {}, | ||||||||||||||||||||
| 1728 | doc => "ilm-move-to-step", | ||||||||||||||||||||
| 1729 | method => "POST", | ||||||||||||||||||||
| 1730 | parts => { index => {} }, | ||||||||||||||||||||
| 1731 | paths => [ [ { index => 2 }, "_ilm", "move", "{index}" ] ], | ||||||||||||||||||||
| 1732 | qs => { | ||||||||||||||||||||
| 1733 | error_trace => "boolean", | ||||||||||||||||||||
| 1734 | filter_path => "list", | ||||||||||||||||||||
| 1735 | human => "boolean" | ||||||||||||||||||||
| 1736 | }, | ||||||||||||||||||||
| 1737 | }, | ||||||||||||||||||||
| 1738 | |||||||||||||||||||||
| 1739 | 'ilm.put_lifecycle' => { | ||||||||||||||||||||
| 1740 | body => {}, | ||||||||||||||||||||
| 1741 | doc => "ilm-put-lifecycle", | ||||||||||||||||||||
| 1742 | method => "PUT", | ||||||||||||||||||||
| 1743 | parts => { policy => {} }, | ||||||||||||||||||||
| 1744 | paths => [ [ { policy => 2 }, "_ilm", "policy", "{policy}" ] ], | ||||||||||||||||||||
| 1745 | qs => { | ||||||||||||||||||||
| 1746 | error_trace => "boolean", | ||||||||||||||||||||
| 1747 | filter_path => "list", | ||||||||||||||||||||
| 1748 | human => "boolean" | ||||||||||||||||||||
| 1749 | }, | ||||||||||||||||||||
| 1750 | }, | ||||||||||||||||||||
| 1751 | |||||||||||||||||||||
| 1752 | 'ilm.remove_policy' => { | ||||||||||||||||||||
| 1753 | doc => "ilm-remove-policy", | ||||||||||||||||||||
| 1754 | method => "POST", | ||||||||||||||||||||
| 1755 | parts => { index => {} }, | ||||||||||||||||||||
| 1756 | paths => [ [ { index => 0 }, "{index}", "_ilm", "remove" ] ], | ||||||||||||||||||||
| 1757 | qs => { | ||||||||||||||||||||
| 1758 | error_trace => "boolean", | ||||||||||||||||||||
| 1759 | filter_path => "list", | ||||||||||||||||||||
| 1760 | human => "boolean" | ||||||||||||||||||||
| 1761 | }, | ||||||||||||||||||||
| 1762 | }, | ||||||||||||||||||||
| 1763 | |||||||||||||||||||||
| 1764 | 'ilm.retry' => { | ||||||||||||||||||||
| 1765 | doc => "ilm-retry-policy", | ||||||||||||||||||||
| 1766 | method => "POST", | ||||||||||||||||||||
| 1767 | parts => { index => {} }, | ||||||||||||||||||||
| 1768 | paths => [ [ { index => 0 }, "{index}", "_ilm", "retry" ] ], | ||||||||||||||||||||
| 1769 | qs => { | ||||||||||||||||||||
| 1770 | error_trace => "boolean", | ||||||||||||||||||||
| 1771 | filter_path => "list", | ||||||||||||||||||||
| 1772 | human => "boolean" | ||||||||||||||||||||
| 1773 | }, | ||||||||||||||||||||
| 1774 | }, | ||||||||||||||||||||
| 1775 | |||||||||||||||||||||
| 1776 | 'ilm.start' => { | ||||||||||||||||||||
| 1777 | doc => "ilm-start", | ||||||||||||||||||||
| 1778 | method => "POST", | ||||||||||||||||||||
| 1779 | parts => {}, | ||||||||||||||||||||
| 1780 | paths => [ [ {}, "_ilm", "start" ] ], | ||||||||||||||||||||
| 1781 | qs => { | ||||||||||||||||||||
| 1782 | error_trace => "boolean", | ||||||||||||||||||||
| 1783 | filter_path => "list", | ||||||||||||||||||||
| 1784 | human => "boolean" | ||||||||||||||||||||
| 1785 | }, | ||||||||||||||||||||
| 1786 | }, | ||||||||||||||||||||
| 1787 | |||||||||||||||||||||
| 1788 | 'ilm.stop' => { | ||||||||||||||||||||
| 1789 | doc => "ilm-stop", | ||||||||||||||||||||
| 1790 | method => "POST", | ||||||||||||||||||||
| 1791 | parts => {}, | ||||||||||||||||||||
| 1792 | paths => [ [ {}, "_ilm", "stop" ] ], | ||||||||||||||||||||
| 1793 | qs => { | ||||||||||||||||||||
| 1794 | error_trace => "boolean", | ||||||||||||||||||||
| 1795 | filter_path => "list", | ||||||||||||||||||||
| 1796 | human => "boolean" | ||||||||||||||||||||
| 1797 | }, | ||||||||||||||||||||
| 1798 | }, | ||||||||||||||||||||
| 1799 | |||||||||||||||||||||
| 1800 | 'indices.analyze' => { | ||||||||||||||||||||
| 1801 | body => {}, | ||||||||||||||||||||
| 1802 | doc => "indices-analyze", | ||||||||||||||||||||
| 1803 | parts => { index => {} }, | ||||||||||||||||||||
| 1804 | paths => | ||||||||||||||||||||
| 1805 | [ [ { index => 0 }, "{index}", "_analyze" ], [ {}, "_analyze" ] ], | ||||||||||||||||||||
| 1806 | qs => { | ||||||||||||||||||||
| 1807 | error_trace => "boolean", | ||||||||||||||||||||
| 1808 | filter_path => "list", | ||||||||||||||||||||
| 1809 | human => "boolean" | ||||||||||||||||||||
| 1810 | }, | ||||||||||||||||||||
| 1811 | }, | ||||||||||||||||||||
| 1812 | |||||||||||||||||||||
| 1813 | 'indices.clear_cache' => { | ||||||||||||||||||||
| 1814 | doc => "indices-clearcache", | ||||||||||||||||||||
| 1815 | method => "POST", | ||||||||||||||||||||
| 1816 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 1817 | paths => [ | ||||||||||||||||||||
| 1818 | [ { index => 0 }, "{index}", "_cache", "clear" ], | ||||||||||||||||||||
| 1819 | [ {}, "_cache", "clear" ], | ||||||||||||||||||||
| 1820 | ], | ||||||||||||||||||||
| 1821 | qs => { | ||||||||||||||||||||
| 1822 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1823 | error_trace => "boolean", | ||||||||||||||||||||
| 1824 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1825 | fielddata => "boolean", | ||||||||||||||||||||
| 1826 | fields => "list", | ||||||||||||||||||||
| 1827 | filter_path => "list", | ||||||||||||||||||||
| 1828 | human => "boolean", | ||||||||||||||||||||
| 1829 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1830 | query => "boolean", | ||||||||||||||||||||
| 1831 | request => "boolean", | ||||||||||||||||||||
| 1832 | request_cache => "boolean", | ||||||||||||||||||||
| 1833 | }, | ||||||||||||||||||||
| 1834 | }, | ||||||||||||||||||||
| 1835 | |||||||||||||||||||||
| 1836 | 'indices.close' => { | ||||||||||||||||||||
| 1837 | doc => "indices-open-close", | ||||||||||||||||||||
| 1838 | method => "POST", | ||||||||||||||||||||
| 1839 | parts => { index => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 1840 | paths => [ [ { index => 0 }, "{index}", "_close" ] ], | ||||||||||||||||||||
| 1841 | qs => { | ||||||||||||||||||||
| 1842 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1843 | error_trace => "boolean", | ||||||||||||||||||||
| 1844 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1845 | filter_path => "list", | ||||||||||||||||||||
| 1846 | human => "boolean", | ||||||||||||||||||||
| 1847 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1848 | master_timeout => "time", | ||||||||||||||||||||
| 1849 | timeout => "time", | ||||||||||||||||||||
| 1850 | }, | ||||||||||||||||||||
| 1851 | }, | ||||||||||||||||||||
| 1852 | |||||||||||||||||||||
| 1853 | 'indices.create' => { | ||||||||||||||||||||
| 1854 | body => {}, | ||||||||||||||||||||
| 1855 | doc => "indices-create-index", | ||||||||||||||||||||
| 1856 | method => "PUT", | ||||||||||||||||||||
| 1857 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 1858 | paths => [ [ { index => 0 }, "{index}" ] ], | ||||||||||||||||||||
| 1859 | qs => { | ||||||||||||||||||||
| 1860 | error_trace => "boolean", | ||||||||||||||||||||
| 1861 | filter_path => "list", | ||||||||||||||||||||
| 1862 | human => "boolean", | ||||||||||||||||||||
| 1863 | include_type_name => "boolean", | ||||||||||||||||||||
| 1864 | master_timeout => "time", | ||||||||||||||||||||
| 1865 | timeout => "time", | ||||||||||||||||||||
| 1866 | update_all_types => "boolean", | ||||||||||||||||||||
| 1867 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 1868 | }, | ||||||||||||||||||||
| 1869 | }, | ||||||||||||||||||||
| 1870 | |||||||||||||||||||||
| 1871 | 'indices.delete' => { | ||||||||||||||||||||
| 1872 | doc => "indices-delete-index", | ||||||||||||||||||||
| 1873 | method => "DELETE", | ||||||||||||||||||||
| 1874 | parts => { index => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 1875 | paths => [ [ { index => 0 }, "{index}" ] ], | ||||||||||||||||||||
| 1876 | qs => { | ||||||||||||||||||||
| 1877 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1878 | error_trace => "boolean", | ||||||||||||||||||||
| 1879 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1880 | filter_path => "list", | ||||||||||||||||||||
| 1881 | human => "boolean", | ||||||||||||||||||||
| 1882 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1883 | master_timeout => "time", | ||||||||||||||||||||
| 1884 | timeout => "time", | ||||||||||||||||||||
| 1885 | }, | ||||||||||||||||||||
| 1886 | }, | ||||||||||||||||||||
| 1887 | |||||||||||||||||||||
| 1888 | 'indices.delete_alias' => { | ||||||||||||||||||||
| 1889 | doc => "indices-aliases", | ||||||||||||||||||||
| 1890 | method => "DELETE", | ||||||||||||||||||||
| 1891 | parts => { | ||||||||||||||||||||
| 1892 | index => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 1893 | name => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 1894 | }, | ||||||||||||||||||||
| 1895 | paths => | ||||||||||||||||||||
| 1896 | [ [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ] ], | ||||||||||||||||||||
| 1897 | qs => { | ||||||||||||||||||||
| 1898 | error_trace => "boolean", | ||||||||||||||||||||
| 1899 | filter_path => "list", | ||||||||||||||||||||
| 1900 | human => "boolean", | ||||||||||||||||||||
| 1901 | master_timeout => "time", | ||||||||||||||||||||
| 1902 | timeout => "time", | ||||||||||||||||||||
| 1903 | }, | ||||||||||||||||||||
| 1904 | }, | ||||||||||||||||||||
| 1905 | |||||||||||||||||||||
| 1906 | 'indices.delete_template' => { | ||||||||||||||||||||
| 1907 | doc => "indices-templates", | ||||||||||||||||||||
| 1908 | method => "DELETE", | ||||||||||||||||||||
| 1909 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 1910 | paths => [ [ { name => 1 }, "_template", "{name}" ] ], | ||||||||||||||||||||
| 1911 | qs => { | ||||||||||||||||||||
| 1912 | error_trace => "boolean", | ||||||||||||||||||||
| 1913 | filter_path => "list", | ||||||||||||||||||||
| 1914 | human => "boolean", | ||||||||||||||||||||
| 1915 | master_timeout => "time", | ||||||||||||||||||||
| 1916 | timeout => "time", | ||||||||||||||||||||
| 1917 | }, | ||||||||||||||||||||
| 1918 | }, | ||||||||||||||||||||
| 1919 | |||||||||||||||||||||
| 1920 | 'indices.exists' => { | ||||||||||||||||||||
| 1921 | doc => "indices-exists", | ||||||||||||||||||||
| 1922 | method => "HEAD", | ||||||||||||||||||||
| 1923 | parts => { index => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 1924 | paths => [ [ { index => 0 }, "{index}" ] ], | ||||||||||||||||||||
| 1925 | qs => { | ||||||||||||||||||||
| 1926 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1927 | error_trace => "boolean", | ||||||||||||||||||||
| 1928 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1929 | filter_path => "list", | ||||||||||||||||||||
| 1930 | flat_settings => "boolean", | ||||||||||||||||||||
| 1931 | human => "boolean", | ||||||||||||||||||||
| 1932 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1933 | include_defaults => "boolean", | ||||||||||||||||||||
| 1934 | local => "boolean", | ||||||||||||||||||||
| 1935 | }, | ||||||||||||||||||||
| 1936 | }, | ||||||||||||||||||||
| 1937 | |||||||||||||||||||||
| 1938 | 'indices.exists_alias' => { | ||||||||||||||||||||
| 1939 | doc => "indices-aliases", | ||||||||||||||||||||
| 1940 | method => "HEAD", | ||||||||||||||||||||
| 1941 | parts => { | ||||||||||||||||||||
| 1942 | index => { multi => 1 }, | ||||||||||||||||||||
| 1943 | name => { multi => 1, required => 1 } | ||||||||||||||||||||
| 1944 | }, | ||||||||||||||||||||
| 1945 | paths => [ | ||||||||||||||||||||
| 1946 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 1947 | [ { name => 1 }, "_alias", "{name}" ], | ||||||||||||||||||||
| 1948 | ], | ||||||||||||||||||||
| 1949 | qs => { | ||||||||||||||||||||
| 1950 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1951 | error_trace => "boolean", | ||||||||||||||||||||
| 1952 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1953 | filter_path => "list", | ||||||||||||||||||||
| 1954 | human => "boolean", | ||||||||||||||||||||
| 1955 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1956 | local => "boolean", | ||||||||||||||||||||
| 1957 | }, | ||||||||||||||||||||
| 1958 | }, | ||||||||||||||||||||
| 1959 | |||||||||||||||||||||
| 1960 | 'indices.exists_template' => { | ||||||||||||||||||||
| 1961 | doc => "indices-templates", | ||||||||||||||||||||
| 1962 | method => "HEAD", | ||||||||||||||||||||
| 1963 | parts => { name => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 1964 | paths => [ [ { name => 1 }, "_template", "{name}" ] ], | ||||||||||||||||||||
| 1965 | qs => { | ||||||||||||||||||||
| 1966 | error_trace => "boolean", | ||||||||||||||||||||
| 1967 | filter_path => "list", | ||||||||||||||||||||
| 1968 | flat_settings => "boolean", | ||||||||||||||||||||
| 1969 | human => "boolean", | ||||||||||||||||||||
| 1970 | local => "boolean", | ||||||||||||||||||||
| 1971 | master_timeout => "time", | ||||||||||||||||||||
| 1972 | }, | ||||||||||||||||||||
| 1973 | }, | ||||||||||||||||||||
| 1974 | |||||||||||||||||||||
| 1975 | 'indices.exists_type' => { | ||||||||||||||||||||
| 1976 | doc => "indices-types-exists", | ||||||||||||||||||||
| 1977 | method => "HEAD", | ||||||||||||||||||||
| 1978 | parts => { | ||||||||||||||||||||
| 1979 | index => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 1980 | type => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 1981 | }, | ||||||||||||||||||||
| 1982 | paths => [ | ||||||||||||||||||||
| 1983 | [ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ] | ||||||||||||||||||||
| 1984 | ], | ||||||||||||||||||||
| 1985 | qs => { | ||||||||||||||||||||
| 1986 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 1987 | error_trace => "boolean", | ||||||||||||||||||||
| 1988 | expand_wildcards => "enum", | ||||||||||||||||||||
| 1989 | filter_path => "list", | ||||||||||||||||||||
| 1990 | human => "boolean", | ||||||||||||||||||||
| 1991 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 1992 | local => "boolean", | ||||||||||||||||||||
| 1993 | }, | ||||||||||||||||||||
| 1994 | }, | ||||||||||||||||||||
| 1995 | |||||||||||||||||||||
| 1996 | 'indices.flush' => { | ||||||||||||||||||||
| 1997 | doc => "indices-flush", | ||||||||||||||||||||
| 1998 | method => "POST", | ||||||||||||||||||||
| 1999 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2000 | paths => | ||||||||||||||||||||
| 2001 | [ [ { index => 0 }, "{index}", "_flush" ], [ {}, "_flush" ] ], | ||||||||||||||||||||
| 2002 | qs => { | ||||||||||||||||||||
| 2003 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2004 | error_trace => "boolean", | ||||||||||||||||||||
| 2005 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2006 | filter_path => "list", | ||||||||||||||||||||
| 2007 | force => "boolean", | ||||||||||||||||||||
| 2008 | human => "boolean", | ||||||||||||||||||||
| 2009 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2010 | wait_if_ongoing => "boolean", | ||||||||||||||||||||
| 2011 | }, | ||||||||||||||||||||
| 2012 | }, | ||||||||||||||||||||
| 2013 | |||||||||||||||||||||
| 2014 | 'indices.flush_synced' => { | ||||||||||||||||||||
| 2015 | doc => "indices-synced-flush", | ||||||||||||||||||||
| 2016 | method => "POST", | ||||||||||||||||||||
| 2017 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2018 | paths => [ | ||||||||||||||||||||
| 2019 | [ { index => 0 }, "{index}", "_flush", "synced" ], | ||||||||||||||||||||
| 2020 | [ {}, "_flush", "synced" ], | ||||||||||||||||||||
| 2021 | ], | ||||||||||||||||||||
| 2022 | qs => { | ||||||||||||||||||||
| 2023 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2024 | error_trace => "boolean", | ||||||||||||||||||||
| 2025 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2026 | filter_path => "list", | ||||||||||||||||||||
| 2027 | human => "boolean", | ||||||||||||||||||||
| 2028 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2029 | }, | ||||||||||||||||||||
| 2030 | }, | ||||||||||||||||||||
| 2031 | |||||||||||||||||||||
| 2032 | 'indices.forcemerge' => { | ||||||||||||||||||||
| 2033 | doc => "indices-forcemerge", | ||||||||||||||||||||
| 2034 | method => "POST", | ||||||||||||||||||||
| 2035 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2036 | paths => [ | ||||||||||||||||||||
| 2037 | [ { index => 0 }, "{index}", "_forcemerge" ], | ||||||||||||||||||||
| 2038 | [ {}, "_forcemerge" ], | ||||||||||||||||||||
| 2039 | ], | ||||||||||||||||||||
| 2040 | qs => { | ||||||||||||||||||||
| 2041 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2042 | error_trace => "boolean", | ||||||||||||||||||||
| 2043 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2044 | filter_path => "list", | ||||||||||||||||||||
| 2045 | flush => "boolean", | ||||||||||||||||||||
| 2046 | human => "boolean", | ||||||||||||||||||||
| 2047 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2048 | max_num_segments => "number", | ||||||||||||||||||||
| 2049 | only_expunge_deletes => "boolean", | ||||||||||||||||||||
| 2050 | }, | ||||||||||||||||||||
| 2051 | }, | ||||||||||||||||||||
| 2052 | |||||||||||||||||||||
| 2053 | 'indices.freeze' => { | ||||||||||||||||||||
| 2054 | doc => "frozen", | ||||||||||||||||||||
| 2055 | method => "POST", | ||||||||||||||||||||
| 2056 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 2057 | paths => [ [ { index => 0 }, "{index}", "_freeze" ] ], | ||||||||||||||||||||
| 2058 | qs => { | ||||||||||||||||||||
| 2059 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2060 | error_trace => "boolean", | ||||||||||||||||||||
| 2061 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2062 | filter_path => "list", | ||||||||||||||||||||
| 2063 | human => "boolean", | ||||||||||||||||||||
| 2064 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2065 | master_timeout => "time", | ||||||||||||||||||||
| 2066 | timeout => "time", | ||||||||||||||||||||
| 2067 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2068 | }, | ||||||||||||||||||||
| 2069 | }, | ||||||||||||||||||||
| 2070 | |||||||||||||||||||||
| 2071 | 'indices.get' => { | ||||||||||||||||||||
| 2072 | doc => "indices-get-index", | ||||||||||||||||||||
| 2073 | parts => { index => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 2074 | paths => [ [ { index => 0 }, "{index}" ] ], | ||||||||||||||||||||
| 2075 | qs => { | ||||||||||||||||||||
| 2076 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2077 | error_trace => "boolean", | ||||||||||||||||||||
| 2078 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2079 | filter_path => "list", | ||||||||||||||||||||
| 2080 | flat_settings => "boolean", | ||||||||||||||||||||
| 2081 | human => "boolean", | ||||||||||||||||||||
| 2082 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2083 | include_defaults => "boolean", | ||||||||||||||||||||
| 2084 | include_type_name => "boolean", | ||||||||||||||||||||
| 2085 | local => "boolean", | ||||||||||||||||||||
| 2086 | master_timeout => "time", | ||||||||||||||||||||
| 2087 | }, | ||||||||||||||||||||
| 2088 | }, | ||||||||||||||||||||
| 2089 | |||||||||||||||||||||
| 2090 | 'indices.get_alias' => { | ||||||||||||||||||||
| 2091 | doc => "indices-aliases", | ||||||||||||||||||||
| 2092 | parts => { index => { multi => 1 }, name => { multi => 1 } }, | ||||||||||||||||||||
| 2093 | paths => [ | ||||||||||||||||||||
| 2094 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 2095 | [ { index => 0 }, "{index}", "_alias" ], | ||||||||||||||||||||
| 2096 | [ { name => 1 }, "_alias", "{name}" ], | ||||||||||||||||||||
| 2097 | [ {}, "_alias" ], | ||||||||||||||||||||
| 2098 | ], | ||||||||||||||||||||
| 2099 | qs => { | ||||||||||||||||||||
| 2100 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2101 | error_trace => "boolean", | ||||||||||||||||||||
| 2102 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2103 | filter_path => "list", | ||||||||||||||||||||
| 2104 | human => "boolean", | ||||||||||||||||||||
| 2105 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2106 | local => "boolean", | ||||||||||||||||||||
| 2107 | }, | ||||||||||||||||||||
| 2108 | }, | ||||||||||||||||||||
| 2109 | |||||||||||||||||||||
| 2110 | 'indices.get_field_mapping' => { | ||||||||||||||||||||
| 2111 | doc => "indices-get-field-mapping", | ||||||||||||||||||||
| 2112 | parts => { | ||||||||||||||||||||
| 2113 | fields => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 2114 | index => { multi => 1 }, | ||||||||||||||||||||
| 2115 | type => { multi => 1 }, | ||||||||||||||||||||
| 2116 | }, | ||||||||||||||||||||
| 2117 | paths => [ | ||||||||||||||||||||
| 2118 | [ { fields => 4, index => 0, type => 2 }, "{index}", | ||||||||||||||||||||
| 2119 | "_mapping", "{type}", | ||||||||||||||||||||
| 2120 | "field", "{fields}", | ||||||||||||||||||||
| 2121 | ], | ||||||||||||||||||||
| 2122 | [ { fields => 3, index => 0 }, "{index}", | ||||||||||||||||||||
| 2123 | "_mapping", "field", | ||||||||||||||||||||
| 2124 | "{fields}", | ||||||||||||||||||||
| 2125 | ], | ||||||||||||||||||||
| 2126 | [ { fields => 3, type => 1 }, "_mapping", | ||||||||||||||||||||
| 2127 | "{type}", "field", | ||||||||||||||||||||
| 2128 | "{fields}", | ||||||||||||||||||||
| 2129 | ], | ||||||||||||||||||||
| 2130 | [ { fields => 2 }, "_mapping", "field", "{fields}" ], | ||||||||||||||||||||
| 2131 | ], | ||||||||||||||||||||
| 2132 | qs => { | ||||||||||||||||||||
| 2133 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2134 | error_trace => "boolean", | ||||||||||||||||||||
| 2135 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2136 | filter_path => "list", | ||||||||||||||||||||
| 2137 | human => "boolean", | ||||||||||||||||||||
| 2138 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2139 | include_defaults => "boolean", | ||||||||||||||||||||
| 2140 | include_type_name => "boolean", | ||||||||||||||||||||
| 2141 | local => "boolean", | ||||||||||||||||||||
| 2142 | }, | ||||||||||||||||||||
| 2143 | }, | ||||||||||||||||||||
| 2144 | |||||||||||||||||||||
| 2145 | 'indices.get_mapping' => { | ||||||||||||||||||||
| 2146 | doc => "indices-get-mapping", | ||||||||||||||||||||
| 2147 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 2148 | paths => [ | ||||||||||||||||||||
| 2149 | [ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ], | ||||||||||||||||||||
| 2150 | [ { index => 0 }, "{index}", "_mapping" ], | ||||||||||||||||||||
| 2151 | [ { type => 1 }, "_mapping", "{type}" ], | ||||||||||||||||||||
| 2152 | [ {}, "_mapping" ], | ||||||||||||||||||||
| 2153 | ], | ||||||||||||||||||||
| 2154 | qs => { | ||||||||||||||||||||
| 2155 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2156 | error_trace => "boolean", | ||||||||||||||||||||
| 2157 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2158 | filter_path => "list", | ||||||||||||||||||||
| 2159 | human => "boolean", | ||||||||||||||||||||
| 2160 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2161 | include_type_name => "boolean", | ||||||||||||||||||||
| 2162 | local => "boolean", | ||||||||||||||||||||
| 2163 | master_timeout => "time", | ||||||||||||||||||||
| 2164 | }, | ||||||||||||||||||||
| 2165 | }, | ||||||||||||||||||||
| 2166 | |||||||||||||||||||||
| 2167 | 'indices.get_settings' => { | ||||||||||||||||||||
| 2168 | doc => "indices-get-settings", | ||||||||||||||||||||
| 2169 | parts => { index => { multi => 1 }, name => { multi => 1 } }, | ||||||||||||||||||||
| 2170 | paths => [ | ||||||||||||||||||||
| 2171 | [ { index => 0, name => 2 }, "{index}", "_settings", "{name}" ], | ||||||||||||||||||||
| 2172 | [ { index => 0 }, "{index}", "_settings" ], | ||||||||||||||||||||
| 2173 | [ { name => 1 }, "_settings", "{name}" ], | ||||||||||||||||||||
| 2174 | [ {}, "_settings" ], | ||||||||||||||||||||
| 2175 | ], | ||||||||||||||||||||
| 2176 | qs => { | ||||||||||||||||||||
| 2177 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2178 | error_trace => "boolean", | ||||||||||||||||||||
| 2179 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2180 | filter_path => "list", | ||||||||||||||||||||
| 2181 | flat_settings => "boolean", | ||||||||||||||||||||
| 2182 | human => "boolean", | ||||||||||||||||||||
| 2183 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2184 | include_defaults => "boolean", | ||||||||||||||||||||
| 2185 | local => "boolean", | ||||||||||||||||||||
| 2186 | master_timeout => "time", | ||||||||||||||||||||
| 2187 | }, | ||||||||||||||||||||
| 2188 | }, | ||||||||||||||||||||
| 2189 | |||||||||||||||||||||
| 2190 | 'indices.get_template' => { | ||||||||||||||||||||
| 2191 | doc => "indices-templates", | ||||||||||||||||||||
| 2192 | parts => { name => { multi => 1 } }, | ||||||||||||||||||||
| 2193 | paths => | ||||||||||||||||||||
| 2194 | [ [ { name => 1 }, "_template", "{name}" ], [ {}, "_template" ] ], | ||||||||||||||||||||
| 2195 | qs => { | ||||||||||||||||||||
| 2196 | error_trace => "boolean", | ||||||||||||||||||||
| 2197 | filter_path => "list", | ||||||||||||||||||||
| 2198 | flat_settings => "boolean", | ||||||||||||||||||||
| 2199 | human => "boolean", | ||||||||||||||||||||
| 2200 | include_type_name => "boolean", | ||||||||||||||||||||
| 2201 | local => "boolean", | ||||||||||||||||||||
| 2202 | master_timeout => "time", | ||||||||||||||||||||
| 2203 | }, | ||||||||||||||||||||
| 2204 | }, | ||||||||||||||||||||
| 2205 | |||||||||||||||||||||
| 2206 | 'indices.get_upgrade' => { | ||||||||||||||||||||
| 2207 | doc => "indices-upgrade", | ||||||||||||||||||||
| 2208 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2209 | paths => | ||||||||||||||||||||
| 2210 | [ [ { index => 0 }, "{index}", "_upgrade" ], [ {}, "_upgrade" ] ], | ||||||||||||||||||||
| 2211 | qs => { | ||||||||||||||||||||
| 2212 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2213 | error_trace => "boolean", | ||||||||||||||||||||
| 2214 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2215 | filter_path => "list", | ||||||||||||||||||||
| 2216 | human => "boolean", | ||||||||||||||||||||
| 2217 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2218 | }, | ||||||||||||||||||||
| 2219 | }, | ||||||||||||||||||||
| 2220 | |||||||||||||||||||||
| 2221 | 'indices.open' => { | ||||||||||||||||||||
| 2222 | doc => "indices-open-close", | ||||||||||||||||||||
| 2223 | method => "POST", | ||||||||||||||||||||
| 2224 | parts => { index => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 2225 | paths => [ [ { index => 0 }, "{index}", "_open" ] ], | ||||||||||||||||||||
| 2226 | qs => { | ||||||||||||||||||||
| 2227 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2228 | error_trace => "boolean", | ||||||||||||||||||||
| 2229 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2230 | filter_path => "list", | ||||||||||||||||||||
| 2231 | human => "boolean", | ||||||||||||||||||||
| 2232 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2233 | master_timeout => "time", | ||||||||||||||||||||
| 2234 | timeout => "time", | ||||||||||||||||||||
| 2235 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2236 | }, | ||||||||||||||||||||
| 2237 | }, | ||||||||||||||||||||
| 2238 | |||||||||||||||||||||
| 2239 | 'indices.put_alias' => { | ||||||||||||||||||||
| 2240 | body => {}, | ||||||||||||||||||||
| 2241 | doc => "indices-aliases", | ||||||||||||||||||||
| 2242 | method => "PUT", | ||||||||||||||||||||
| 2243 | parts => { | ||||||||||||||||||||
| 2244 | index => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 2245 | name => { required => 1 } | ||||||||||||||||||||
| 2246 | }, | ||||||||||||||||||||
| 2247 | paths => | ||||||||||||||||||||
| 2248 | [ [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ] ], | ||||||||||||||||||||
| 2249 | qs => { | ||||||||||||||||||||
| 2250 | error_trace => "boolean", | ||||||||||||||||||||
| 2251 | filter_path => "list", | ||||||||||||||||||||
| 2252 | human => "boolean", | ||||||||||||||||||||
| 2253 | master_timeout => "time", | ||||||||||||||||||||
| 2254 | timeout => "time", | ||||||||||||||||||||
| 2255 | }, | ||||||||||||||||||||
| 2256 | }, | ||||||||||||||||||||
| 2257 | |||||||||||||||||||||
| 2258 | 'indices.put_mapping' => { | ||||||||||||||||||||
| 2259 | body => { required => 1 }, | ||||||||||||||||||||
| 2260 | doc => "indices-put-mapping", | ||||||||||||||||||||
| 2261 | method => "PUT", | ||||||||||||||||||||
| 2262 | parts => { index => { multi => 1 }, type => {} }, | ||||||||||||||||||||
| 2263 | paths => [ | ||||||||||||||||||||
| 2264 | [ { index => 0, type => 2 }, "{index}", "_mapping", "{type}" ], | ||||||||||||||||||||
| 2265 | [ { index => 0 }, "{index}", "_mapping" ], | ||||||||||||||||||||
| 2266 | [ { type => 1 }, "_mapping", "{type}" ], | ||||||||||||||||||||
| 2267 | ], | ||||||||||||||||||||
| 2268 | qs => { | ||||||||||||||||||||
| 2269 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2270 | error_trace => "boolean", | ||||||||||||||||||||
| 2271 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2272 | filter_path => "list", | ||||||||||||||||||||
| 2273 | human => "boolean", | ||||||||||||||||||||
| 2274 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2275 | include_type_name => "boolean", | ||||||||||||||||||||
| 2276 | master_timeout => "time", | ||||||||||||||||||||
| 2277 | timeout => "time", | ||||||||||||||||||||
| 2278 | update_all_types => "boolean", | ||||||||||||||||||||
| 2279 | }, | ||||||||||||||||||||
| 2280 | }, | ||||||||||||||||||||
| 2281 | |||||||||||||||||||||
| 2282 | 'indices.put_settings' => { | ||||||||||||||||||||
| 2283 | body => { required => 1 }, | ||||||||||||||||||||
| 2284 | doc => "indices-update-settings", | ||||||||||||||||||||
| 2285 | method => "PUT", | ||||||||||||||||||||
| 2286 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2287 | paths => [ | ||||||||||||||||||||
| 2288 | [ { index => 0 }, "{index}", "_settings" ], | ||||||||||||||||||||
| 2289 | [ {}, "_settings" ] | ||||||||||||||||||||
| 2290 | ], | ||||||||||||||||||||
| 2291 | qs => { | ||||||||||||||||||||
| 2292 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2293 | error_trace => "boolean", | ||||||||||||||||||||
| 2294 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2295 | filter_path => "list", | ||||||||||||||||||||
| 2296 | flat_settings => "boolean", | ||||||||||||||||||||
| 2297 | human => "boolean", | ||||||||||||||||||||
| 2298 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2299 | master_timeout => "time", | ||||||||||||||||||||
| 2300 | preserve_existing => "boolean", | ||||||||||||||||||||
| 2301 | timeout => "time", | ||||||||||||||||||||
| 2302 | }, | ||||||||||||||||||||
| 2303 | }, | ||||||||||||||||||||
| 2304 | |||||||||||||||||||||
| 2305 | 'indices.put_template' => { | ||||||||||||||||||||
| 2306 | body => { required => 1 }, | ||||||||||||||||||||
| 2307 | doc => "indices-templates", | ||||||||||||||||||||
| 2308 | method => "PUT", | ||||||||||||||||||||
| 2309 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 2310 | paths => [ [ { name => 1 }, "_template", "{name}" ] ], | ||||||||||||||||||||
| 2311 | qs => { | ||||||||||||||||||||
| 2312 | create => "boolean", | ||||||||||||||||||||
| 2313 | error_trace => "boolean", | ||||||||||||||||||||
| 2314 | filter_path => "list", | ||||||||||||||||||||
| 2315 | flat_settings => "boolean", | ||||||||||||||||||||
| 2316 | human => "boolean", | ||||||||||||||||||||
| 2317 | include_type_name => "boolean", | ||||||||||||||||||||
| 2318 | master_timeout => "time", | ||||||||||||||||||||
| 2319 | order => "number", | ||||||||||||||||||||
| 2320 | timeout => "time", | ||||||||||||||||||||
| 2321 | }, | ||||||||||||||||||||
| 2322 | }, | ||||||||||||||||||||
| 2323 | |||||||||||||||||||||
| 2324 | 'indices.recovery' => { | ||||||||||||||||||||
| 2325 | doc => "indices-recovery", | ||||||||||||||||||||
| 2326 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2327 | paths => [ | ||||||||||||||||||||
| 2328 | [ { index => 0 }, "{index}", "_recovery" ], | ||||||||||||||||||||
| 2329 | [ {}, "_recovery" ] | ||||||||||||||||||||
| 2330 | ], | ||||||||||||||||||||
| 2331 | qs => { | ||||||||||||||||||||
| 2332 | active_only => "boolean", | ||||||||||||||||||||
| 2333 | detailed => "boolean", | ||||||||||||||||||||
| 2334 | error_trace => "boolean", | ||||||||||||||||||||
| 2335 | filter_path => "list", | ||||||||||||||||||||
| 2336 | human => "boolean", | ||||||||||||||||||||
| 2337 | }, | ||||||||||||||||||||
| 2338 | }, | ||||||||||||||||||||
| 2339 | |||||||||||||||||||||
| 2340 | 'indices.refresh' => { | ||||||||||||||||||||
| 2341 | doc => "indices-refresh", | ||||||||||||||||||||
| 2342 | method => "POST", | ||||||||||||||||||||
| 2343 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2344 | paths => | ||||||||||||||||||||
| 2345 | [ [ { index => 0 }, "{index}", "_refresh" ], [ {}, "_refresh" ] ], | ||||||||||||||||||||
| 2346 | qs => { | ||||||||||||||||||||
| 2347 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2348 | error_trace => "boolean", | ||||||||||||||||||||
| 2349 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2350 | filter_path => "list", | ||||||||||||||||||||
| 2351 | human => "boolean", | ||||||||||||||||||||
| 2352 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2353 | }, | ||||||||||||||||||||
| 2354 | }, | ||||||||||||||||||||
| 2355 | |||||||||||||||||||||
| 2356 | 'indices.rollover' => { | ||||||||||||||||||||
| 2357 | body => {}, | ||||||||||||||||||||
| 2358 | doc => "indices-rollover-index", | ||||||||||||||||||||
| 2359 | method => "POST", | ||||||||||||||||||||
| 2360 | parts => { alias => { required => 1 }, new_index => {} }, | ||||||||||||||||||||
| 2361 | paths => [ | ||||||||||||||||||||
| 2362 | [ { alias => 0, new_index => 2 }, "{alias}", | ||||||||||||||||||||
| 2363 | "_rollover", "{new_index}", | ||||||||||||||||||||
| 2364 | ], | ||||||||||||||||||||
| 2365 | [ { alias => 0 }, "{alias}", "_rollover" ], | ||||||||||||||||||||
| 2366 | ], | ||||||||||||||||||||
| 2367 | qs => { | ||||||||||||||||||||
| 2368 | dry_run => "boolean", | ||||||||||||||||||||
| 2369 | error_trace => "boolean", | ||||||||||||||||||||
| 2370 | filter_path => "list", | ||||||||||||||||||||
| 2371 | human => "boolean", | ||||||||||||||||||||
| 2372 | include_type_name => "boolean", | ||||||||||||||||||||
| 2373 | master_timeout => "time", | ||||||||||||||||||||
| 2374 | timeout => "time", | ||||||||||||||||||||
| 2375 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2376 | }, | ||||||||||||||||||||
| 2377 | }, | ||||||||||||||||||||
| 2378 | |||||||||||||||||||||
| 2379 | 'indices.segments' => { | ||||||||||||||||||||
| 2380 | doc => "indices-segments", | ||||||||||||||||||||
| 2381 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2382 | paths => [ | ||||||||||||||||||||
| 2383 | [ { index => 0 }, "{index}", "_segments" ], | ||||||||||||||||||||
| 2384 | [ {}, "_segments" ] | ||||||||||||||||||||
| 2385 | ], | ||||||||||||||||||||
| 2386 | qs => { | ||||||||||||||||||||
| 2387 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2388 | error_trace => "boolean", | ||||||||||||||||||||
| 2389 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2390 | filter_path => "list", | ||||||||||||||||||||
| 2391 | human => "boolean", | ||||||||||||||||||||
| 2392 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2393 | verbose => "boolean", | ||||||||||||||||||||
| 2394 | }, | ||||||||||||||||||||
| 2395 | }, | ||||||||||||||||||||
| 2396 | |||||||||||||||||||||
| 2397 | 'indices.shard_stores' => { | ||||||||||||||||||||
| 2398 | doc => "indices-shards-stores", | ||||||||||||||||||||
| 2399 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2400 | paths => [ | ||||||||||||||||||||
| 2401 | [ { index => 0 }, "{index}", "_shard_stores" ], | ||||||||||||||||||||
| 2402 | [ {}, "_shard_stores" ], | ||||||||||||||||||||
| 2403 | ], | ||||||||||||||||||||
| 2404 | qs => { | ||||||||||||||||||||
| 2405 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2406 | error_trace => "boolean", | ||||||||||||||||||||
| 2407 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2408 | filter_path => "list", | ||||||||||||||||||||
| 2409 | human => "boolean", | ||||||||||||||||||||
| 2410 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2411 | status => "list", | ||||||||||||||||||||
| 2412 | }, | ||||||||||||||||||||
| 2413 | }, | ||||||||||||||||||||
| 2414 | |||||||||||||||||||||
| 2415 | 'indices.shrink' => { | ||||||||||||||||||||
| 2416 | body => {}, | ||||||||||||||||||||
| 2417 | doc => "indices-shrink-index", | ||||||||||||||||||||
| 2418 | method => "PUT", | ||||||||||||||||||||
| 2419 | parts => { index => { required => 1 }, target => { required => 1 } }, | ||||||||||||||||||||
| 2420 | paths => [ | ||||||||||||||||||||
| 2421 | [ { index => 0, target => 2 }, "{index}", "_shrink", "{target}" ], | ||||||||||||||||||||
| 2422 | ], | ||||||||||||||||||||
| 2423 | qs => { | ||||||||||||||||||||
| 2424 | copy_settings => "boolean", | ||||||||||||||||||||
| 2425 | error_trace => "boolean", | ||||||||||||||||||||
| 2426 | filter_path => "list", | ||||||||||||||||||||
| 2427 | human => "boolean", | ||||||||||||||||||||
| 2428 | master_timeout => "time", | ||||||||||||||||||||
| 2429 | timeout => "time", | ||||||||||||||||||||
| 2430 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2431 | }, | ||||||||||||||||||||
| 2432 | }, | ||||||||||||||||||||
| 2433 | |||||||||||||||||||||
| 2434 | 'indices.split' => { | ||||||||||||||||||||
| 2435 | body => {}, | ||||||||||||||||||||
| 2436 | doc => "indices-split-index", | ||||||||||||||||||||
| 2437 | method => "PUT", | ||||||||||||||||||||
| 2438 | parts => { index => { required => 1 }, target => { required => 1 } }, | ||||||||||||||||||||
| 2439 | paths => [ | ||||||||||||||||||||
| 2440 | [ { index => 0, target => 2 }, "{index}", "_split", "{target}" ], | ||||||||||||||||||||
| 2441 | ], | ||||||||||||||||||||
| 2442 | qs => { | ||||||||||||||||||||
| 2443 | copy_settings => "boolean", | ||||||||||||||||||||
| 2444 | error_trace => "boolean", | ||||||||||||||||||||
| 2445 | filter_path => "list", | ||||||||||||||||||||
| 2446 | human => "boolean", | ||||||||||||||||||||
| 2447 | master_timeout => "time", | ||||||||||||||||||||
| 2448 | timeout => "time", | ||||||||||||||||||||
| 2449 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2450 | }, | ||||||||||||||||||||
| 2451 | }, | ||||||||||||||||||||
| 2452 | |||||||||||||||||||||
| 2453 | 'indices.stats' => { | ||||||||||||||||||||
| 2454 | doc => "indices-stats", | ||||||||||||||||||||
| 2455 | parts => { index => { multi => 1 }, metric => { multi => 1 } }, | ||||||||||||||||||||
| 2456 | paths => [ | ||||||||||||||||||||
| 2457 | [ { index => 0, metric => 2 }, "{index}", "_stats", "{metric}" ], | ||||||||||||||||||||
| 2458 | [ { index => 0 }, "{index}", "_stats" ], | ||||||||||||||||||||
| 2459 | [ { metric => 1 }, "_stats", "{metric}" ], | ||||||||||||||||||||
| 2460 | [ {}, "_stats" ], | ||||||||||||||||||||
| 2461 | ], | ||||||||||||||||||||
| 2462 | qs => { | ||||||||||||||||||||
| 2463 | completion_fields => "list", | ||||||||||||||||||||
| 2464 | error_trace => "boolean", | ||||||||||||||||||||
| 2465 | fielddata_fields => "list", | ||||||||||||||||||||
| 2466 | fields => "list", | ||||||||||||||||||||
| 2467 | filter_path => "list", | ||||||||||||||||||||
| 2468 | groups => "list", | ||||||||||||||||||||
| 2469 | human => "boolean", | ||||||||||||||||||||
| 2470 | include_segment_file_sizes => "boolean", | ||||||||||||||||||||
| 2471 | level => "enum", | ||||||||||||||||||||
| 2472 | types => "list", | ||||||||||||||||||||
| 2473 | }, | ||||||||||||||||||||
| 2474 | }, | ||||||||||||||||||||
| 2475 | |||||||||||||||||||||
| 2476 | 'indices.unfreeze' => { | ||||||||||||||||||||
| 2477 | doc => "frozen", | ||||||||||||||||||||
| 2478 | method => "POST", | ||||||||||||||||||||
| 2479 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 2480 | paths => [ [ { index => 0 }, "{index}", "_unfreeze" ] ], | ||||||||||||||||||||
| 2481 | qs => { | ||||||||||||||||||||
| 2482 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2483 | error_trace => "boolean", | ||||||||||||||||||||
| 2484 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2485 | filter_path => "list", | ||||||||||||||||||||
| 2486 | human => "boolean", | ||||||||||||||||||||
| 2487 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2488 | master_timeout => "time", | ||||||||||||||||||||
| 2489 | timeout => "time", | ||||||||||||||||||||
| 2490 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 2491 | }, | ||||||||||||||||||||
| 2492 | }, | ||||||||||||||||||||
| 2493 | |||||||||||||||||||||
| 2494 | 'indices.update_aliases' => { | ||||||||||||||||||||
| 2495 | body => { required => 1 }, | ||||||||||||||||||||
| 2496 | doc => "indices-aliases", | ||||||||||||||||||||
| 2497 | method => "POST", | ||||||||||||||||||||
| 2498 | parts => {}, | ||||||||||||||||||||
| 2499 | paths => [ [ {}, "_aliases" ] ], | ||||||||||||||||||||
| 2500 | qs => { | ||||||||||||||||||||
| 2501 | error_trace => "boolean", | ||||||||||||||||||||
| 2502 | filter_path => "list", | ||||||||||||||||||||
| 2503 | human => "boolean", | ||||||||||||||||||||
| 2504 | master_timeout => "time", | ||||||||||||||||||||
| 2505 | timeout => "time", | ||||||||||||||||||||
| 2506 | }, | ||||||||||||||||||||
| 2507 | }, | ||||||||||||||||||||
| 2508 | |||||||||||||||||||||
| 2509 | 'indices.upgrade' => { | ||||||||||||||||||||
| 2510 | doc => "indices-upgrade", | ||||||||||||||||||||
| 2511 | method => "POST", | ||||||||||||||||||||
| 2512 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 2513 | paths => | ||||||||||||||||||||
| 2514 | [ [ { index => 0 }, "{index}", "_upgrade" ], [ {}, "_upgrade" ] ], | ||||||||||||||||||||
| 2515 | qs => { | ||||||||||||||||||||
| 2516 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2517 | error_trace => "boolean", | ||||||||||||||||||||
| 2518 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2519 | filter_path => "list", | ||||||||||||||||||||
| 2520 | human => "boolean", | ||||||||||||||||||||
| 2521 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2522 | only_ancient_segments => "boolean", | ||||||||||||||||||||
| 2523 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 2524 | }, | ||||||||||||||||||||
| 2525 | }, | ||||||||||||||||||||
| 2526 | |||||||||||||||||||||
| 2527 | 'indices.validate_query' => { | ||||||||||||||||||||
| 2528 | body => {}, | ||||||||||||||||||||
| 2529 | doc => "search-validate", | ||||||||||||||||||||
| 2530 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 2531 | paths => [ | ||||||||||||||||||||
| 2532 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 2533 | "{type}", "_validate", | ||||||||||||||||||||
| 2534 | "query", | ||||||||||||||||||||
| 2535 | ], | ||||||||||||||||||||
| 2536 | [ { index => 0 }, "{index}", "_validate", "query" ], | ||||||||||||||||||||
| 2537 | [ {}, "_validate", "query" ], | ||||||||||||||||||||
| 2538 | ], | ||||||||||||||||||||
| 2539 | qs => { | ||||||||||||||||||||
| 2540 | all_shards => "boolean", | ||||||||||||||||||||
| 2541 | allow_no_indices => "boolean", | ||||||||||||||||||||
| 2542 | analyze_wildcard => "boolean", | ||||||||||||||||||||
| 2543 | analyzer => "string", | ||||||||||||||||||||
| 2544 | default_operator => "enum", | ||||||||||||||||||||
| 2545 | df => "string", | ||||||||||||||||||||
| 2546 | error_trace => "boolean", | ||||||||||||||||||||
| 2547 | expand_wildcards => "enum", | ||||||||||||||||||||
| 2548 | explain => "boolean", | ||||||||||||||||||||
| 2549 | filter_path => "list", | ||||||||||||||||||||
| 2550 | human => "boolean", | ||||||||||||||||||||
| 2551 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2552 | lenient => "boolean", | ||||||||||||||||||||
| 2553 | q => "string", | ||||||||||||||||||||
| 2554 | rewrite => "boolean", | ||||||||||||||||||||
| 2555 | }, | ||||||||||||||||||||
| 2556 | }, | ||||||||||||||||||||
| 2557 | |||||||||||||||||||||
| 2558 | 'ingest.delete_pipeline' => { | ||||||||||||||||||||
| 2559 | doc => "delete-pipeline-api", | ||||||||||||||||||||
| 2560 | method => "DELETE", | ||||||||||||||||||||
| 2561 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 2562 | paths => [ [ { id => 2 }, "_ingest", "pipeline", "{id}" ] ], | ||||||||||||||||||||
| 2563 | qs => { | ||||||||||||||||||||
| 2564 | error_trace => "boolean", | ||||||||||||||||||||
| 2565 | filter_path => "list", | ||||||||||||||||||||
| 2566 | human => "boolean", | ||||||||||||||||||||
| 2567 | master_timeout => "time", | ||||||||||||||||||||
| 2568 | timeout => "time", | ||||||||||||||||||||
| 2569 | }, | ||||||||||||||||||||
| 2570 | }, | ||||||||||||||||||||
| 2571 | |||||||||||||||||||||
| 2572 | 'ingest.get_pipeline' => { | ||||||||||||||||||||
| 2573 | doc => "get-pipeline-api", | ||||||||||||||||||||
| 2574 | parts => { id => {} }, | ||||||||||||||||||||
| 2575 | paths => [ | ||||||||||||||||||||
| 2576 | [ { id => 2 }, "_ingest", "pipeline", "{id}" ], | ||||||||||||||||||||
| 2577 | [ {}, "_ingest", "pipeline" ], | ||||||||||||||||||||
| 2578 | ], | ||||||||||||||||||||
| 2579 | qs => { | ||||||||||||||||||||
| 2580 | error_trace => "boolean", | ||||||||||||||||||||
| 2581 | filter_path => "list", | ||||||||||||||||||||
| 2582 | human => "boolean", | ||||||||||||||||||||
| 2583 | master_timeout => "time", | ||||||||||||||||||||
| 2584 | }, | ||||||||||||||||||||
| 2585 | }, | ||||||||||||||||||||
| 2586 | |||||||||||||||||||||
| 2587 | 'ingest.processor_grok' => { | ||||||||||||||||||||
| 2588 | doc => "", | ||||||||||||||||||||
| 2589 | parts => {}, | ||||||||||||||||||||
| 2590 | paths => [ [ {}, "_ingest", "processor", "grok" ] ], | ||||||||||||||||||||
| 2591 | qs => { | ||||||||||||||||||||
| 2592 | error_trace => "boolean", | ||||||||||||||||||||
| 2593 | filter_path => "list", | ||||||||||||||||||||
| 2594 | human => "boolean" | ||||||||||||||||||||
| 2595 | }, | ||||||||||||||||||||
| 2596 | }, | ||||||||||||||||||||
| 2597 | |||||||||||||||||||||
| 2598 | 'ingest.put_pipeline' => { | ||||||||||||||||||||
| 2599 | body => { required => 1 }, | ||||||||||||||||||||
| 2600 | doc => "put-pipeline-api", | ||||||||||||||||||||
| 2601 | method => "PUT", | ||||||||||||||||||||
| 2602 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 2603 | paths => [ [ { id => 2 }, "_ingest", "pipeline", "{id}" ] ], | ||||||||||||||||||||
| 2604 | qs => { | ||||||||||||||||||||
| 2605 | error_trace => "boolean", | ||||||||||||||||||||
| 2606 | filter_path => "list", | ||||||||||||||||||||
| 2607 | human => "boolean", | ||||||||||||||||||||
| 2608 | master_timeout => "time", | ||||||||||||||||||||
| 2609 | timeout => "time", | ||||||||||||||||||||
| 2610 | }, | ||||||||||||||||||||
| 2611 | }, | ||||||||||||||||||||
| 2612 | |||||||||||||||||||||
| 2613 | 'ingest.simulate' => { | ||||||||||||||||||||
| 2614 | body => { required => 1 }, | ||||||||||||||||||||
| 2615 | doc => "simulate-pipeline-api", | ||||||||||||||||||||
| 2616 | parts => { id => {} }, | ||||||||||||||||||||
| 2617 | paths => [ | ||||||||||||||||||||
| 2618 | [ { id => 2 }, "_ingest", "pipeline", "{id}", "_simulate" ], | ||||||||||||||||||||
| 2619 | [ {}, "_ingest", "pipeline", "_simulate" ], | ||||||||||||||||||||
| 2620 | ], | ||||||||||||||||||||
| 2621 | qs => { | ||||||||||||||||||||
| 2622 | error_trace => "boolean", | ||||||||||||||||||||
| 2623 | filter_path => "list", | ||||||||||||||||||||
| 2624 | human => "boolean", | ||||||||||||||||||||
| 2625 | verbose => "boolean", | ||||||||||||||||||||
| 2626 | }, | ||||||||||||||||||||
| 2627 | }, | ||||||||||||||||||||
| 2628 | |||||||||||||||||||||
| 2629 | 'nodes.hot_threads' => { | ||||||||||||||||||||
| 2630 | doc => "cluster-nodes-hot-threads", | ||||||||||||||||||||
| 2631 | parts => { node_id => { multi => 1 } }, | ||||||||||||||||||||
| 2632 | paths => [ | ||||||||||||||||||||
| 2633 | [ { node_id => 1 }, "_nodes", "{node_id}", "hot_threads" ], | ||||||||||||||||||||
| 2634 | [ {}, "_nodes", "hot_threads" ], | ||||||||||||||||||||
| 2635 | ], | ||||||||||||||||||||
| 2636 | qs => { | ||||||||||||||||||||
| 2637 | error_trace => "boolean", | ||||||||||||||||||||
| 2638 | filter_path => "list", | ||||||||||||||||||||
| 2639 | human => "boolean", | ||||||||||||||||||||
| 2640 | ignore_idle_threads => "boolean", | ||||||||||||||||||||
| 2641 | interval => "time", | ||||||||||||||||||||
| 2642 | snapshots => "number", | ||||||||||||||||||||
| 2643 | threads => "number", | ||||||||||||||||||||
| 2644 | timeout => "time", | ||||||||||||||||||||
| 2645 | type => "enum", | ||||||||||||||||||||
| 2646 | }, | ||||||||||||||||||||
| 2647 | }, | ||||||||||||||||||||
| 2648 | |||||||||||||||||||||
| 2649 | 'nodes.info' => { | ||||||||||||||||||||
| 2650 | doc => "cluster-nodes-info", | ||||||||||||||||||||
| 2651 | parts => { metric => { multi => 1 }, node_id => { multi => 1 } }, | ||||||||||||||||||||
| 2652 | paths => [ | ||||||||||||||||||||
| 2653 | [ { metric => 2, node_id => 1 }, "_nodes", | ||||||||||||||||||||
| 2654 | "{node_id}", "{metric}", | ||||||||||||||||||||
| 2655 | ], | ||||||||||||||||||||
| 2656 | [ { metric => 1 }, "_nodes", "{metric}" ], | ||||||||||||||||||||
| 2657 | [ { node_id => 1 }, "_nodes", "{node_id}" ], | ||||||||||||||||||||
| 2658 | [ {}, "_nodes" ], | ||||||||||||||||||||
| 2659 | ], | ||||||||||||||||||||
| 2660 | qs => { | ||||||||||||||||||||
| 2661 | error_trace => "boolean", | ||||||||||||||||||||
| 2662 | filter_path => "list", | ||||||||||||||||||||
| 2663 | flat_settings => "boolean", | ||||||||||||||||||||
| 2664 | human => "boolean", | ||||||||||||||||||||
| 2665 | timeout => "time", | ||||||||||||||||||||
| 2666 | }, | ||||||||||||||||||||
| 2667 | }, | ||||||||||||||||||||
| 2668 | |||||||||||||||||||||
| 2669 | 'nodes.reload_secure_settings' => { | ||||||||||||||||||||
| 2670 | doc => "", | ||||||||||||||||||||
| 2671 | method => "POST", | ||||||||||||||||||||
| 2672 | parts => { node_id => { multi => 1 } }, | ||||||||||||||||||||
| 2673 | paths => [ | ||||||||||||||||||||
| 2674 | [ { node_id => 1 }, "_nodes", | ||||||||||||||||||||
| 2675 | "{node_id}", "reload_secure_settings", | ||||||||||||||||||||
| 2676 | ], | ||||||||||||||||||||
| 2677 | [ {}, "_nodes", "reload_secure_settings" ], | ||||||||||||||||||||
| 2678 | ], | ||||||||||||||||||||
| 2679 | qs => { | ||||||||||||||||||||
| 2680 | error_trace => "boolean", | ||||||||||||||||||||
| 2681 | filter_path => "list", | ||||||||||||||||||||
| 2682 | human => "boolean", | ||||||||||||||||||||
| 2683 | timeout => "time", | ||||||||||||||||||||
| 2684 | }, | ||||||||||||||||||||
| 2685 | }, | ||||||||||||||||||||
| 2686 | |||||||||||||||||||||
| 2687 | 'nodes.stats' => { | ||||||||||||||||||||
| 2688 | doc => "cluster-nodes-stats", | ||||||||||||||||||||
| 2689 | parts => { | ||||||||||||||||||||
| 2690 | index_metric => { multi => 1 }, | ||||||||||||||||||||
| 2691 | metric => { multi => 1 }, | ||||||||||||||||||||
| 2692 | node_id => { multi => 1 }, | ||||||||||||||||||||
| 2693 | }, | ||||||||||||||||||||
| 2694 | paths => [ | ||||||||||||||||||||
| 2695 | [ { index_metric => 4, metric => 3, node_id => 1 }, | ||||||||||||||||||||
| 2696 | "_nodes", "{node_id}", "stats", "{metric}", "{index_metric}", | ||||||||||||||||||||
| 2697 | ], | ||||||||||||||||||||
| 2698 | [ { index_metric => 3, metric => 2 }, "_nodes", | ||||||||||||||||||||
| 2699 | "stats", "{metric}", | ||||||||||||||||||||
| 2700 | "{index_metric}", | ||||||||||||||||||||
| 2701 | ], | ||||||||||||||||||||
| 2702 | [ { metric => 3, node_id => 1 }, "_nodes", | ||||||||||||||||||||
| 2703 | "{node_id}", "stats", | ||||||||||||||||||||
| 2704 | "{metric}", | ||||||||||||||||||||
| 2705 | ], | ||||||||||||||||||||
| 2706 | [ { metric => 2 }, "_nodes", "stats", "{metric}" ], | ||||||||||||||||||||
| 2707 | [ { node_id => 1 }, "_nodes", "{node_id}", "stats" ], | ||||||||||||||||||||
| 2708 | [ {}, "_nodes", "stats" ], | ||||||||||||||||||||
| 2709 | ], | ||||||||||||||||||||
| 2710 | qs => { | ||||||||||||||||||||
| 2711 | completion_fields => "list", | ||||||||||||||||||||
| 2712 | error_trace => "boolean", | ||||||||||||||||||||
| 2713 | fielddata_fields => "list", | ||||||||||||||||||||
| 2714 | fields => "list", | ||||||||||||||||||||
| 2715 | filter_path => "list", | ||||||||||||||||||||
| 2716 | groups => "boolean", | ||||||||||||||||||||
| 2717 | human => "boolean", | ||||||||||||||||||||
| 2718 | include_segment_file_sizes => "boolean", | ||||||||||||||||||||
| 2719 | level => "enum", | ||||||||||||||||||||
| 2720 | timeout => "time", | ||||||||||||||||||||
| 2721 | types => "list", | ||||||||||||||||||||
| 2722 | }, | ||||||||||||||||||||
| 2723 | }, | ||||||||||||||||||||
| 2724 | |||||||||||||||||||||
| 2725 | 'nodes.usage' => { | ||||||||||||||||||||
| 2726 | doc => "cluster-nodes-usage", | ||||||||||||||||||||
| 2727 | parts => { metric => { multi => 1 }, node_id => { multi => 1 } }, | ||||||||||||||||||||
| 2728 | paths => [ | ||||||||||||||||||||
| 2729 | [ { metric => 3, node_id => 1 }, "_nodes", | ||||||||||||||||||||
| 2730 | "{node_id}", "usage", | ||||||||||||||||||||
| 2731 | "{metric}", | ||||||||||||||||||||
| 2732 | ], | ||||||||||||||||||||
| 2733 | [ { metric => 2 }, "_nodes", "usage", "{metric}" ], | ||||||||||||||||||||
| 2734 | [ { node_id => 1 }, "_nodes", "{node_id}", "usage" ], | ||||||||||||||||||||
| 2735 | [ {}, "_nodes", "usage" ], | ||||||||||||||||||||
| 2736 | ], | ||||||||||||||||||||
| 2737 | qs => { | ||||||||||||||||||||
| 2738 | error_trace => "boolean", | ||||||||||||||||||||
| 2739 | filter_path => "list", | ||||||||||||||||||||
| 2740 | human => "boolean", | ||||||||||||||||||||
| 2741 | timeout => "time", | ||||||||||||||||||||
| 2742 | }, | ||||||||||||||||||||
| 2743 | }, | ||||||||||||||||||||
| 2744 | |||||||||||||||||||||
| 2745 | 'security.create_api_key' => { | ||||||||||||||||||||
| 2746 | body => { required => 1 }, | ||||||||||||||||||||
| 2747 | doc => "security-api-create-api-key", | ||||||||||||||||||||
| 2748 | method => "PUT", | ||||||||||||||||||||
| 2749 | parts => {}, | ||||||||||||||||||||
| 2750 | paths => [ [ {}, "_security", "api_key" ] ], | ||||||||||||||||||||
| 2751 | qs => { | ||||||||||||||||||||
| 2752 | error_trace => "boolean", | ||||||||||||||||||||
| 2753 | filter_path => "list", | ||||||||||||||||||||
| 2754 | human => "boolean", | ||||||||||||||||||||
| 2755 | refresh => "enum", | ||||||||||||||||||||
| 2756 | }, | ||||||||||||||||||||
| 2757 | }, | ||||||||||||||||||||
| 2758 | |||||||||||||||||||||
| 2759 | 'security.get_api_key' => { | ||||||||||||||||||||
| 2760 | doc => "security-api-get-api-key", | ||||||||||||||||||||
| 2761 | parts => {}, | ||||||||||||||||||||
| 2762 | paths => [ [ {}, "_security", "api_key" ] ], | ||||||||||||||||||||
| 2763 | qs => { | ||||||||||||||||||||
| 2764 | error_trace => "boolean", | ||||||||||||||||||||
| 2765 | filter_path => "list", | ||||||||||||||||||||
| 2766 | human => "boolean", | ||||||||||||||||||||
| 2767 | id => "string", | ||||||||||||||||||||
| 2768 | name => "string", | ||||||||||||||||||||
| 2769 | realm_name => "string", | ||||||||||||||||||||
| 2770 | username => "string", | ||||||||||||||||||||
| 2771 | }, | ||||||||||||||||||||
| 2772 | }, | ||||||||||||||||||||
| 2773 | |||||||||||||||||||||
| 2774 | 'security.invalidate_api_key' => { | ||||||||||||||||||||
| 2775 | body => { required => 1 }, | ||||||||||||||||||||
| 2776 | doc => "security-api-invalidate-api-key", | ||||||||||||||||||||
| 2777 | method => "DELETE", | ||||||||||||||||||||
| 2778 | parts => {}, | ||||||||||||||||||||
| 2779 | paths => [ [ {}, "_security", "api_key" ] ], | ||||||||||||||||||||
| 2780 | qs => { | ||||||||||||||||||||
| 2781 | error_trace => "boolean", | ||||||||||||||||||||
| 2782 | filter_path => "list", | ||||||||||||||||||||
| 2783 | human => "boolean" | ||||||||||||||||||||
| 2784 | }, | ||||||||||||||||||||
| 2785 | }, | ||||||||||||||||||||
| 2786 | |||||||||||||||||||||
| 2787 | 'snapshot.create' => { | ||||||||||||||||||||
| 2788 | body => {}, | ||||||||||||||||||||
| 2789 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2790 | method => "PUT", | ||||||||||||||||||||
| 2791 | parts => { | ||||||||||||||||||||
| 2792 | repository => { required => 1 }, | ||||||||||||||||||||
| 2793 | snapshot => { required => 1 } | ||||||||||||||||||||
| 2794 | }, | ||||||||||||||||||||
| 2795 | paths => [ | ||||||||||||||||||||
| 2796 | [ { repository => 1, snapshot => 2 }, "_snapshot", | ||||||||||||||||||||
| 2797 | "{repository}", "{snapshot}", | ||||||||||||||||||||
| 2798 | ], | ||||||||||||||||||||
| 2799 | ], | ||||||||||||||||||||
| 2800 | qs => { | ||||||||||||||||||||
| 2801 | error_trace => "boolean", | ||||||||||||||||||||
| 2802 | filter_path => "list", | ||||||||||||||||||||
| 2803 | human => "boolean", | ||||||||||||||||||||
| 2804 | master_timeout => "time", | ||||||||||||||||||||
| 2805 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 2806 | }, | ||||||||||||||||||||
| 2807 | }, | ||||||||||||||||||||
| 2808 | |||||||||||||||||||||
| 2809 | 'snapshot.create_repository' => { | ||||||||||||||||||||
| 2810 | body => { required => 1 }, | ||||||||||||||||||||
| 2811 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2812 | method => "PUT", | ||||||||||||||||||||
| 2813 | parts => { repository => { required => 1 } }, | ||||||||||||||||||||
| 2814 | paths => [ [ { repository => 1 }, "_snapshot", "{repository}" ] ], | ||||||||||||||||||||
| 2815 | qs => { | ||||||||||||||||||||
| 2816 | error_trace => "boolean", | ||||||||||||||||||||
| 2817 | filter_path => "list", | ||||||||||||||||||||
| 2818 | human => "boolean", | ||||||||||||||||||||
| 2819 | master_timeout => "time", | ||||||||||||||||||||
| 2820 | timeout => "time", | ||||||||||||||||||||
| 2821 | verify => "boolean", | ||||||||||||||||||||
| 2822 | }, | ||||||||||||||||||||
| 2823 | }, | ||||||||||||||||||||
| 2824 | |||||||||||||||||||||
| 2825 | 'snapshot.delete' => { | ||||||||||||||||||||
| 2826 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2827 | method => "DELETE", | ||||||||||||||||||||
| 2828 | parts => { | ||||||||||||||||||||
| 2829 | repository => { required => 1 }, | ||||||||||||||||||||
| 2830 | snapshot => { required => 1 } | ||||||||||||||||||||
| 2831 | }, | ||||||||||||||||||||
| 2832 | paths => [ | ||||||||||||||||||||
| 2833 | [ { repository => 1, snapshot => 2 }, "_snapshot", | ||||||||||||||||||||
| 2834 | "{repository}", "{snapshot}", | ||||||||||||||||||||
| 2835 | ], | ||||||||||||||||||||
| 2836 | ], | ||||||||||||||||||||
| 2837 | qs => { | ||||||||||||||||||||
| 2838 | error_trace => "boolean", | ||||||||||||||||||||
| 2839 | filter_path => "list", | ||||||||||||||||||||
| 2840 | human => "boolean", | ||||||||||||||||||||
| 2841 | master_timeout => "time", | ||||||||||||||||||||
| 2842 | }, | ||||||||||||||||||||
| 2843 | }, | ||||||||||||||||||||
| 2844 | |||||||||||||||||||||
| 2845 | 'snapshot.delete_repository' => { | ||||||||||||||||||||
| 2846 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2847 | method => "DELETE", | ||||||||||||||||||||
| 2848 | parts => { repository => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 2849 | paths => [ [ { repository => 1 }, "_snapshot", "{repository}" ] ], | ||||||||||||||||||||
| 2850 | qs => { | ||||||||||||||||||||
| 2851 | error_trace => "boolean", | ||||||||||||||||||||
| 2852 | filter_path => "list", | ||||||||||||||||||||
| 2853 | human => "boolean", | ||||||||||||||||||||
| 2854 | master_timeout => "time", | ||||||||||||||||||||
| 2855 | timeout => "time", | ||||||||||||||||||||
| 2856 | }, | ||||||||||||||||||||
| 2857 | }, | ||||||||||||||||||||
| 2858 | |||||||||||||||||||||
| 2859 | 'snapshot.get' => { | ||||||||||||||||||||
| 2860 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2861 | parts => { | ||||||||||||||||||||
| 2862 | repository => { required => 1 }, | ||||||||||||||||||||
| 2863 | snapshot => { multi => 1, required => 1 }, | ||||||||||||||||||||
| 2864 | }, | ||||||||||||||||||||
| 2865 | paths => [ | ||||||||||||||||||||
| 2866 | [ { repository => 1, snapshot => 2 }, "_snapshot", | ||||||||||||||||||||
| 2867 | "{repository}", "{snapshot}", | ||||||||||||||||||||
| 2868 | ], | ||||||||||||||||||||
| 2869 | ], | ||||||||||||||||||||
| 2870 | qs => { | ||||||||||||||||||||
| 2871 | error_trace => "boolean", | ||||||||||||||||||||
| 2872 | filter_path => "list", | ||||||||||||||||||||
| 2873 | human => "boolean", | ||||||||||||||||||||
| 2874 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2875 | master_timeout => "time", | ||||||||||||||||||||
| 2876 | verbose => "boolean", | ||||||||||||||||||||
| 2877 | }, | ||||||||||||||||||||
| 2878 | }, | ||||||||||||||||||||
| 2879 | |||||||||||||||||||||
| 2880 | 'snapshot.get_repository' => { | ||||||||||||||||||||
| 2881 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2882 | parts => { repository => { multi => 1 } }, | ||||||||||||||||||||
| 2883 | paths => [ | ||||||||||||||||||||
| 2884 | [ { repository => 1 }, "_snapshot", "{repository}" ], | ||||||||||||||||||||
| 2885 | [ {}, "_snapshot" ], | ||||||||||||||||||||
| 2886 | ], | ||||||||||||||||||||
| 2887 | qs => { | ||||||||||||||||||||
| 2888 | error_trace => "boolean", | ||||||||||||||||||||
| 2889 | filter_path => "list", | ||||||||||||||||||||
| 2890 | human => "boolean", | ||||||||||||||||||||
| 2891 | local => "boolean", | ||||||||||||||||||||
| 2892 | master_timeout => "time", | ||||||||||||||||||||
| 2893 | }, | ||||||||||||||||||||
| 2894 | }, | ||||||||||||||||||||
| 2895 | |||||||||||||||||||||
| 2896 | 'snapshot.restore' => { | ||||||||||||||||||||
| 2897 | body => {}, | ||||||||||||||||||||
| 2898 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2899 | method => "POST", | ||||||||||||||||||||
| 2900 | parts => { | ||||||||||||||||||||
| 2901 | repository => { required => 1 }, | ||||||||||||||||||||
| 2902 | snapshot => { required => 1 } | ||||||||||||||||||||
| 2903 | }, | ||||||||||||||||||||
| 2904 | paths => [ | ||||||||||||||||||||
| 2905 | [ { repository => 1, snapshot => 2 }, "_snapshot", | ||||||||||||||||||||
| 2906 | "{repository}", "{snapshot}", | ||||||||||||||||||||
| 2907 | "_restore", | ||||||||||||||||||||
| 2908 | ], | ||||||||||||||||||||
| 2909 | ], | ||||||||||||||||||||
| 2910 | qs => { | ||||||||||||||||||||
| 2911 | error_trace => "boolean", | ||||||||||||||||||||
| 2912 | filter_path => "list", | ||||||||||||||||||||
| 2913 | human => "boolean", | ||||||||||||||||||||
| 2914 | master_timeout => "time", | ||||||||||||||||||||
| 2915 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 2916 | }, | ||||||||||||||||||||
| 2917 | }, | ||||||||||||||||||||
| 2918 | |||||||||||||||||||||
| 2919 | 'snapshot.status' => { | ||||||||||||||||||||
| 2920 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2921 | parts => { repository => {}, snapshot => { multi => 1 } }, | ||||||||||||||||||||
| 2922 | paths => [ | ||||||||||||||||||||
| 2923 | [ { repository => 1, snapshot => 2 }, "_snapshot", | ||||||||||||||||||||
| 2924 | "{repository}", "{snapshot}", | ||||||||||||||||||||
| 2925 | "_status", | ||||||||||||||||||||
| 2926 | ], | ||||||||||||||||||||
| 2927 | [ { repository => 1 }, "_snapshot", "{repository}", "_status" ], | ||||||||||||||||||||
| 2928 | [ {}, "_snapshot", "_status" ], | ||||||||||||||||||||
| 2929 | ], | ||||||||||||||||||||
| 2930 | qs => { | ||||||||||||||||||||
| 2931 | error_trace => "boolean", | ||||||||||||||||||||
| 2932 | filter_path => "list", | ||||||||||||||||||||
| 2933 | human => "boolean", | ||||||||||||||||||||
| 2934 | ignore_unavailable => "boolean", | ||||||||||||||||||||
| 2935 | master_timeout => "time", | ||||||||||||||||||||
| 2936 | }, | ||||||||||||||||||||
| 2937 | }, | ||||||||||||||||||||
| 2938 | |||||||||||||||||||||
| 2939 | 'snapshot.verify_repository' => { | ||||||||||||||||||||
| 2940 | doc => "modules-snapshots", | ||||||||||||||||||||
| 2941 | method => "POST", | ||||||||||||||||||||
| 2942 | parts => { repository => { required => 1 } }, | ||||||||||||||||||||
| 2943 | paths => [ | ||||||||||||||||||||
| 2944 | [ { repository => 1 }, "_snapshot", "{repository}", "_verify" ], | ||||||||||||||||||||
| 2945 | ], | ||||||||||||||||||||
| 2946 | qs => { | ||||||||||||||||||||
| 2947 | error_trace => "boolean", | ||||||||||||||||||||
| 2948 | filter_path => "list", | ||||||||||||||||||||
| 2949 | human => "boolean", | ||||||||||||||||||||
| 2950 | master_timeout => "time", | ||||||||||||||||||||
| 2951 | timeout => "time", | ||||||||||||||||||||
| 2952 | }, | ||||||||||||||||||||
| 2953 | }, | ||||||||||||||||||||
| 2954 | |||||||||||||||||||||
| 2955 | 'tasks.cancel' => { | ||||||||||||||||||||
| 2956 | doc => "tasks", | ||||||||||||||||||||
| 2957 | method => "POST", | ||||||||||||||||||||
| 2958 | parts => { task_id => {} }, | ||||||||||||||||||||
| 2959 | paths => [ | ||||||||||||||||||||
| 2960 | [ { task_id => 1 }, "_tasks", "{task_id}", "_cancel" ], | ||||||||||||||||||||
| 2961 | [ {}, "_tasks", "_cancel" ], | ||||||||||||||||||||
| 2962 | ], | ||||||||||||||||||||
| 2963 | qs => { | ||||||||||||||||||||
| 2964 | actions => "list", | ||||||||||||||||||||
| 2965 | error_trace => "boolean", | ||||||||||||||||||||
| 2966 | filter_path => "list", | ||||||||||||||||||||
| 2967 | human => "boolean", | ||||||||||||||||||||
| 2968 | nodes => "list", | ||||||||||||||||||||
| 2969 | parent_task_id => "string", | ||||||||||||||||||||
| 2970 | }, | ||||||||||||||||||||
| 2971 | }, | ||||||||||||||||||||
| 2972 | |||||||||||||||||||||
| 2973 | 'tasks.get' => { | ||||||||||||||||||||
| 2974 | doc => "tasks", | ||||||||||||||||||||
| 2975 | parts => { task_id => { required => 1 } }, | ||||||||||||||||||||
| 2976 | paths => [ [ { task_id => 1 }, "_tasks", "{task_id}" ] ], | ||||||||||||||||||||
| 2977 | qs => { | ||||||||||||||||||||
| 2978 | error_trace => "boolean", | ||||||||||||||||||||
| 2979 | filter_path => "list", | ||||||||||||||||||||
| 2980 | human => "boolean", | ||||||||||||||||||||
| 2981 | timeout => "time", | ||||||||||||||||||||
| 2982 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 2983 | }, | ||||||||||||||||||||
| 2984 | }, | ||||||||||||||||||||
| 2985 | |||||||||||||||||||||
| 2986 | 'tasks.list' => { | ||||||||||||||||||||
| 2987 | doc => "tasks", | ||||||||||||||||||||
| 2988 | parts => {}, | ||||||||||||||||||||
| 2989 | paths => [ [ {}, "_tasks" ] ], | ||||||||||||||||||||
| 2990 | qs => { | ||||||||||||||||||||
| 2991 | actions => "list", | ||||||||||||||||||||
| 2992 | detailed => "boolean", | ||||||||||||||||||||
| 2993 | error_trace => "boolean", | ||||||||||||||||||||
| 2994 | filter_path => "list", | ||||||||||||||||||||
| 2995 | group_by => "enum", | ||||||||||||||||||||
| 2996 | human => "boolean", | ||||||||||||||||||||
| 2997 | nodes => "list", | ||||||||||||||||||||
| 2998 | parent_task_id => "string", | ||||||||||||||||||||
| 2999 | timeout => "time", | ||||||||||||||||||||
| 3000 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 3001 | }, | ||||||||||||||||||||
| 3002 | }, | ||||||||||||||||||||
| 3003 | |||||||||||||||||||||
| 3004 | 'xpack.graph.explore' => { | ||||||||||||||||||||
| 3005 | body => {}, | ||||||||||||||||||||
| 3006 | doc => "graph-explore-api", | ||||||||||||||||||||
| 3007 | parts => { index => { multi => 1 }, type => { multi => 1 } }, | ||||||||||||||||||||
| 3008 | paths => [ | ||||||||||||||||||||
| 3009 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 3010 | "{type}", "_xpack", | ||||||||||||||||||||
| 3011 | "graph", "_explore", | ||||||||||||||||||||
| 3012 | ], | ||||||||||||||||||||
| 3013 | [ { index => 0 }, "{index}", "_xpack", "graph", "_explore" ], | ||||||||||||||||||||
| 3014 | ], | ||||||||||||||||||||
| 3015 | qs => { | ||||||||||||||||||||
| 3016 | error_trace => "boolean", | ||||||||||||||||||||
| 3017 | filter_path => "list", | ||||||||||||||||||||
| 3018 | human => "boolean", | ||||||||||||||||||||
| 3019 | routing => "string", | ||||||||||||||||||||
| 3020 | timeout => "time", | ||||||||||||||||||||
| 3021 | }, | ||||||||||||||||||||
| 3022 | }, | ||||||||||||||||||||
| 3023 | |||||||||||||||||||||
| 3024 | 'xpack.info' => { | ||||||||||||||||||||
| 3025 | doc => "info-api", | ||||||||||||||||||||
| 3026 | parts => {}, | ||||||||||||||||||||
| 3027 | paths => [ [ {}, "_xpack" ] ], | ||||||||||||||||||||
| 3028 | qs => { | ||||||||||||||||||||
| 3029 | categories => "list", | ||||||||||||||||||||
| 3030 | error_trace => "boolean", | ||||||||||||||||||||
| 3031 | filter_path => "list", | ||||||||||||||||||||
| 3032 | human => "boolean", | ||||||||||||||||||||
| 3033 | }, | ||||||||||||||||||||
| 3034 | }, | ||||||||||||||||||||
| 3035 | |||||||||||||||||||||
| 3036 | 'xpack.license.delete' => { | ||||||||||||||||||||
| 3037 | doc => "delete-license", | ||||||||||||||||||||
| 3038 | method => "DELETE", | ||||||||||||||||||||
| 3039 | parts => {}, | ||||||||||||||||||||
| 3040 | paths => [ [ {}, "_xpack", "license" ] ], | ||||||||||||||||||||
| 3041 | qs => { | ||||||||||||||||||||
| 3042 | error_trace => "boolean", | ||||||||||||||||||||
| 3043 | filter_path => "list", | ||||||||||||||||||||
| 3044 | human => "boolean" | ||||||||||||||||||||
| 3045 | }, | ||||||||||||||||||||
| 3046 | }, | ||||||||||||||||||||
| 3047 | |||||||||||||||||||||
| 3048 | 'xpack.license.get' => { | ||||||||||||||||||||
| 3049 | doc => "get-license", | ||||||||||||||||||||
| 3050 | parts => {}, | ||||||||||||||||||||
| 3051 | paths => [ [ {}, "_xpack", "license" ] ], | ||||||||||||||||||||
| 3052 | qs => { | ||||||||||||||||||||
| 3053 | error_trace => "boolean", | ||||||||||||||||||||
| 3054 | filter_path => "list", | ||||||||||||||||||||
| 3055 | human => "boolean", | ||||||||||||||||||||
| 3056 | local => "boolean", | ||||||||||||||||||||
| 3057 | }, | ||||||||||||||||||||
| 3058 | }, | ||||||||||||||||||||
| 3059 | |||||||||||||||||||||
| 3060 | 'xpack.license.get_basic_status' => { | ||||||||||||||||||||
| 3061 | doc => "get-trial-status", | ||||||||||||||||||||
| 3062 | parts => {}, | ||||||||||||||||||||
| 3063 | paths => [ [ {}, "_xpack", "license", "basic_status" ] ], | ||||||||||||||||||||
| 3064 | qs => { | ||||||||||||||||||||
| 3065 | error_trace => "boolean", | ||||||||||||||||||||
| 3066 | filter_path => "list", | ||||||||||||||||||||
| 3067 | human => "boolean" | ||||||||||||||||||||
| 3068 | }, | ||||||||||||||||||||
| 3069 | }, | ||||||||||||||||||||
| 3070 | |||||||||||||||||||||
| 3071 | 'xpack.license.get_trial_status' => { | ||||||||||||||||||||
| 3072 | doc => "get-basic-status", | ||||||||||||||||||||
| 3073 | parts => {}, | ||||||||||||||||||||
| 3074 | paths => [ [ {}, "_xpack", "license", "trial_status" ] ], | ||||||||||||||||||||
| 3075 | qs => { | ||||||||||||||||||||
| 3076 | error_trace => "boolean", | ||||||||||||||||||||
| 3077 | filter_path => "list", | ||||||||||||||||||||
| 3078 | human => "boolean" | ||||||||||||||||||||
| 3079 | }, | ||||||||||||||||||||
| 3080 | }, | ||||||||||||||||||||
| 3081 | |||||||||||||||||||||
| 3082 | 'xpack.license.post' => { | ||||||||||||||||||||
| 3083 | body => {}, | ||||||||||||||||||||
| 3084 | doc => "update-license", | ||||||||||||||||||||
| 3085 | method => "PUT", | ||||||||||||||||||||
| 3086 | parts => {}, | ||||||||||||||||||||
| 3087 | paths => [ [ {}, "_xpack", "license" ] ], | ||||||||||||||||||||
| 3088 | qs => { | ||||||||||||||||||||
| 3089 | acknowledge => "boolean", | ||||||||||||||||||||
| 3090 | error_trace => "boolean", | ||||||||||||||||||||
| 3091 | filter_path => "list", | ||||||||||||||||||||
| 3092 | human => "boolean", | ||||||||||||||||||||
| 3093 | }, | ||||||||||||||||||||
| 3094 | }, | ||||||||||||||||||||
| 3095 | |||||||||||||||||||||
| 3096 | 'xpack.license.post_start_basic' => { | ||||||||||||||||||||
| 3097 | doc => "start-basic", | ||||||||||||||||||||
| 3098 | method => "POST", | ||||||||||||||||||||
| 3099 | parts => {}, | ||||||||||||||||||||
| 3100 | paths => [ [ {}, "_xpack", "license", "start_basic" ] ], | ||||||||||||||||||||
| 3101 | qs => { | ||||||||||||||||||||
| 3102 | acknowledge => "boolean", | ||||||||||||||||||||
| 3103 | error_trace => "boolean", | ||||||||||||||||||||
| 3104 | filter_path => "list", | ||||||||||||||||||||
| 3105 | human => "boolean", | ||||||||||||||||||||
| 3106 | }, | ||||||||||||||||||||
| 3107 | }, | ||||||||||||||||||||
| 3108 | |||||||||||||||||||||
| 3109 | 'xpack.license.post_start_trial' => { | ||||||||||||||||||||
| 3110 | doc => "start-trial", | ||||||||||||||||||||
| 3111 | method => "POST", | ||||||||||||||||||||
| 3112 | parts => {}, | ||||||||||||||||||||
| 3113 | paths => [ [ {}, "_xpack", "license", "start_trial" ] ], | ||||||||||||||||||||
| 3114 | qs => { | ||||||||||||||||||||
| 3115 | acknowledge => "boolean", | ||||||||||||||||||||
| 3116 | error_trace => "boolean", | ||||||||||||||||||||
| 3117 | filter_path => "list", | ||||||||||||||||||||
| 3118 | human => "boolean", | ||||||||||||||||||||
| 3119 | type => "string", | ||||||||||||||||||||
| 3120 | }, | ||||||||||||||||||||
| 3121 | }, | ||||||||||||||||||||
| 3122 | |||||||||||||||||||||
| 3123 | 'xpack.migration.deprecations' => { | ||||||||||||||||||||
| 3124 | doc => "migration-api-deprecation", | ||||||||||||||||||||
| 3125 | parts => { index => {} }, | ||||||||||||||||||||
| 3126 | paths => [ | ||||||||||||||||||||
| 3127 | [ { index => 0 }, "{index}", "_xpack", "migration", | ||||||||||||||||||||
| 3128 | "deprecations" | ||||||||||||||||||||
| 3129 | ], | ||||||||||||||||||||
| 3130 | [ {}, "_xpack", "migration", "deprecations" ], | ||||||||||||||||||||
| 3131 | ], | ||||||||||||||||||||
| 3132 | qs => { | ||||||||||||||||||||
| 3133 | error_trace => "boolean", | ||||||||||||||||||||
| 3134 | filter_path => "list", | ||||||||||||||||||||
| 3135 | human => "boolean" | ||||||||||||||||||||
| 3136 | }, | ||||||||||||||||||||
| 3137 | }, | ||||||||||||||||||||
| 3138 | |||||||||||||||||||||
| 3139 | 'xpack.migration.get_assistance' => { | ||||||||||||||||||||
| 3140 | doc => "migration-api-assistance", | ||||||||||||||||||||
| 3141 | parts => { index => { multi => 1 } }, | ||||||||||||||||||||
| 3142 | paths => [ | ||||||||||||||||||||
| 3143 | [ { index => 3 }, "_xpack", "migration", "assistance", | ||||||||||||||||||||
| 3144 | "{index}" | ||||||||||||||||||||
| 3145 | ], | ||||||||||||||||||||
| 3146 | [ {}, "_xpack", "migration", "assistance" ], | ||||||||||||||||||||
| 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 | }, | ||||||||||||||||||||
| 3156 | }, | ||||||||||||||||||||
| 3157 | |||||||||||||||||||||
| 3158 | 'xpack.migration.upgrade' => { | ||||||||||||||||||||
| 3159 | doc => "migration-api-upgrade", | ||||||||||||||||||||
| 3160 | method => "POST", | ||||||||||||||||||||
| 3161 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 3162 | paths => [ | ||||||||||||||||||||
| 3163 | [ { index => 3 }, "_xpack", "migration", "upgrade", "{index}" ], | ||||||||||||||||||||
| 3164 | ], | ||||||||||||||||||||
| 3165 | qs => { | ||||||||||||||||||||
| 3166 | error_trace => "boolean", | ||||||||||||||||||||
| 3167 | filter_path => "list", | ||||||||||||||||||||
| 3168 | human => "boolean", | ||||||||||||||||||||
| 3169 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 3170 | }, | ||||||||||||||||||||
| 3171 | }, | ||||||||||||||||||||
| 3172 | |||||||||||||||||||||
| 3173 | 'xpack.ml.close_job' => { | ||||||||||||||||||||
| 3174 | body => {}, | ||||||||||||||||||||
| 3175 | doc => "ml-close-job", | ||||||||||||||||||||
| 3176 | method => "POST", | ||||||||||||||||||||
| 3177 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3178 | paths => [ | ||||||||||||||||||||
| 3179 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3180 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3181 | "{job_id}", "_close", | ||||||||||||||||||||
| 3182 | ], | ||||||||||||||||||||
| 3183 | ], | ||||||||||||||||||||
| 3184 | qs => { | ||||||||||||||||||||
| 3185 | allow_no_jobs => "boolean", | ||||||||||||||||||||
| 3186 | error_trace => "boolean", | ||||||||||||||||||||
| 3187 | filter_path => "list", | ||||||||||||||||||||
| 3188 | force => "boolean", | ||||||||||||||||||||
| 3189 | human => "boolean", | ||||||||||||||||||||
| 3190 | timeout => "time", | ||||||||||||||||||||
| 3191 | }, | ||||||||||||||||||||
| 3192 | }, | ||||||||||||||||||||
| 3193 | |||||||||||||||||||||
| 3194 | 'xpack.ml.delete_calendar' => { | ||||||||||||||||||||
| 3195 | method => "DELETE", | ||||||||||||||||||||
| 3196 | parts => { calendar_id => { required => 1 } }, | ||||||||||||||||||||
| 3197 | paths => [ | ||||||||||||||||||||
| 3198 | [ { calendar_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3199 | "ml", "calendars", | ||||||||||||||||||||
| 3200 | "{calendar_id}", | ||||||||||||||||||||
| 3201 | ], | ||||||||||||||||||||
| 3202 | ], | ||||||||||||||||||||
| 3203 | qs => { | ||||||||||||||||||||
| 3204 | error_trace => "boolean", | ||||||||||||||||||||
| 3205 | filter_path => "list", | ||||||||||||||||||||
| 3206 | human => "boolean" | ||||||||||||||||||||
| 3207 | }, | ||||||||||||||||||||
| 3208 | }, | ||||||||||||||||||||
| 3209 | |||||||||||||||||||||
| 3210 | 'xpack.ml.delete_calendar_event' => { | ||||||||||||||||||||
| 3211 | method => "DELETE", | ||||||||||||||||||||
| 3212 | parts => { | ||||||||||||||||||||
| 3213 | calendar_id => { required => 1 }, | ||||||||||||||||||||
| 3214 | event_id => { required => 1 } | ||||||||||||||||||||
| 3215 | }, | ||||||||||||||||||||
| 3216 | paths => [ | ||||||||||||||||||||
| 3217 | [ { calendar_id => 3, event_id => 5 }, | ||||||||||||||||||||
| 3218 | "_xpack", "ml", "calendars", "{calendar_id}", "events", | ||||||||||||||||||||
| 3219 | "{event_id}", | ||||||||||||||||||||
| 3220 | ], | ||||||||||||||||||||
| 3221 | ], | ||||||||||||||||||||
| 3222 | qs => { | ||||||||||||||||||||
| 3223 | error_trace => "boolean", | ||||||||||||||||||||
| 3224 | filter_path => "list", | ||||||||||||||||||||
| 3225 | human => "boolean" | ||||||||||||||||||||
| 3226 | }, | ||||||||||||||||||||
| 3227 | }, | ||||||||||||||||||||
| 3228 | |||||||||||||||||||||
| 3229 | 'xpack.ml.delete_calendar_job' => { | ||||||||||||||||||||
| 3230 | method => "DELETE", | ||||||||||||||||||||
| 3231 | parts => | ||||||||||||||||||||
| 3232 | { calendar_id => { required => 1 }, job_id => { required => 1 } }, | ||||||||||||||||||||
| 3233 | paths => [ | ||||||||||||||||||||
| 3234 | [ { calendar_id => 3, job_id => 5 }, | ||||||||||||||||||||
| 3235 | "_xpack", "ml", "calendars", "{calendar_id}", "jobs", | ||||||||||||||||||||
| 3236 | "{job_id}", | ||||||||||||||||||||
| 3237 | ], | ||||||||||||||||||||
| 3238 | ], | ||||||||||||||||||||
| 3239 | qs => { | ||||||||||||||||||||
| 3240 | error_trace => "boolean", | ||||||||||||||||||||
| 3241 | filter_path => "list", | ||||||||||||||||||||
| 3242 | human => "boolean" | ||||||||||||||||||||
| 3243 | }, | ||||||||||||||||||||
| 3244 | }, | ||||||||||||||||||||
| 3245 | |||||||||||||||||||||
| 3246 | 'xpack.ml.delete_datafeed' => { | ||||||||||||||||||||
| 3247 | doc => "ml-delete-datafeed", | ||||||||||||||||||||
| 3248 | method => "DELETE", | ||||||||||||||||||||
| 3249 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3250 | paths => [ | ||||||||||||||||||||
| 3251 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3252 | "ml", "datafeeds", | ||||||||||||||||||||
| 3253 | "{datafeed_id}", | ||||||||||||||||||||
| 3254 | ], | ||||||||||||||||||||
| 3255 | ], | ||||||||||||||||||||
| 3256 | qs => { | ||||||||||||||||||||
| 3257 | error_trace => "boolean", | ||||||||||||||||||||
| 3258 | filter_path => "list", | ||||||||||||||||||||
| 3259 | force => "boolean", | ||||||||||||||||||||
| 3260 | human => "boolean", | ||||||||||||||||||||
| 3261 | }, | ||||||||||||||||||||
| 3262 | }, | ||||||||||||||||||||
| 3263 | |||||||||||||||||||||
| 3264 | 'xpack.ml.delete_expired_data' => { | ||||||||||||||||||||
| 3265 | method => "DELETE", | ||||||||||||||||||||
| 3266 | parts => {}, | ||||||||||||||||||||
| 3267 | paths => [ [ {}, "_xpack", "ml", "_delete_expired_data" ] ], | ||||||||||||||||||||
| 3268 | qs => { | ||||||||||||||||||||
| 3269 | error_trace => "boolean", | ||||||||||||||||||||
| 3270 | filter_path => "list", | ||||||||||||||||||||
| 3271 | human => "boolean" | ||||||||||||||||||||
| 3272 | }, | ||||||||||||||||||||
| 3273 | }, | ||||||||||||||||||||
| 3274 | |||||||||||||||||||||
| 3275 | 'xpack.ml.delete_filter' => { | ||||||||||||||||||||
| 3276 | method => "DELETE", | ||||||||||||||||||||
| 3277 | parts => { filter_id => { required => 1 } }, | ||||||||||||||||||||
| 3278 | paths => [ | ||||||||||||||||||||
| 3279 | [ { filter_id => 3 }, "_xpack", "ml", "filters", "{filter_id}" ], | ||||||||||||||||||||
| 3280 | ], | ||||||||||||||||||||
| 3281 | qs => { | ||||||||||||||||||||
| 3282 | error_trace => "boolean", | ||||||||||||||||||||
| 3283 | filter_path => "list", | ||||||||||||||||||||
| 3284 | human => "boolean" | ||||||||||||||||||||
| 3285 | }, | ||||||||||||||||||||
| 3286 | }, | ||||||||||||||||||||
| 3287 | |||||||||||||||||||||
| 3288 | 'xpack.ml.delete_forecast' => { | ||||||||||||||||||||
| 3289 | doc => "ml-delete-forecast", | ||||||||||||||||||||
| 3290 | method => "DELETE", | ||||||||||||||||||||
| 3291 | parts => { forecast_id => {}, job_id => { required => 1 } }, | ||||||||||||||||||||
| 3292 | paths => [ | ||||||||||||||||||||
| 3293 | [ { forecast_id => 5, job_id => 3 }, | ||||||||||||||||||||
| 3294 | "_xpack", "ml", "anomaly_detectors", "{job_id}", "_forecast", | ||||||||||||||||||||
| 3295 | "{forecast_id}", | ||||||||||||||||||||
| 3296 | ], | ||||||||||||||||||||
| 3297 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3298 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3299 | "{job_id}", "_forecast", | ||||||||||||||||||||
| 3300 | ], | ||||||||||||||||||||
| 3301 | ], | ||||||||||||||||||||
| 3302 | qs => { | ||||||||||||||||||||
| 3303 | allow_no_forecasts => "boolean", | ||||||||||||||||||||
| 3304 | error_trace => "boolean", | ||||||||||||||||||||
| 3305 | filter_path => "list", | ||||||||||||||||||||
| 3306 | human => "boolean", | ||||||||||||||||||||
| 3307 | timeout => "time", | ||||||||||||||||||||
| 3308 | }, | ||||||||||||||||||||
| 3309 | }, | ||||||||||||||||||||
| 3310 | |||||||||||||||||||||
| 3311 | 'xpack.ml.delete_job' => { | ||||||||||||||||||||
| 3312 | doc => "ml-delete-job", | ||||||||||||||||||||
| 3313 | method => "DELETE", | ||||||||||||||||||||
| 3314 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3315 | paths => [ | ||||||||||||||||||||
| 3316 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3317 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3318 | "{job_id}" | ||||||||||||||||||||
| 3319 | ], | ||||||||||||||||||||
| 3320 | ], | ||||||||||||||||||||
| 3321 | qs => { | ||||||||||||||||||||
| 3322 | error_trace => "boolean", | ||||||||||||||||||||
| 3323 | filter_path => "list", | ||||||||||||||||||||
| 3324 | force => "boolean", | ||||||||||||||||||||
| 3325 | human => "boolean", | ||||||||||||||||||||
| 3326 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 3327 | }, | ||||||||||||||||||||
| 3328 | }, | ||||||||||||||||||||
| 3329 | |||||||||||||||||||||
| 3330 | 'xpack.ml.delete_model_snapshot' => { | ||||||||||||||||||||
| 3331 | doc => "ml-delete-snapshot", | ||||||||||||||||||||
| 3332 | method => "DELETE", | ||||||||||||||||||||
| 3333 | parts => | ||||||||||||||||||||
| 3334 | { job_id => { required => 1 }, snapshot_id => { required => 1 } }, | ||||||||||||||||||||
| 3335 | paths => [ | ||||||||||||||||||||
| 3336 | [ { job_id => 3, snapshot_id => 5 }, | ||||||||||||||||||||
| 3337 | "_xpack", "ml", "anomaly_detectors", "{job_id}", | ||||||||||||||||||||
| 3338 | "model_snapshots", "{snapshot_id}", | ||||||||||||||||||||
| 3339 | ], | ||||||||||||||||||||
| 3340 | ], | ||||||||||||||||||||
| 3341 | qs => { | ||||||||||||||||||||
| 3342 | error_trace => "boolean", | ||||||||||||||||||||
| 3343 | filter_path => "list", | ||||||||||||||||||||
| 3344 | human => "boolean" | ||||||||||||||||||||
| 3345 | }, | ||||||||||||||||||||
| 3346 | }, | ||||||||||||||||||||
| 3347 | |||||||||||||||||||||
| 3348 | 'xpack.ml.find_file_structure' => { | ||||||||||||||||||||
| 3349 | body => { required => 1 }, | ||||||||||||||||||||
| 3350 | doc => "ml-find-file-structure", | ||||||||||||||||||||
| 3351 | method => "POST", | ||||||||||||||||||||
| 3352 | parts => {}, | ||||||||||||||||||||
| 3353 | paths => [ [ {}, "_xpack", "ml", "find_file_structure" ] ], | ||||||||||||||||||||
| 3354 | qs => { | ||||||||||||||||||||
| 3355 | charset => "string", | ||||||||||||||||||||
| 3356 | column_names => "list", | ||||||||||||||||||||
| 3357 | delimiter => "string", | ||||||||||||||||||||
| 3358 | error_trace => "boolean", | ||||||||||||||||||||
| 3359 | explain => "boolean", | ||||||||||||||||||||
| 3360 | filter_path => "list", | ||||||||||||||||||||
| 3361 | format => "enum", | ||||||||||||||||||||
| 3362 | grok_pattern => "string", | ||||||||||||||||||||
| 3363 | has_header_row => "boolean", | ||||||||||||||||||||
| 3364 | human => "boolean", | ||||||||||||||||||||
| 3365 | lines_to_sample => "int", | ||||||||||||||||||||
| 3366 | quote => "string", | ||||||||||||||||||||
| 3367 | should_trim_fields => "boolean", | ||||||||||||||||||||
| 3368 | timeout => "time", | ||||||||||||||||||||
| 3369 | timestamp_field => "string", | ||||||||||||||||||||
| 3370 | timestamp_format => "string", | ||||||||||||||||||||
| 3371 | }, | ||||||||||||||||||||
| 3372 | serialize => "bulk", | ||||||||||||||||||||
| 3373 | }, | ||||||||||||||||||||
| 3374 | |||||||||||||||||||||
| 3375 | 'xpack.ml.flush_job' => { | ||||||||||||||||||||
| 3376 | body => {}, | ||||||||||||||||||||
| 3377 | doc => "ml-flush-job", | ||||||||||||||||||||
| 3378 | method => "POST", | ||||||||||||||||||||
| 3379 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3380 | paths => [ | ||||||||||||||||||||
| 3381 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3382 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3383 | "{job_id}", "_flush", | ||||||||||||||||||||
| 3384 | ], | ||||||||||||||||||||
| 3385 | ], | ||||||||||||||||||||
| 3386 | qs => { | ||||||||||||||||||||
| 3387 | advance_time => "string", | ||||||||||||||||||||
| 3388 | calc_interim => "boolean", | ||||||||||||||||||||
| 3389 | end => "string", | ||||||||||||||||||||
| 3390 | error_trace => "boolean", | ||||||||||||||||||||
| 3391 | filter_path => "list", | ||||||||||||||||||||
| 3392 | human => "boolean", | ||||||||||||||||||||
| 3393 | skip_time => "string", | ||||||||||||||||||||
| 3394 | start => "string", | ||||||||||||||||||||
| 3395 | }, | ||||||||||||||||||||
| 3396 | }, | ||||||||||||||||||||
| 3397 | |||||||||||||||||||||
| 3398 | 'xpack.ml.forecast' => { | ||||||||||||||||||||
| 3399 | method => "POST", | ||||||||||||||||||||
| 3400 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3401 | paths => [ | ||||||||||||||||||||
| 3402 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3403 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3404 | "{job_id}", "_forecast", | ||||||||||||||||||||
| 3405 | ], | ||||||||||||||||||||
| 3406 | ], | ||||||||||||||||||||
| 3407 | qs => { | ||||||||||||||||||||
| 3408 | duration => "time", | ||||||||||||||||||||
| 3409 | error_trace => "boolean", | ||||||||||||||||||||
| 3410 | expires_in => "time", | ||||||||||||||||||||
| 3411 | filter_path => "list", | ||||||||||||||||||||
| 3412 | human => "boolean", | ||||||||||||||||||||
| 3413 | }, | ||||||||||||||||||||
| 3414 | }, | ||||||||||||||||||||
| 3415 | |||||||||||||||||||||
| 3416 | 'xpack.ml.get_buckets' => { | ||||||||||||||||||||
| 3417 | body => {}, | ||||||||||||||||||||
| 3418 | doc => "ml-get-bucket", | ||||||||||||||||||||
| 3419 | parts => { job_id => { required => 1 }, timestamp => {} }, | ||||||||||||||||||||
| 3420 | paths => [ | ||||||||||||||||||||
| 3421 | [ { job_id => 3, timestamp => 6 }, | ||||||||||||||||||||
| 3422 | "_xpack", "ml", "anomaly_detectors", "{job_id}", "results", | ||||||||||||||||||||
| 3423 | "buckets", "{timestamp}", | ||||||||||||||||||||
| 3424 | ], | ||||||||||||||||||||
| 3425 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3426 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3427 | "{job_id}", "results", | ||||||||||||||||||||
| 3428 | "buckets", | ||||||||||||||||||||
| 3429 | ], | ||||||||||||||||||||
| 3430 | ], | ||||||||||||||||||||
| 3431 | qs => { | ||||||||||||||||||||
| 3432 | anomaly_score => "double", | ||||||||||||||||||||
| 3433 | desc => "boolean", | ||||||||||||||||||||
| 3434 | end => "string", | ||||||||||||||||||||
| 3435 | error_trace => "boolean", | ||||||||||||||||||||
| 3436 | exclude_interim => "boolean", | ||||||||||||||||||||
| 3437 | expand => "boolean", | ||||||||||||||||||||
| 3438 | filter_path => "list", | ||||||||||||||||||||
| 3439 | from => "int", | ||||||||||||||||||||
| 3440 | human => "boolean", | ||||||||||||||||||||
| 3441 | size => "int", | ||||||||||||||||||||
| 3442 | sort => "string", | ||||||||||||||||||||
| 3443 | start => "string", | ||||||||||||||||||||
| 3444 | }, | ||||||||||||||||||||
| 3445 | }, | ||||||||||||||||||||
| 3446 | |||||||||||||||||||||
| 3447 | 'xpack.ml.get_calendar_events' => { | ||||||||||||||||||||
| 3448 | parts => { calendar_id => { required => 1 } }, | ||||||||||||||||||||
| 3449 | paths => [ | ||||||||||||||||||||
| 3450 | [ { calendar_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3451 | "ml", "calendars", | ||||||||||||||||||||
| 3452 | "{calendar_id}", "events", | ||||||||||||||||||||
| 3453 | ], | ||||||||||||||||||||
| 3454 | ], | ||||||||||||||||||||
| 3455 | qs => { | ||||||||||||||||||||
| 3456 | end => "time", | ||||||||||||||||||||
| 3457 | error_trace => "boolean", | ||||||||||||||||||||
| 3458 | filter_path => "list", | ||||||||||||||||||||
| 3459 | from => "int", | ||||||||||||||||||||
| 3460 | human => "boolean", | ||||||||||||||||||||
| 3461 | job_id => "string", | ||||||||||||||||||||
| 3462 | size => "int", | ||||||||||||||||||||
| 3463 | start => "string", | ||||||||||||||||||||
| 3464 | }, | ||||||||||||||||||||
| 3465 | }, | ||||||||||||||||||||
| 3466 | |||||||||||||||||||||
| 3467 | 'xpack.ml.get_calendars' => { | ||||||||||||||||||||
| 3468 | parts => { calendar_id => {} }, | ||||||||||||||||||||
| 3469 | paths => [ | ||||||||||||||||||||
| 3470 | [ { calendar_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3471 | "ml", "calendars", | ||||||||||||||||||||
| 3472 | "{calendar_id}", | ||||||||||||||||||||
| 3473 | ], | ||||||||||||||||||||
| 3474 | [ {}, "_xpack", "ml", "calendars" ], | ||||||||||||||||||||
| 3475 | ], | ||||||||||||||||||||
| 3476 | qs => { | ||||||||||||||||||||
| 3477 | error_trace => "boolean", | ||||||||||||||||||||
| 3478 | filter_path => "list", | ||||||||||||||||||||
| 3479 | from => "int", | ||||||||||||||||||||
| 3480 | human => "boolean", | ||||||||||||||||||||
| 3481 | size => "int", | ||||||||||||||||||||
| 3482 | }, | ||||||||||||||||||||
| 3483 | }, | ||||||||||||||||||||
| 3484 | |||||||||||||||||||||
| 3485 | 'xpack.ml.get_categories' => { | ||||||||||||||||||||
| 3486 | body => {}, | ||||||||||||||||||||
| 3487 | doc => "ml-get-category", | ||||||||||||||||||||
| 3488 | parts => { category_id => {}, job_id => { required => 1 } }, | ||||||||||||||||||||
| 3489 | paths => [ | ||||||||||||||||||||
| 3490 | [ { category_id => 6, job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3491 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3492 | "{job_id}", "results", | ||||||||||||||||||||
| 3493 | "categories", "{category_id}", | ||||||||||||||||||||
| 3494 | ], | ||||||||||||||||||||
| 3495 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3496 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3497 | "{job_id}", "results", | ||||||||||||||||||||
| 3498 | "categories", | ||||||||||||||||||||
| 3499 | ], | ||||||||||||||||||||
| 3500 | ], | ||||||||||||||||||||
| 3501 | qs => { | ||||||||||||||||||||
| 3502 | error_trace => "boolean", | ||||||||||||||||||||
| 3503 | filter_path => "list", | ||||||||||||||||||||
| 3504 | from => "int", | ||||||||||||||||||||
| 3505 | human => "boolean", | ||||||||||||||||||||
| 3506 | size => "int", | ||||||||||||||||||||
| 3507 | }, | ||||||||||||||||||||
| 3508 | }, | ||||||||||||||||||||
| 3509 | |||||||||||||||||||||
| 3510 | 'xpack.ml.get_datafeed_stats' => { | ||||||||||||||||||||
| 3511 | doc => "ml-get-datafeed-stats", | ||||||||||||||||||||
| 3512 | parts => { datafeed_id => {} }, | ||||||||||||||||||||
| 3513 | paths => [ | ||||||||||||||||||||
| 3514 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3515 | "ml", "datafeeds", | ||||||||||||||||||||
| 3516 | "{datafeed_id}", "_stats", | ||||||||||||||||||||
| 3517 | ], | ||||||||||||||||||||
| 3518 | [ {}, "_xpack", "ml", "datafeeds", "_stats" ], | ||||||||||||||||||||
| 3519 | ], | ||||||||||||||||||||
| 3520 | qs => { | ||||||||||||||||||||
| 3521 | allow_no_datafeeds => "boolean", | ||||||||||||||||||||
| 3522 | error_trace => "boolean", | ||||||||||||||||||||
| 3523 | filter_path => "list", | ||||||||||||||||||||
| 3524 | human => "boolean", | ||||||||||||||||||||
| 3525 | }, | ||||||||||||||||||||
| 3526 | }, | ||||||||||||||||||||
| 3527 | |||||||||||||||||||||
| 3528 | 'xpack.ml.get_datafeeds' => { | ||||||||||||||||||||
| 3529 | doc => "ml-get-datafeed", | ||||||||||||||||||||
| 3530 | parts => { datafeed_id => {} }, | ||||||||||||||||||||
| 3531 | paths => [ | ||||||||||||||||||||
| 3532 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3533 | "ml", "datafeeds", | ||||||||||||||||||||
| 3534 | "{datafeed_id}", | ||||||||||||||||||||
| 3535 | ], | ||||||||||||||||||||
| 3536 | [ {}, "_xpack", "ml", "datafeeds" ], | ||||||||||||||||||||
| 3537 | ], | ||||||||||||||||||||
| 3538 | qs => { | ||||||||||||||||||||
| 3539 | allow_no_datafeeds => "boolean", | ||||||||||||||||||||
| 3540 | error_trace => "boolean", | ||||||||||||||||||||
| 3541 | filter_path => "list", | ||||||||||||||||||||
| 3542 | human => "boolean", | ||||||||||||||||||||
| 3543 | }, | ||||||||||||||||||||
| 3544 | }, | ||||||||||||||||||||
| 3545 | |||||||||||||||||||||
| 3546 | 'xpack.ml.get_filters' => { | ||||||||||||||||||||
| 3547 | parts => { filter_id => {} }, | ||||||||||||||||||||
| 3548 | paths => [ | ||||||||||||||||||||
| 3549 | [ { filter_id => 3 }, "_xpack", "ml", "filters", "{filter_id}" ], | ||||||||||||||||||||
| 3550 | [ {}, "_xpack", "ml", "filters" ], | ||||||||||||||||||||
| 3551 | ], | ||||||||||||||||||||
| 3552 | qs => { | ||||||||||||||||||||
| 3553 | error_trace => "boolean", | ||||||||||||||||||||
| 3554 | filter_path => "list", | ||||||||||||||||||||
| 3555 | from => "int", | ||||||||||||||||||||
| 3556 | human => "boolean", | ||||||||||||||||||||
| 3557 | size => "int", | ||||||||||||||||||||
| 3558 | }, | ||||||||||||||||||||
| 3559 | }, | ||||||||||||||||||||
| 3560 | |||||||||||||||||||||
| 3561 | 'xpack.ml.get_influencers' => { | ||||||||||||||||||||
| 3562 | body => {}, | ||||||||||||||||||||
| 3563 | doc => "ml-get-influencer", | ||||||||||||||||||||
| 3564 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3565 | paths => [ | ||||||||||||||||||||
| 3566 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3567 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3568 | "{job_id}", "results", | ||||||||||||||||||||
| 3569 | "influencers", | ||||||||||||||||||||
| 3570 | ], | ||||||||||||||||||||
| 3571 | ], | ||||||||||||||||||||
| 3572 | qs => { | ||||||||||||||||||||
| 3573 | desc => "boolean", | ||||||||||||||||||||
| 3574 | end => "string", | ||||||||||||||||||||
| 3575 | error_trace => "boolean", | ||||||||||||||||||||
| 3576 | exclude_interim => "boolean", | ||||||||||||||||||||
| 3577 | filter_path => "list", | ||||||||||||||||||||
| 3578 | from => "int", | ||||||||||||||||||||
| 3579 | human => "boolean", | ||||||||||||||||||||
| 3580 | influencer_score => "double", | ||||||||||||||||||||
| 3581 | size => "int", | ||||||||||||||||||||
| 3582 | sort => "string", | ||||||||||||||||||||
| 3583 | start => "string", | ||||||||||||||||||||
| 3584 | }, | ||||||||||||||||||||
| 3585 | }, | ||||||||||||||||||||
| 3586 | |||||||||||||||||||||
| 3587 | 'xpack.ml.get_job_stats' => { | ||||||||||||||||||||
| 3588 | doc => "ml-get-job-stats", | ||||||||||||||||||||
| 3589 | parts => { job_id => {} }, | ||||||||||||||||||||
| 3590 | paths => [ | ||||||||||||||||||||
| 3591 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3592 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3593 | "{job_id}", "_stats", | ||||||||||||||||||||
| 3594 | ], | ||||||||||||||||||||
| 3595 | [ {}, "_xpack", "ml", "anomaly_detectors", "_stats" ], | ||||||||||||||||||||
| 3596 | ], | ||||||||||||||||||||
| 3597 | qs => { | ||||||||||||||||||||
| 3598 | allow_no_jobs => "boolean", | ||||||||||||||||||||
| 3599 | error_trace => "boolean", | ||||||||||||||||||||
| 3600 | filter_path => "list", | ||||||||||||||||||||
| 3601 | human => "boolean", | ||||||||||||||||||||
| 3602 | }, | ||||||||||||||||||||
| 3603 | }, | ||||||||||||||||||||
| 3604 | |||||||||||||||||||||
| 3605 | 'xpack.ml.get_jobs' => { | ||||||||||||||||||||
| 3606 | doc => "ml-get-job", | ||||||||||||||||||||
| 3607 | parts => { job_id => {} }, | ||||||||||||||||||||
| 3608 | paths => [ | ||||||||||||||||||||
| 3609 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3610 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3611 | "{job_id}" | ||||||||||||||||||||
| 3612 | ], | ||||||||||||||||||||
| 3613 | [ {}, "_xpack", "ml", "anomaly_detectors" ], | ||||||||||||||||||||
| 3614 | ], | ||||||||||||||||||||
| 3615 | qs => { | ||||||||||||||||||||
| 3616 | allow_no_jobs => "boolean", | ||||||||||||||||||||
| 3617 | error_trace => "boolean", | ||||||||||||||||||||
| 3618 | filter_path => "list", | ||||||||||||||||||||
| 3619 | human => "boolean", | ||||||||||||||||||||
| 3620 | }, | ||||||||||||||||||||
| 3621 | }, | ||||||||||||||||||||
| 3622 | |||||||||||||||||||||
| 3623 | 'xpack.ml.get_model_snapshots' => { | ||||||||||||||||||||
| 3624 | body => {}, | ||||||||||||||||||||
| 3625 | doc => "ml-get-snapshot", | ||||||||||||||||||||
| 3626 | parts => { job_id => { required => 1 }, snapshot_id => {} }, | ||||||||||||||||||||
| 3627 | paths => [ | ||||||||||||||||||||
| 3628 | [ { job_id => 3, snapshot_id => 5 }, | ||||||||||||||||||||
| 3629 | "_xpack", "ml", "anomaly_detectors", "{job_id}", | ||||||||||||||||||||
| 3630 | "model_snapshots", "{snapshot_id}", | ||||||||||||||||||||
| 3631 | ], | ||||||||||||||||||||
| 3632 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3633 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3634 | "{job_id}", "model_snapshots", | ||||||||||||||||||||
| 3635 | ], | ||||||||||||||||||||
| 3636 | ], | ||||||||||||||||||||
| 3637 | qs => { | ||||||||||||||||||||
| 3638 | desc => "boolean", | ||||||||||||||||||||
| 3639 | end => "time", | ||||||||||||||||||||
| 3640 | error_trace => "boolean", | ||||||||||||||||||||
| 3641 | filter_path => "list", | ||||||||||||||||||||
| 3642 | from => "int", | ||||||||||||||||||||
| 3643 | human => "boolean", | ||||||||||||||||||||
| 3644 | size => "int", | ||||||||||||||||||||
| 3645 | sort => "string", | ||||||||||||||||||||
| 3646 | start => "time", | ||||||||||||||||||||
| 3647 | }, | ||||||||||||||||||||
| 3648 | }, | ||||||||||||||||||||
| 3649 | |||||||||||||||||||||
| 3650 | 'xpack.ml.get_overall_buckets' => { | ||||||||||||||||||||
| 3651 | body => {}, | ||||||||||||||||||||
| 3652 | doc => "ml-get-overall-buckets", | ||||||||||||||||||||
| 3653 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3654 | paths => [ | ||||||||||||||||||||
| 3655 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3656 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3657 | "{job_id}", "results", | ||||||||||||||||||||
| 3658 | "overall_buckets", | ||||||||||||||||||||
| 3659 | ], | ||||||||||||||||||||
| 3660 | ], | ||||||||||||||||||||
| 3661 | qs => { | ||||||||||||||||||||
| 3662 | allow_no_jobs => "boolean", | ||||||||||||||||||||
| 3663 | bucket_span => "string", | ||||||||||||||||||||
| 3664 | end => "string", | ||||||||||||||||||||
| 3665 | error_trace => "boolean", | ||||||||||||||||||||
| 3666 | exclude_interim => "boolean", | ||||||||||||||||||||
| 3667 | filter_path => "list", | ||||||||||||||||||||
| 3668 | human => "boolean", | ||||||||||||||||||||
| 3669 | overall_score => "double", | ||||||||||||||||||||
| 3670 | start => "string", | ||||||||||||||||||||
| 3671 | top_n => "int", | ||||||||||||||||||||
| 3672 | }, | ||||||||||||||||||||
| 3673 | }, | ||||||||||||||||||||
| 3674 | |||||||||||||||||||||
| 3675 | 'xpack.ml.get_records' => { | ||||||||||||||||||||
| 3676 | body => {}, | ||||||||||||||||||||
| 3677 | doc => "ml-get-record", | ||||||||||||||||||||
| 3678 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3679 | paths => [ | ||||||||||||||||||||
| 3680 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3681 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3682 | "{job_id}", "results", | ||||||||||||||||||||
| 3683 | "records", | ||||||||||||||||||||
| 3684 | ], | ||||||||||||||||||||
| 3685 | ], | ||||||||||||||||||||
| 3686 | qs => { | ||||||||||||||||||||
| 3687 | desc => "boolean", | ||||||||||||||||||||
| 3688 | end => "string", | ||||||||||||||||||||
| 3689 | error_trace => "boolean", | ||||||||||||||||||||
| 3690 | exclude_interim => "boolean", | ||||||||||||||||||||
| 3691 | filter_path => "list", | ||||||||||||||||||||
| 3692 | from => "int", | ||||||||||||||||||||
| 3693 | human => "boolean", | ||||||||||||||||||||
| 3694 | record_score => "double", | ||||||||||||||||||||
| 3695 | size => "int", | ||||||||||||||||||||
| 3696 | sort => "string", | ||||||||||||||||||||
| 3697 | start => "string", | ||||||||||||||||||||
| 3698 | }, | ||||||||||||||||||||
| 3699 | }, | ||||||||||||||||||||
| 3700 | |||||||||||||||||||||
| 3701 | 'xpack.ml.info' => { | ||||||||||||||||||||
| 3702 | parts => {}, | ||||||||||||||||||||
| 3703 | paths => [ [ {}, "_xpack", "ml", "info" ] ], | ||||||||||||||||||||
| 3704 | qs => { | ||||||||||||||||||||
| 3705 | error_trace => "boolean", | ||||||||||||||||||||
| 3706 | filter_path => "list", | ||||||||||||||||||||
| 3707 | human => "boolean" | ||||||||||||||||||||
| 3708 | }, | ||||||||||||||||||||
| 3709 | }, | ||||||||||||||||||||
| 3710 | |||||||||||||||||||||
| 3711 | 'xpack.ml.open_job' => { | ||||||||||||||||||||
| 3712 | doc => "ml-open-job", | ||||||||||||||||||||
| 3713 | method => "POST", | ||||||||||||||||||||
| 3714 | parts => { | ||||||||||||||||||||
| 3715 | ignore_downtime => {}, | ||||||||||||||||||||
| 3716 | job_id => { required => 1 }, | ||||||||||||||||||||
| 3717 | timeout => {} | ||||||||||||||||||||
| 3718 | }, | ||||||||||||||||||||
| 3719 | paths => [ | ||||||||||||||||||||
| 3720 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3721 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3722 | "{job_id}", "_open", | ||||||||||||||||||||
| 3723 | ], | ||||||||||||||||||||
| 3724 | ], | ||||||||||||||||||||
| 3725 | qs => { | ||||||||||||||||||||
| 3726 | error_trace => "boolean", | ||||||||||||||||||||
| 3727 | filter_path => "list", | ||||||||||||||||||||
| 3728 | human => "boolean" | ||||||||||||||||||||
| 3729 | }, | ||||||||||||||||||||
| 3730 | }, | ||||||||||||||||||||
| 3731 | |||||||||||||||||||||
| 3732 | 'xpack.ml.post_calendar_events' => { | ||||||||||||||||||||
| 3733 | body => { required => 1 }, | ||||||||||||||||||||
| 3734 | method => "POST", | ||||||||||||||||||||
| 3735 | parts => { calendar_id => { required => 1 } }, | ||||||||||||||||||||
| 3736 | paths => [ | ||||||||||||||||||||
| 3737 | [ { calendar_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3738 | "ml", "calendars", | ||||||||||||||||||||
| 3739 | "{calendar_id}", "events", | ||||||||||||||||||||
| 3740 | ], | ||||||||||||||||||||
| 3741 | ], | ||||||||||||||||||||
| 3742 | qs => { | ||||||||||||||||||||
| 3743 | error_trace => "boolean", | ||||||||||||||||||||
| 3744 | filter_path => "list", | ||||||||||||||||||||
| 3745 | human => "boolean" | ||||||||||||||||||||
| 3746 | }, | ||||||||||||||||||||
| 3747 | }, | ||||||||||||||||||||
| 3748 | |||||||||||||||||||||
| 3749 | 'xpack.ml.post_data' => { | ||||||||||||||||||||
| 3750 | body => { required => 1 }, | ||||||||||||||||||||
| 3751 | doc => "ml-post-data", | ||||||||||||||||||||
| 3752 | method => "POST", | ||||||||||||||||||||
| 3753 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3754 | paths => [ | ||||||||||||||||||||
| 3755 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3756 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3757 | "{job_id}", "_data", | ||||||||||||||||||||
| 3758 | ], | ||||||||||||||||||||
| 3759 | ], | ||||||||||||||||||||
| 3760 | qs => { | ||||||||||||||||||||
| 3761 | error_trace => "boolean", | ||||||||||||||||||||
| 3762 | filter_path => "list", | ||||||||||||||||||||
| 3763 | human => "boolean", | ||||||||||||||||||||
| 3764 | reset_end => "string", | ||||||||||||||||||||
| 3765 | reset_start => "string", | ||||||||||||||||||||
| 3766 | }, | ||||||||||||||||||||
| 3767 | serialize => "bulk", | ||||||||||||||||||||
| 3768 | }, | ||||||||||||||||||||
| 3769 | |||||||||||||||||||||
| 3770 | 'xpack.ml.preview_datafeed' => { | ||||||||||||||||||||
| 3771 | doc => "ml-preview-datafeed", | ||||||||||||||||||||
| 3772 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3773 | paths => [ | ||||||||||||||||||||
| 3774 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3775 | "ml", "datafeeds", | ||||||||||||||||||||
| 3776 | "{datafeed_id}", "_preview", | ||||||||||||||||||||
| 3777 | ], | ||||||||||||||||||||
| 3778 | ], | ||||||||||||||||||||
| 3779 | qs => { | ||||||||||||||||||||
| 3780 | error_trace => "boolean", | ||||||||||||||||||||
| 3781 | filter_path => "list", | ||||||||||||||||||||
| 3782 | human => "boolean" | ||||||||||||||||||||
| 3783 | }, | ||||||||||||||||||||
| 3784 | }, | ||||||||||||||||||||
| 3785 | |||||||||||||||||||||
| 3786 | 'xpack.ml.put_calendar' => { | ||||||||||||||||||||
| 3787 | body => {}, | ||||||||||||||||||||
| 3788 | method => "PUT", | ||||||||||||||||||||
| 3789 | parts => { calendar_id => { required => 1 } }, | ||||||||||||||||||||
| 3790 | paths => [ | ||||||||||||||||||||
| 3791 | [ { calendar_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3792 | "ml", "calendars", | ||||||||||||||||||||
| 3793 | "{calendar_id}", | ||||||||||||||||||||
| 3794 | ], | ||||||||||||||||||||
| 3795 | ], | ||||||||||||||||||||
| 3796 | qs => { | ||||||||||||||||||||
| 3797 | error_trace => "boolean", | ||||||||||||||||||||
| 3798 | filter_path => "list", | ||||||||||||||||||||
| 3799 | human => "boolean" | ||||||||||||||||||||
| 3800 | }, | ||||||||||||||||||||
| 3801 | }, | ||||||||||||||||||||
| 3802 | |||||||||||||||||||||
| 3803 | 'xpack.ml.put_calendar_job' => { | ||||||||||||||||||||
| 3804 | method => "PUT", | ||||||||||||||||||||
| 3805 | parts => | ||||||||||||||||||||
| 3806 | { calendar_id => { required => 1 }, job_id => { required => 1 } }, | ||||||||||||||||||||
| 3807 | paths => [ | ||||||||||||||||||||
| 3808 | [ { calendar_id => 3, job_id => 5 }, | ||||||||||||||||||||
| 3809 | "_xpack", "ml", "calendars", "{calendar_id}", "jobs", | ||||||||||||||||||||
| 3810 | "{job_id}", | ||||||||||||||||||||
| 3811 | ], | ||||||||||||||||||||
| 3812 | ], | ||||||||||||||||||||
| 3813 | qs => { | ||||||||||||||||||||
| 3814 | error_trace => "boolean", | ||||||||||||||||||||
| 3815 | filter_path => "list", | ||||||||||||||||||||
| 3816 | human => "boolean" | ||||||||||||||||||||
| 3817 | }, | ||||||||||||||||||||
| 3818 | }, | ||||||||||||||||||||
| 3819 | |||||||||||||||||||||
| 3820 | 'xpack.ml.put_datafeed' => { | ||||||||||||||||||||
| 3821 | body => { required => 1 }, | ||||||||||||||||||||
| 3822 | doc => "ml-put-datafeed", | ||||||||||||||||||||
| 3823 | method => "PUT", | ||||||||||||||||||||
| 3824 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3825 | paths => [ | ||||||||||||||||||||
| 3826 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3827 | "ml", "datafeeds", | ||||||||||||||||||||
| 3828 | "{datafeed_id}", | ||||||||||||||||||||
| 3829 | ], | ||||||||||||||||||||
| 3830 | ], | ||||||||||||||||||||
| 3831 | qs => { | ||||||||||||||||||||
| 3832 | error_trace => "boolean", | ||||||||||||||||||||
| 3833 | filter_path => "list", | ||||||||||||||||||||
| 3834 | human => "boolean" | ||||||||||||||||||||
| 3835 | }, | ||||||||||||||||||||
| 3836 | }, | ||||||||||||||||||||
| 3837 | |||||||||||||||||||||
| 3838 | 'xpack.ml.put_filter' => { | ||||||||||||||||||||
| 3839 | body => { required => 1 }, | ||||||||||||||||||||
| 3840 | method => "PUT", | ||||||||||||||||||||
| 3841 | parts => { filter_id => { required => 1 } }, | ||||||||||||||||||||
| 3842 | paths => [ | ||||||||||||||||||||
| 3843 | [ { filter_id => 3 }, "_xpack", "ml", "filters", "{filter_id}" ], | ||||||||||||||||||||
| 3844 | ], | ||||||||||||||||||||
| 3845 | qs => { | ||||||||||||||||||||
| 3846 | error_trace => "boolean", | ||||||||||||||||||||
| 3847 | filter_path => "list", | ||||||||||||||||||||
| 3848 | human => "boolean" | ||||||||||||||||||||
| 3849 | }, | ||||||||||||||||||||
| 3850 | }, | ||||||||||||||||||||
| 3851 | |||||||||||||||||||||
| 3852 | 'xpack.ml.put_job' => { | ||||||||||||||||||||
| 3853 | body => { required => 1 }, | ||||||||||||||||||||
| 3854 | doc => "ml-put-job", | ||||||||||||||||||||
| 3855 | method => "PUT", | ||||||||||||||||||||
| 3856 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3857 | paths => [ | ||||||||||||||||||||
| 3858 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3859 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3860 | "{job_id}" | ||||||||||||||||||||
| 3861 | ], | ||||||||||||||||||||
| 3862 | ], | ||||||||||||||||||||
| 3863 | qs => { | ||||||||||||||||||||
| 3864 | error_trace => "boolean", | ||||||||||||||||||||
| 3865 | filter_path => "list", | ||||||||||||||||||||
| 3866 | human => "boolean" | ||||||||||||||||||||
| 3867 | }, | ||||||||||||||||||||
| 3868 | }, | ||||||||||||||||||||
| 3869 | |||||||||||||||||||||
| 3870 | 'xpack.ml.revert_model_snapshot' => { | ||||||||||||||||||||
| 3871 | body => {}, | ||||||||||||||||||||
| 3872 | doc => "ml-revert-snapshot", | ||||||||||||||||||||
| 3873 | method => "POST", | ||||||||||||||||||||
| 3874 | parts => | ||||||||||||||||||||
| 3875 | { job_id => { required => 1 }, snapshot_id => { required => 1 } }, | ||||||||||||||||||||
| 3876 | paths => [ | ||||||||||||||||||||
| 3877 | [ { job_id => 3, snapshot_id => 5 }, "_xpack", | ||||||||||||||||||||
| 3878 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3879 | "{job_id}", "model_snapshots", | ||||||||||||||||||||
| 3880 | "{snapshot_id}", "_revert", | ||||||||||||||||||||
| 3881 | ], | ||||||||||||||||||||
| 3882 | ], | ||||||||||||||||||||
| 3883 | qs => { | ||||||||||||||||||||
| 3884 | delete_intervening_results => "boolean", | ||||||||||||||||||||
| 3885 | error_trace => "boolean", | ||||||||||||||||||||
| 3886 | filter_path => "list", | ||||||||||||||||||||
| 3887 | human => "boolean", | ||||||||||||||||||||
| 3888 | }, | ||||||||||||||||||||
| 3889 | }, | ||||||||||||||||||||
| 3890 | |||||||||||||||||||||
| 3891 | 'xpack.ml.set_upgrade_mode' => { | ||||||||||||||||||||
| 3892 | doc => "ml-set-upgrade-mode", | ||||||||||||||||||||
| 3893 | method => "POST", | ||||||||||||||||||||
| 3894 | parts => {}, | ||||||||||||||||||||
| 3895 | paths => [ [ {}, "_xpack", "ml", "set_upgrade_mode" ] ], | ||||||||||||||||||||
| 3896 | qs => { | ||||||||||||||||||||
| 3897 | enabled => "boolean", | ||||||||||||||||||||
| 3898 | error_trace => "boolean", | ||||||||||||||||||||
| 3899 | filter_path => "list", | ||||||||||||||||||||
| 3900 | human => "boolean", | ||||||||||||||||||||
| 3901 | timeout => "time", | ||||||||||||||||||||
| 3902 | }, | ||||||||||||||||||||
| 3903 | }, | ||||||||||||||||||||
| 3904 | |||||||||||||||||||||
| 3905 | 'xpack.ml.start_datafeed' => { | ||||||||||||||||||||
| 3906 | body => {}, | ||||||||||||||||||||
| 3907 | doc => "ml-start-datafeed", | ||||||||||||||||||||
| 3908 | method => "POST", | ||||||||||||||||||||
| 3909 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3910 | paths => [ | ||||||||||||||||||||
| 3911 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3912 | "ml", "datafeeds", | ||||||||||||||||||||
| 3913 | "{datafeed_id}", "_start", | ||||||||||||||||||||
| 3914 | ], | ||||||||||||||||||||
| 3915 | ], | ||||||||||||||||||||
| 3916 | qs => { | ||||||||||||||||||||
| 3917 | end => "string", | ||||||||||||||||||||
| 3918 | error_trace => "boolean", | ||||||||||||||||||||
| 3919 | filter_path => "list", | ||||||||||||||||||||
| 3920 | human => "boolean", | ||||||||||||||||||||
| 3921 | start => "string", | ||||||||||||||||||||
| 3922 | timeout => "time", | ||||||||||||||||||||
| 3923 | }, | ||||||||||||||||||||
| 3924 | }, | ||||||||||||||||||||
| 3925 | |||||||||||||||||||||
| 3926 | 'xpack.ml.stop_datafeed' => { | ||||||||||||||||||||
| 3927 | doc => "ml-stop-datafeed", | ||||||||||||||||||||
| 3928 | method => "POST", | ||||||||||||||||||||
| 3929 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3930 | paths => [ | ||||||||||||||||||||
| 3931 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3932 | "ml", "datafeeds", | ||||||||||||||||||||
| 3933 | "{datafeed_id}", "_stop", | ||||||||||||||||||||
| 3934 | ], | ||||||||||||||||||||
| 3935 | ], | ||||||||||||||||||||
| 3936 | qs => { | ||||||||||||||||||||
| 3937 | allow_no_datafeeds => "boolean", | ||||||||||||||||||||
| 3938 | error_trace => "boolean", | ||||||||||||||||||||
| 3939 | filter_path => "list", | ||||||||||||||||||||
| 3940 | force => "boolean", | ||||||||||||||||||||
| 3941 | human => "boolean", | ||||||||||||||||||||
| 3942 | timeout => "time", | ||||||||||||||||||||
| 3943 | }, | ||||||||||||||||||||
| 3944 | }, | ||||||||||||||||||||
| 3945 | |||||||||||||||||||||
| 3946 | 'xpack.ml.update_datafeed' => { | ||||||||||||||||||||
| 3947 | body => { required => 1 }, | ||||||||||||||||||||
| 3948 | doc => "ml-update-datafeed", | ||||||||||||||||||||
| 3949 | method => "POST", | ||||||||||||||||||||
| 3950 | parts => { datafeed_id => { required => 1 } }, | ||||||||||||||||||||
| 3951 | paths => [ | ||||||||||||||||||||
| 3952 | [ { datafeed_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3953 | "ml", "datafeeds", | ||||||||||||||||||||
| 3954 | "{datafeed_id}", "_update", | ||||||||||||||||||||
| 3955 | ], | ||||||||||||||||||||
| 3956 | ], | ||||||||||||||||||||
| 3957 | qs => { | ||||||||||||||||||||
| 3958 | error_trace => "boolean", | ||||||||||||||||||||
| 3959 | filter_path => "list", | ||||||||||||||||||||
| 3960 | human => "boolean" | ||||||||||||||||||||
| 3961 | }, | ||||||||||||||||||||
| 3962 | }, | ||||||||||||||||||||
| 3963 | |||||||||||||||||||||
| 3964 | 'xpack.ml.update_filter' => { | ||||||||||||||||||||
| 3965 | body => { required => 1 }, | ||||||||||||||||||||
| 3966 | method => "POST", | ||||||||||||||||||||
| 3967 | parts => { filter_id => { required => 1 } }, | ||||||||||||||||||||
| 3968 | paths => [ | ||||||||||||||||||||
| 3969 | [ { filter_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3970 | "ml", "filters", | ||||||||||||||||||||
| 3971 | "{filter_id}", "_update", | ||||||||||||||||||||
| 3972 | ], | ||||||||||||||||||||
| 3973 | ], | ||||||||||||||||||||
| 3974 | qs => { | ||||||||||||||||||||
| 3975 | error_trace => "boolean", | ||||||||||||||||||||
| 3976 | filter_path => "list", | ||||||||||||||||||||
| 3977 | human => "boolean" | ||||||||||||||||||||
| 3978 | }, | ||||||||||||||||||||
| 3979 | }, | ||||||||||||||||||||
| 3980 | |||||||||||||||||||||
| 3981 | 'xpack.ml.update_job' => { | ||||||||||||||||||||
| 3982 | body => { required => 1 }, | ||||||||||||||||||||
| 3983 | doc => "ml-update-job", | ||||||||||||||||||||
| 3984 | method => "POST", | ||||||||||||||||||||
| 3985 | parts => { job_id => { required => 1 } }, | ||||||||||||||||||||
| 3986 | paths => [ | ||||||||||||||||||||
| 3987 | [ { job_id => 3 }, "_xpack", | ||||||||||||||||||||
| 3988 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 3989 | "{job_id}", "_update", | ||||||||||||||||||||
| 3990 | ], | ||||||||||||||||||||
| 3991 | ], | ||||||||||||||||||||
| 3992 | qs => { | ||||||||||||||||||||
| 3993 | error_trace => "boolean", | ||||||||||||||||||||
| 3994 | filter_path => "list", | ||||||||||||||||||||
| 3995 | human => "boolean" | ||||||||||||||||||||
| 3996 | }, | ||||||||||||||||||||
| 3997 | }, | ||||||||||||||||||||
| 3998 | |||||||||||||||||||||
| 3999 | 'xpack.ml.update_model_snapshot' => { | ||||||||||||||||||||
| 4000 | body => { required => 1 }, | ||||||||||||||||||||
| 4001 | doc => "ml-update-snapshot", | ||||||||||||||||||||
| 4002 | method => "POST", | ||||||||||||||||||||
| 4003 | parts => | ||||||||||||||||||||
| 4004 | { job_id => { required => 1 }, snapshot_id => { required => 1 } }, | ||||||||||||||||||||
| 4005 | paths => [ | ||||||||||||||||||||
| 4006 | [ { job_id => 3, snapshot_id => 5 }, "_xpack", | ||||||||||||||||||||
| 4007 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 4008 | "{job_id}", "model_snapshots", | ||||||||||||||||||||
| 4009 | "{snapshot_id}", "_update", | ||||||||||||||||||||
| 4010 | ], | ||||||||||||||||||||
| 4011 | ], | ||||||||||||||||||||
| 4012 | qs => { | ||||||||||||||||||||
| 4013 | error_trace => "boolean", | ||||||||||||||||||||
| 4014 | filter_path => "list", | ||||||||||||||||||||
| 4015 | human => "boolean" | ||||||||||||||||||||
| 4016 | }, | ||||||||||||||||||||
| 4017 | }, | ||||||||||||||||||||
| 4018 | |||||||||||||||||||||
| 4019 | 'xpack.ml.validate' => { | ||||||||||||||||||||
| 4020 | body => { required => 1 }, | ||||||||||||||||||||
| 4021 | method => "POST", | ||||||||||||||||||||
| 4022 | parts => {}, | ||||||||||||||||||||
| 4023 | paths => [ [ {}, "_xpack", "ml", "anomaly_detectors", "_validate" ] ], | ||||||||||||||||||||
| 4024 | qs => { | ||||||||||||||||||||
| 4025 | error_trace => "boolean", | ||||||||||||||||||||
| 4026 | filter_path => "list", | ||||||||||||||||||||
| 4027 | human => "boolean" | ||||||||||||||||||||
| 4028 | }, | ||||||||||||||||||||
| 4029 | }, | ||||||||||||||||||||
| 4030 | |||||||||||||||||||||
| 4031 | 'xpack.ml.validate_detector' => { | ||||||||||||||||||||
| 4032 | body => { required => 1 }, | ||||||||||||||||||||
| 4033 | method => "POST", | ||||||||||||||||||||
| 4034 | parts => {}, | ||||||||||||||||||||
| 4035 | paths => [ | ||||||||||||||||||||
| 4036 | [ {}, "_xpack", | ||||||||||||||||||||
| 4037 | "ml", "anomaly_detectors", | ||||||||||||||||||||
| 4038 | "_validate", "detector" | ||||||||||||||||||||
| 4039 | ], | ||||||||||||||||||||
| 4040 | ], | ||||||||||||||||||||
| 4041 | qs => { | ||||||||||||||||||||
| 4042 | error_trace => "boolean", | ||||||||||||||||||||
| 4043 | filter_path => "list", | ||||||||||||||||||||
| 4044 | human => "boolean" | ||||||||||||||||||||
| 4045 | }, | ||||||||||||||||||||
| 4046 | }, | ||||||||||||||||||||
| 4047 | |||||||||||||||||||||
| 4048 | 'xpack.monitoring.bulk' => { | ||||||||||||||||||||
| 4049 | body => { required => 1 }, | ||||||||||||||||||||
| 4050 | doc => "es-monitoring", | ||||||||||||||||||||
| 4051 | method => "POST", | ||||||||||||||||||||
| 4052 | parts => { type => {} }, | ||||||||||||||||||||
| 4053 | paths => [ | ||||||||||||||||||||
| 4054 | [ { type => 2 }, "_xpack", "monitoring", "{type}", "_bulk" ], | ||||||||||||||||||||
| 4055 | [ {}, "_xpack", "monitoring", "_bulk" ], | ||||||||||||||||||||
| 4056 | ], | ||||||||||||||||||||
| 4057 | qs => { | ||||||||||||||||||||
| 4058 | error_trace => "boolean", | ||||||||||||||||||||
| 4059 | filter_path => "list", | ||||||||||||||||||||
| 4060 | human => "boolean", | ||||||||||||||||||||
| 4061 | interval => "string", | ||||||||||||||||||||
| 4062 | system_api_version => "string", | ||||||||||||||||||||
| 4063 | system_id => "string", | ||||||||||||||||||||
| 4064 | }, | ||||||||||||||||||||
| 4065 | serialize => "bulk", | ||||||||||||||||||||
| 4066 | }, | ||||||||||||||||||||
| 4067 | |||||||||||||||||||||
| 4068 | 'xpack.rollup.delete_job' => { | ||||||||||||||||||||
| 4069 | method => "DELETE", | ||||||||||||||||||||
| 4070 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4071 | paths => [ [ { id => 3 }, "_xpack", "rollup", "job", "{id}" ] ], | ||||||||||||||||||||
| 4072 | qs => { | ||||||||||||||||||||
| 4073 | error_trace => "boolean", | ||||||||||||||||||||
| 4074 | filter_path => "list", | ||||||||||||||||||||
| 4075 | human => "boolean" | ||||||||||||||||||||
| 4076 | }, | ||||||||||||||||||||
| 4077 | }, | ||||||||||||||||||||
| 4078 | |||||||||||||||||||||
| 4079 | 'xpack.rollup.get_jobs' => { | ||||||||||||||||||||
| 4080 | parts => { id => {} }, | ||||||||||||||||||||
| 4081 | paths => [ | ||||||||||||||||||||
| 4082 | [ { id => 3 }, "_xpack", "rollup", "job", "{id}" ], | ||||||||||||||||||||
| 4083 | [ {}, "_xpack", "rollup", "job" ], | ||||||||||||||||||||
| 4084 | ], | ||||||||||||||||||||
| 4085 | qs => { | ||||||||||||||||||||
| 4086 | error_trace => "boolean", | ||||||||||||||||||||
| 4087 | filter_path => "list", | ||||||||||||||||||||
| 4088 | human => "boolean" | ||||||||||||||||||||
| 4089 | }, | ||||||||||||||||||||
| 4090 | }, | ||||||||||||||||||||
| 4091 | |||||||||||||||||||||
| 4092 | 'xpack.rollup.get_rollup_caps' => { | ||||||||||||||||||||
| 4093 | parts => { id => {} }, | ||||||||||||||||||||
| 4094 | paths => [ | ||||||||||||||||||||
| 4095 | [ { id => 3 }, "_xpack", "rollup", "data", "{id}" ], | ||||||||||||||||||||
| 4096 | [ {}, "_xpack", "rollup", "data" ], | ||||||||||||||||||||
| 4097 | ], | ||||||||||||||||||||
| 4098 | qs => { | ||||||||||||||||||||
| 4099 | error_trace => "boolean", | ||||||||||||||||||||
| 4100 | filter_path => "list", | ||||||||||||||||||||
| 4101 | human => "boolean" | ||||||||||||||||||||
| 4102 | }, | ||||||||||||||||||||
| 4103 | }, | ||||||||||||||||||||
| 4104 | |||||||||||||||||||||
| 4105 | 'xpack.rollup.get_rollup_index_caps' => { | ||||||||||||||||||||
| 4106 | parts => { index => { required => 1 } }, | ||||||||||||||||||||
| 4107 | paths => | ||||||||||||||||||||
| 4108 | [ [ { index => 0 }, "{index}", "_xpack", "rollup", "data" ] ], | ||||||||||||||||||||
| 4109 | qs => { | ||||||||||||||||||||
| 4110 | error_trace => "boolean", | ||||||||||||||||||||
| 4111 | filter_path => "list", | ||||||||||||||||||||
| 4112 | human => "boolean" | ||||||||||||||||||||
| 4113 | }, | ||||||||||||||||||||
| 4114 | }, | ||||||||||||||||||||
| 4115 | |||||||||||||||||||||
| 4116 | 'xpack.rollup.put_job' => { | ||||||||||||||||||||
| 4117 | body => { required => 1 }, | ||||||||||||||||||||
| 4118 | method => "PUT", | ||||||||||||||||||||
| 4119 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4120 | paths => [ [ { id => 3 }, "_xpack", "rollup", "job", "{id}" ] ], | ||||||||||||||||||||
| 4121 | qs => { | ||||||||||||||||||||
| 4122 | error_trace => "boolean", | ||||||||||||||||||||
| 4123 | filter_path => "list", | ||||||||||||||||||||
| 4124 | human => "boolean" | ||||||||||||||||||||
| 4125 | }, | ||||||||||||||||||||
| 4126 | }, | ||||||||||||||||||||
| 4127 | |||||||||||||||||||||
| 4128 | 'xpack.rollup.rollup_search' => { | ||||||||||||||||||||
| 4129 | body => { required => 1 }, | ||||||||||||||||||||
| 4130 | parts => { index => { required => 1 }, type => {} }, | ||||||||||||||||||||
| 4131 | paths => [ | ||||||||||||||||||||
| 4132 | [ { index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 4133 | "{type}", "_rollup_search", | ||||||||||||||||||||
| 4134 | ], | ||||||||||||||||||||
| 4135 | [ { index => 0 }, "{index}", "_rollup_search" ], | ||||||||||||||||||||
| 4136 | ], | ||||||||||||||||||||
| 4137 | qs => { | ||||||||||||||||||||
| 4138 | error_trace => "boolean", | ||||||||||||||||||||
| 4139 | filter_path => "list", | ||||||||||||||||||||
| 4140 | human => "boolean", | ||||||||||||||||||||
| 4141 | typed_keys => "boolean", | ||||||||||||||||||||
| 4142 | }, | ||||||||||||||||||||
| 4143 | }, | ||||||||||||||||||||
| 4144 | |||||||||||||||||||||
| 4145 | 'xpack.rollup.start_job' => { | ||||||||||||||||||||
| 4146 | method => "POST", | ||||||||||||||||||||
| 4147 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4148 | paths => | ||||||||||||||||||||
| 4149 | [ [ { id => 3 }, "_xpack", "rollup", "job", "{id}", "_start" ] ], | ||||||||||||||||||||
| 4150 | qs => { | ||||||||||||||||||||
| 4151 | error_trace => "boolean", | ||||||||||||||||||||
| 4152 | filter_path => "list", | ||||||||||||||||||||
| 4153 | human => "boolean" | ||||||||||||||||||||
| 4154 | }, | ||||||||||||||||||||
| 4155 | }, | ||||||||||||||||||||
| 4156 | |||||||||||||||||||||
| 4157 | 'xpack.rollup.stop_job' => { | ||||||||||||||||||||
| 4158 | method => "POST", | ||||||||||||||||||||
| 4159 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4160 | paths => | ||||||||||||||||||||
| 4161 | [ [ { id => 3 }, "_xpack", "rollup", "job", "{id}", "_stop" ] ], | ||||||||||||||||||||
| 4162 | qs => { | ||||||||||||||||||||
| 4163 | error_trace => "boolean", | ||||||||||||||||||||
| 4164 | filter_path => "list", | ||||||||||||||||||||
| 4165 | human => "boolean", | ||||||||||||||||||||
| 4166 | timeout => "time", | ||||||||||||||||||||
| 4167 | wait_for_completion => "boolean", | ||||||||||||||||||||
| 4168 | }, | ||||||||||||||||||||
| 4169 | }, | ||||||||||||||||||||
| 4170 | |||||||||||||||||||||
| 4171 | 'xpack.security.authenticate' => { | ||||||||||||||||||||
| 4172 | doc => "security-api-authenticate", | ||||||||||||||||||||
| 4173 | parts => {}, | ||||||||||||||||||||
| 4174 | paths => [ [ {}, "_xpack", "security", "_authenticate" ] ], | ||||||||||||||||||||
| 4175 | qs => { | ||||||||||||||||||||
| 4176 | error_trace => "boolean", | ||||||||||||||||||||
| 4177 | filter_path => "list", | ||||||||||||||||||||
| 4178 | human => "boolean" | ||||||||||||||||||||
| 4179 | }, | ||||||||||||||||||||
| 4180 | }, | ||||||||||||||||||||
| 4181 | |||||||||||||||||||||
| 4182 | 'xpack.security.change_password' => { | ||||||||||||||||||||
| 4183 | body => { required => 1 }, | ||||||||||||||||||||
| 4184 | doc => "security-api-change-password", | ||||||||||||||||||||
| 4185 | method => "PUT", | ||||||||||||||||||||
| 4186 | parts => { username => {} }, | ||||||||||||||||||||
| 4187 | paths => [ | ||||||||||||||||||||
| 4188 | [ { username => 3 }, "_xpack", | ||||||||||||||||||||
| 4189 | "security", "user", | ||||||||||||||||||||
| 4190 | "{username}", "_password", | ||||||||||||||||||||
| 4191 | ], | ||||||||||||||||||||
| 4192 | [ {}, "_xpack", "security", "user", "_password" ], | ||||||||||||||||||||
| 4193 | ], | ||||||||||||||||||||
| 4194 | qs => { | ||||||||||||||||||||
| 4195 | error_trace => "boolean", | ||||||||||||||||||||
| 4196 | filter_path => "list", | ||||||||||||||||||||
| 4197 | human => "boolean", | ||||||||||||||||||||
| 4198 | refresh => "enum", | ||||||||||||||||||||
| 4199 | }, | ||||||||||||||||||||
| 4200 | }, | ||||||||||||||||||||
| 4201 | |||||||||||||||||||||
| 4202 | 'xpack.security.clear_cached_realms' => { | ||||||||||||||||||||
| 4203 | doc => "security-api-clear-cache", | ||||||||||||||||||||
| 4204 | method => "POST", | ||||||||||||||||||||
| 4205 | parts => { realms => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 4206 | paths => [ | ||||||||||||||||||||
| 4207 | [ { realms => 3 }, "_xpack", | ||||||||||||||||||||
| 4208 | "security", "realm", | ||||||||||||||||||||
| 4209 | "{realms}", "_clear_cache", | ||||||||||||||||||||
| 4210 | ], | ||||||||||||||||||||
| 4211 | ], | ||||||||||||||||||||
| 4212 | qs => { | ||||||||||||||||||||
| 4213 | error_trace => "boolean", | ||||||||||||||||||||
| 4214 | filter_path => "list", | ||||||||||||||||||||
| 4215 | human => "boolean", | ||||||||||||||||||||
| 4216 | usernames => "list", | ||||||||||||||||||||
| 4217 | }, | ||||||||||||||||||||
| 4218 | }, | ||||||||||||||||||||
| 4219 | |||||||||||||||||||||
| 4220 | 'xpack.security.clear_cached_roles' => { | ||||||||||||||||||||
| 4221 | doc => "security-api-clear-role-cache", | ||||||||||||||||||||
| 4222 | method => "POST", | ||||||||||||||||||||
| 4223 | parts => { name => { multi => 1, required => 1 } }, | ||||||||||||||||||||
| 4224 | paths => [ | ||||||||||||||||||||
| 4225 | [ { name => 3 }, "_xpack", | ||||||||||||||||||||
| 4226 | "security", "role", | ||||||||||||||||||||
| 4227 | "{name}", "_clear_cache", | ||||||||||||||||||||
| 4228 | ], | ||||||||||||||||||||
| 4229 | ], | ||||||||||||||||||||
| 4230 | qs => { | ||||||||||||||||||||
| 4231 | error_trace => "boolean", | ||||||||||||||||||||
| 4232 | filter_path => "list", | ||||||||||||||||||||
| 4233 | human => "boolean" | ||||||||||||||||||||
| 4234 | }, | ||||||||||||||||||||
| 4235 | }, | ||||||||||||||||||||
| 4236 | |||||||||||||||||||||
| 4237 | 'xpack.security.delete_privileges' => { | ||||||||||||||||||||
| 4238 | doc => "", | ||||||||||||||||||||
| 4239 | method => "DELETE", | ||||||||||||||||||||
| 4240 | parts => | ||||||||||||||||||||
| 4241 | { application => { required => 1 }, name => { required => 1 } }, | ||||||||||||||||||||
| 4242 | paths => [ | ||||||||||||||||||||
| 4243 | [ { application => 3, name => 4 }, "_xpack", | ||||||||||||||||||||
| 4244 | "security", "privilege", | ||||||||||||||||||||
| 4245 | "{application}", "{name}", | ||||||||||||||||||||
| 4246 | ], | ||||||||||||||||||||
| 4247 | ], | ||||||||||||||||||||
| 4248 | qs => { | ||||||||||||||||||||
| 4249 | error_trace => "boolean", | ||||||||||||||||||||
| 4250 | filter_path => "list", | ||||||||||||||||||||
| 4251 | human => "boolean", | ||||||||||||||||||||
| 4252 | refresh => "enum", | ||||||||||||||||||||
| 4253 | }, | ||||||||||||||||||||
| 4254 | }, | ||||||||||||||||||||
| 4255 | |||||||||||||||||||||
| 4256 | 'xpack.security.delete_role' => { | ||||||||||||||||||||
| 4257 | doc => "security-api-delete-role", | ||||||||||||||||||||
| 4258 | method => "DELETE", | ||||||||||||||||||||
| 4259 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 4260 | paths => | ||||||||||||||||||||
| 4261 | [ [ { name => 3 }, "_xpack", "security", "role", "{name}" ] ], | ||||||||||||||||||||
| 4262 | qs => { | ||||||||||||||||||||
| 4263 | error_trace => "boolean", | ||||||||||||||||||||
| 4264 | filter_path => "list", | ||||||||||||||||||||
| 4265 | human => "boolean", | ||||||||||||||||||||
| 4266 | refresh => "enum", | ||||||||||||||||||||
| 4267 | }, | ||||||||||||||||||||
| 4268 | }, | ||||||||||||||||||||
| 4269 | |||||||||||||||||||||
| 4270 | 'xpack.security.delete_role_mapping' => { | ||||||||||||||||||||
| 4271 | doc => "security-api-delete-role-mapping", | ||||||||||||||||||||
| 4272 | method => "DELETE", | ||||||||||||||||||||
| 4273 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 4274 | paths => [ | ||||||||||||||||||||
| 4275 | [ { name => 3 }, "_xpack", "security", "role_mapping", "{name}" ], | ||||||||||||||||||||
| 4276 | ], | ||||||||||||||||||||
| 4277 | qs => { | ||||||||||||||||||||
| 4278 | error_trace => "boolean", | ||||||||||||||||||||
| 4279 | filter_path => "list", | ||||||||||||||||||||
| 4280 | human => "boolean", | ||||||||||||||||||||
| 4281 | refresh => "enum", | ||||||||||||||||||||
| 4282 | }, | ||||||||||||||||||||
| 4283 | }, | ||||||||||||||||||||
| 4284 | |||||||||||||||||||||
| 4285 | 'xpack.security.delete_user' => { | ||||||||||||||||||||
| 4286 | doc => "security-api-delete-user", | ||||||||||||||||||||
| 4287 | method => "DELETE", | ||||||||||||||||||||
| 4288 | parts => { username => { required => 1 } }, | ||||||||||||||||||||
| 4289 | paths => [ | ||||||||||||||||||||
| 4290 | [ { username => 3 }, "_xpack", "security", "user", "{username}" ], | ||||||||||||||||||||
| 4291 | ], | ||||||||||||||||||||
| 4292 | qs => { | ||||||||||||||||||||
| 4293 | error_trace => "boolean", | ||||||||||||||||||||
| 4294 | filter_path => "list", | ||||||||||||||||||||
| 4295 | human => "boolean", | ||||||||||||||||||||
| 4296 | refresh => "enum", | ||||||||||||||||||||
| 4297 | }, | ||||||||||||||||||||
| 4298 | }, | ||||||||||||||||||||
| 4299 | |||||||||||||||||||||
| 4300 | 'xpack.security.disable_user' => { | ||||||||||||||||||||
| 4301 | doc => "security-api-disable-user", | ||||||||||||||||||||
| 4302 | method => "PUT", | ||||||||||||||||||||
| 4303 | parts => { username => { required => 1 } }, | ||||||||||||||||||||
| 4304 | paths => [ | ||||||||||||||||||||
| 4305 | [ { username => 3 }, "_xpack", | ||||||||||||||||||||
| 4306 | "security", "user", | ||||||||||||||||||||
| 4307 | "{username}", "_disable", | ||||||||||||||||||||
| 4308 | ], | ||||||||||||||||||||
| 4309 | ], | ||||||||||||||||||||
| 4310 | qs => { | ||||||||||||||||||||
| 4311 | error_trace => "boolean", | ||||||||||||||||||||
| 4312 | filter_path => "list", | ||||||||||||||||||||
| 4313 | human => "boolean", | ||||||||||||||||||||
| 4314 | refresh => "enum", | ||||||||||||||||||||
| 4315 | }, | ||||||||||||||||||||
| 4316 | }, | ||||||||||||||||||||
| 4317 | |||||||||||||||||||||
| 4318 | 'xpack.security.enable_user' => { | ||||||||||||||||||||
| 4319 | doc => "security-api-enable-user", | ||||||||||||||||||||
| 4320 | method => "PUT", | ||||||||||||||||||||
| 4321 | parts => { username => { required => 1 } }, | ||||||||||||||||||||
| 4322 | paths => [ | ||||||||||||||||||||
| 4323 | [ { username => 3 }, "_xpack", "security", "user", | ||||||||||||||||||||
| 4324 | "{username}", "_enable", | ||||||||||||||||||||
| 4325 | ], | ||||||||||||||||||||
| 4326 | ], | ||||||||||||||||||||
| 4327 | qs => { | ||||||||||||||||||||
| 4328 | error_trace => "boolean", | ||||||||||||||||||||
| 4329 | filter_path => "list", | ||||||||||||||||||||
| 4330 | human => "boolean", | ||||||||||||||||||||
| 4331 | refresh => "enum", | ||||||||||||||||||||
| 4332 | }, | ||||||||||||||||||||
| 4333 | }, | ||||||||||||||||||||
| 4334 | |||||||||||||||||||||
| 4335 | 'xpack.security.get_privileges' => { | ||||||||||||||||||||
| 4336 | doc => "", | ||||||||||||||||||||
| 4337 | parts => { application => {}, name => {} }, | ||||||||||||||||||||
| 4338 | paths => [ | ||||||||||||||||||||
| 4339 | [ { application => 3, name => 4 }, "_xpack", | ||||||||||||||||||||
| 4340 | "security", "privilege", | ||||||||||||||||||||
| 4341 | "{application}", "{name}", | ||||||||||||||||||||
| 4342 | ], | ||||||||||||||||||||
| 4343 | [ { application => 3 }, "_xpack", | ||||||||||||||||||||
| 4344 | "security", "privilege", | ||||||||||||||||||||
| 4345 | "{application}", | ||||||||||||||||||||
| 4346 | ], | ||||||||||||||||||||
| 4347 | [ {}, "_xpack", "security", "privilege" ], | ||||||||||||||||||||
| 4348 | ], | ||||||||||||||||||||
| 4349 | qs => { | ||||||||||||||||||||
| 4350 | error_trace => "boolean", | ||||||||||||||||||||
| 4351 | filter_path => "list", | ||||||||||||||||||||
| 4352 | human => "boolean" | ||||||||||||||||||||
| 4353 | }, | ||||||||||||||||||||
| 4354 | }, | ||||||||||||||||||||
| 4355 | |||||||||||||||||||||
| 4356 | 'xpack.security.get_role' => { | ||||||||||||||||||||
| 4357 | doc => "security-api-get-role", | ||||||||||||||||||||
| 4358 | parts => { name => {} }, | ||||||||||||||||||||
| 4359 | paths => [ | ||||||||||||||||||||
| 4360 | [ { name => 3 }, "_xpack", "security", "role", "{name}" ], | ||||||||||||||||||||
| 4361 | [ {}, "_xpack", "security", "role" ], | ||||||||||||||||||||
| 4362 | ], | ||||||||||||||||||||
| 4363 | qs => { | ||||||||||||||||||||
| 4364 | error_trace => "boolean", | ||||||||||||||||||||
| 4365 | filter_path => "list", | ||||||||||||||||||||
| 4366 | human => "boolean" | ||||||||||||||||||||
| 4367 | }, | ||||||||||||||||||||
| 4368 | }, | ||||||||||||||||||||
| 4369 | |||||||||||||||||||||
| 4370 | 'xpack.security.get_role_mapping' => { | ||||||||||||||||||||
| 4371 | doc => "security-api-get-role-mapping", | ||||||||||||||||||||
| 4372 | parts => { name => {} }, | ||||||||||||||||||||
| 4373 | paths => [ | ||||||||||||||||||||
| 4374 | [ { name => 3 }, "_xpack", "security", "role_mapping", "{name}" ], | ||||||||||||||||||||
| 4375 | [ {}, "_xpack", "security", "role_mapping" ], | ||||||||||||||||||||
| 4376 | ], | ||||||||||||||||||||
| 4377 | qs => { | ||||||||||||||||||||
| 4378 | error_trace => "boolean", | ||||||||||||||||||||
| 4379 | filter_path => "list", | ||||||||||||||||||||
| 4380 | human => "boolean" | ||||||||||||||||||||
| 4381 | }, | ||||||||||||||||||||
| 4382 | }, | ||||||||||||||||||||
| 4383 | |||||||||||||||||||||
| 4384 | 'xpack.security.get_token' => { | ||||||||||||||||||||
| 4385 | body => { required => 1 }, | ||||||||||||||||||||
| 4386 | doc => "security-api-get-token", | ||||||||||||||||||||
| 4387 | method => "POST", | ||||||||||||||||||||
| 4388 | parts => {}, | ||||||||||||||||||||
| 4389 | paths => [ [ {}, "_xpack", "security", "oauth2", "token" ] ], | ||||||||||||||||||||
| 4390 | qs => { | ||||||||||||||||||||
| 4391 | error_trace => "boolean", | ||||||||||||||||||||
| 4392 | filter_path => "list", | ||||||||||||||||||||
| 4393 | human => "boolean" | ||||||||||||||||||||
| 4394 | }, | ||||||||||||||||||||
| 4395 | }, | ||||||||||||||||||||
| 4396 | |||||||||||||||||||||
| 4397 | 'xpack.security.get_user' => { | ||||||||||||||||||||
| 4398 | doc => "security-api-get-user", | ||||||||||||||||||||
| 4399 | parts => { username => { multi => 1 } }, | ||||||||||||||||||||
| 4400 | paths => [ | ||||||||||||||||||||
| 4401 | [ { username => 3 }, "_xpack", "security", "user", "{username}" ], | ||||||||||||||||||||
| 4402 | [ {}, "_xpack", "security", "user" ], | ||||||||||||||||||||
| 4403 | ], | ||||||||||||||||||||
| 4404 | qs => { | ||||||||||||||||||||
| 4405 | error_trace => "boolean", | ||||||||||||||||||||
| 4406 | filter_path => "list", | ||||||||||||||||||||
| 4407 | human => "boolean" | ||||||||||||||||||||
| 4408 | }, | ||||||||||||||||||||
| 4409 | }, | ||||||||||||||||||||
| 4410 | |||||||||||||||||||||
| 4411 | 'xpack.security.get_user_privileges' => { | ||||||||||||||||||||
| 4412 | doc => "security-api-get-privileges", | ||||||||||||||||||||
| 4413 | parts => {}, | ||||||||||||||||||||
| 4414 | paths => [ [ {}, "_xpack", "security", "user", "_privileges" ] ], | ||||||||||||||||||||
| 4415 | qs => { | ||||||||||||||||||||
| 4416 | error_trace => "boolean", | ||||||||||||||||||||
| 4417 | filter_path => "list", | ||||||||||||||||||||
| 4418 | human => "boolean" | ||||||||||||||||||||
| 4419 | }, | ||||||||||||||||||||
| 4420 | }, | ||||||||||||||||||||
| 4421 | |||||||||||||||||||||
| 4422 | 'xpack.security.has_privileges' => { | ||||||||||||||||||||
| 4423 | body => { required => 1 }, | ||||||||||||||||||||
| 4424 | doc => "security-api-has-privileges", | ||||||||||||||||||||
| 4425 | parts => { user => {} }, | ||||||||||||||||||||
| 4426 | paths => [ | ||||||||||||||||||||
| 4427 | [ { user => 3 }, "_xpack", | ||||||||||||||||||||
| 4428 | "security", "user", | ||||||||||||||||||||
| 4429 | "{user}", "_has_privileges", | ||||||||||||||||||||
| 4430 | ], | ||||||||||||||||||||
| 4431 | [ {}, "_xpack", "security", "user", "_has_privileges" ], | ||||||||||||||||||||
| 4432 | ], | ||||||||||||||||||||
| 4433 | qs => { | ||||||||||||||||||||
| 4434 | error_trace => "boolean", | ||||||||||||||||||||
| 4435 | filter_path => "list", | ||||||||||||||||||||
| 4436 | human => "boolean" | ||||||||||||||||||||
| 4437 | }, | ||||||||||||||||||||
| 4438 | }, | ||||||||||||||||||||
| 4439 | |||||||||||||||||||||
| 4440 | 'xpack.security.invalidate_token' => { | ||||||||||||||||||||
| 4441 | body => { required => 1 }, | ||||||||||||||||||||
| 4442 | doc => "security-api-invalidate-token", | ||||||||||||||||||||
| 4443 | method => "DELETE", | ||||||||||||||||||||
| 4444 | parts => {}, | ||||||||||||||||||||
| 4445 | paths => [ [ {}, "_xpack", "security", "oauth2", "token" ] ], | ||||||||||||||||||||
| 4446 | qs => { | ||||||||||||||||||||
| 4447 | error_trace => "boolean", | ||||||||||||||||||||
| 4448 | filter_path => "list", | ||||||||||||||||||||
| 4449 | human => "boolean" | ||||||||||||||||||||
| 4450 | }, | ||||||||||||||||||||
| 4451 | }, | ||||||||||||||||||||
| 4452 | |||||||||||||||||||||
| 4453 | 'xpack.security.put_privileges' => { | ||||||||||||||||||||
| 4454 | body => { required => 1 }, | ||||||||||||||||||||
| 4455 | doc => "", | ||||||||||||||||||||
| 4456 | method => "PUT", | ||||||||||||||||||||
| 4457 | parts => {}, | ||||||||||||||||||||
| 4458 | paths => [ [ {}, "_xpack", "security", "privilege" ] ], | ||||||||||||||||||||
| 4459 | qs => { | ||||||||||||||||||||
| 4460 | error_trace => "boolean", | ||||||||||||||||||||
| 4461 | filter_path => "list", | ||||||||||||||||||||
| 4462 | human => "boolean", | ||||||||||||||||||||
| 4463 | refresh => "enum", | ||||||||||||||||||||
| 4464 | }, | ||||||||||||||||||||
| 4465 | }, | ||||||||||||||||||||
| 4466 | |||||||||||||||||||||
| 4467 | 'xpack.security.put_role' => { | ||||||||||||||||||||
| 4468 | body => { required => 1 }, | ||||||||||||||||||||
| 4469 | doc => "security-api-put-role", | ||||||||||||||||||||
| 4470 | method => "PUT", | ||||||||||||||||||||
| 4471 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 4472 | paths => | ||||||||||||||||||||
| 4473 | [ [ { name => 3 }, "_xpack", "security", "role", "{name}" ] ], | ||||||||||||||||||||
| 4474 | qs => { | ||||||||||||||||||||
| 4475 | error_trace => "boolean", | ||||||||||||||||||||
| 4476 | filter_path => "list", | ||||||||||||||||||||
| 4477 | human => "boolean", | ||||||||||||||||||||
| 4478 | refresh => "enum", | ||||||||||||||||||||
| 4479 | }, | ||||||||||||||||||||
| 4480 | }, | ||||||||||||||||||||
| 4481 | |||||||||||||||||||||
| 4482 | 'xpack.security.put_role_mapping' => { | ||||||||||||||||||||
| 4483 | body => { required => 1 }, | ||||||||||||||||||||
| 4484 | doc => "security-api-put-role-mapping", | ||||||||||||||||||||
| 4485 | method => "PUT", | ||||||||||||||||||||
| 4486 | parts => { name => { required => 1 } }, | ||||||||||||||||||||
| 4487 | paths => [ | ||||||||||||||||||||
| 4488 | [ { name => 3 }, "_xpack", "security", "role_mapping", "{name}" ], | ||||||||||||||||||||
| 4489 | ], | ||||||||||||||||||||
| 4490 | qs => { | ||||||||||||||||||||
| 4491 | error_trace => "boolean", | ||||||||||||||||||||
| 4492 | filter_path => "list", | ||||||||||||||||||||
| 4493 | human => "boolean", | ||||||||||||||||||||
| 4494 | refresh => "enum", | ||||||||||||||||||||
| 4495 | }, | ||||||||||||||||||||
| 4496 | }, | ||||||||||||||||||||
| 4497 | |||||||||||||||||||||
| 4498 | 'xpack.security.put_user' => { | ||||||||||||||||||||
| 4499 | body => { required => 1 }, | ||||||||||||||||||||
| 4500 | doc => "security-api-put-user", | ||||||||||||||||||||
| 4501 | method => "PUT", | ||||||||||||||||||||
| 4502 | parts => { username => { required => 1 } }, | ||||||||||||||||||||
| 4503 | paths => [ | ||||||||||||||||||||
| 4504 | [ { username => 3 }, "_xpack", "security", "user", "{username}" ], | ||||||||||||||||||||
| 4505 | ], | ||||||||||||||||||||
| 4506 | qs => { | ||||||||||||||||||||
| 4507 | error_trace => "boolean", | ||||||||||||||||||||
| 4508 | filter_path => "list", | ||||||||||||||||||||
| 4509 | human => "boolean", | ||||||||||||||||||||
| 4510 | refresh => "enum", | ||||||||||||||||||||
| 4511 | }, | ||||||||||||||||||||
| 4512 | }, | ||||||||||||||||||||
| 4513 | |||||||||||||||||||||
| 4514 | 'xpack.sql.clear_cursor' => { | ||||||||||||||||||||
| 4515 | body => { required => 1 }, | ||||||||||||||||||||
| 4516 | doc => "", | ||||||||||||||||||||
| 4517 | method => "POST", | ||||||||||||||||||||
| 4518 | parts => {}, | ||||||||||||||||||||
| 4519 | paths => [ [ {}, "_xpack", "sql", "close" ] ], | ||||||||||||||||||||
| 4520 | qs => { | ||||||||||||||||||||
| 4521 | error_trace => "boolean", | ||||||||||||||||||||
| 4522 | filter_path => "list", | ||||||||||||||||||||
| 4523 | human => "boolean" | ||||||||||||||||||||
| 4524 | }, | ||||||||||||||||||||
| 4525 | }, | ||||||||||||||||||||
| 4526 | |||||||||||||||||||||
| 4527 | 'xpack.sql.query' => { | ||||||||||||||||||||
| 4528 | body => { required => 1 }, | ||||||||||||||||||||
| 4529 | doc => "", | ||||||||||||||||||||
| 4530 | method => "POST", | ||||||||||||||||||||
| 4531 | parts => {}, | ||||||||||||||||||||
| 4532 | paths => [ [ {}, "_xpack", "sql" ] ], | ||||||||||||||||||||
| 4533 | qs => { | ||||||||||||||||||||
| 4534 | error_trace => "boolean", | ||||||||||||||||||||
| 4535 | filter_path => "list", | ||||||||||||||||||||
| 4536 | format => "string", | ||||||||||||||||||||
| 4537 | human => "boolean", | ||||||||||||||||||||
| 4538 | }, | ||||||||||||||||||||
| 4539 | }, | ||||||||||||||||||||
| 4540 | |||||||||||||||||||||
| 4541 | 'xpack.sql.translate' => { | ||||||||||||||||||||
| 4542 | body => { required => 1 }, | ||||||||||||||||||||
| 4543 | doc => "", | ||||||||||||||||||||
| 4544 | method => "POST", | ||||||||||||||||||||
| 4545 | parts => {}, | ||||||||||||||||||||
| 4546 | paths => [ [ {}, "_xpack", "sql", "translate" ] ], | ||||||||||||||||||||
| 4547 | qs => { | ||||||||||||||||||||
| 4548 | error_trace => "boolean", | ||||||||||||||||||||
| 4549 | filter_path => "list", | ||||||||||||||||||||
| 4550 | human => "boolean" | ||||||||||||||||||||
| 4551 | }, | ||||||||||||||||||||
| 4552 | }, | ||||||||||||||||||||
| 4553 | |||||||||||||||||||||
| 4554 | 'xpack.ssl.certificates' => { | ||||||||||||||||||||
| 4555 | doc => "security-api-ssl", | ||||||||||||||||||||
| 4556 | parts => {}, | ||||||||||||||||||||
| 4557 | paths => [ [ {}, "_xpack", "ssl", "certificates" ] ], | ||||||||||||||||||||
| 4558 | qs => { | ||||||||||||||||||||
| 4559 | error_trace => "boolean", | ||||||||||||||||||||
| 4560 | filter_path => "list", | ||||||||||||||||||||
| 4561 | human => "boolean" | ||||||||||||||||||||
| 4562 | }, | ||||||||||||||||||||
| 4563 | }, | ||||||||||||||||||||
| 4564 | |||||||||||||||||||||
| 4565 | 'xpack.usage' => { | ||||||||||||||||||||
| 4566 | doc => "", | ||||||||||||||||||||
| 4567 | parts => {}, | ||||||||||||||||||||
| 4568 | paths => [ [ {}, "_xpack", "usage" ] ], | ||||||||||||||||||||
| 4569 | qs => { | ||||||||||||||||||||
| 4570 | error_trace => "boolean", | ||||||||||||||||||||
| 4571 | filter_path => "list", | ||||||||||||||||||||
| 4572 | human => "boolean", | ||||||||||||||||||||
| 4573 | master_timeout => "time", | ||||||||||||||||||||
| 4574 | }, | ||||||||||||||||||||
| 4575 | }, | ||||||||||||||||||||
| 4576 | |||||||||||||||||||||
| 4577 | 'xpack.watcher.ack_watch' => { | ||||||||||||||||||||
| 4578 | doc => "watcher-api-ack-watch", | ||||||||||||||||||||
| 4579 | method => "PUT", | ||||||||||||||||||||
| 4580 | parts => | ||||||||||||||||||||
| 4581 | { action_id => { multi => 1 }, watch_id => { required => 1 } }, | ||||||||||||||||||||
| 4582 | paths => [ | ||||||||||||||||||||
| 4583 | [ { action_id => 5, watch_id => 3 }, "_xpack", | ||||||||||||||||||||
| 4584 | "watcher", "watch", | ||||||||||||||||||||
| 4585 | "{watch_id}", "_ack", | ||||||||||||||||||||
| 4586 | "{action_id}", | ||||||||||||||||||||
| 4587 | ], | ||||||||||||||||||||
| 4588 | [ { watch_id => 3 }, "_xpack", "watcher", "watch", | ||||||||||||||||||||
| 4589 | "{watch_id}", "_ack", | ||||||||||||||||||||
| 4590 | ], | ||||||||||||||||||||
| 4591 | ], | ||||||||||||||||||||
| 4592 | qs => { | ||||||||||||||||||||
| 4593 | error_trace => "boolean", | ||||||||||||||||||||
| 4594 | filter_path => "list", | ||||||||||||||||||||
| 4595 | human => "boolean", | ||||||||||||||||||||
| 4596 | master_timeout => "time", | ||||||||||||||||||||
| 4597 | }, | ||||||||||||||||||||
| 4598 | }, | ||||||||||||||||||||
| 4599 | |||||||||||||||||||||
| 4600 | 'xpack.watcher.activate_watch' => { | ||||||||||||||||||||
| 4601 | doc => "watcher-api-activate-watch", | ||||||||||||||||||||
| 4602 | method => "PUT", | ||||||||||||||||||||
| 4603 | parts => { watch_id => { required => 1 } }, | ||||||||||||||||||||
| 4604 | paths => [ | ||||||||||||||||||||
| 4605 | [ { watch_id => 3 }, "_xpack", | ||||||||||||||||||||
| 4606 | "watcher", "watch", | ||||||||||||||||||||
| 4607 | "{watch_id}", "_activate", | ||||||||||||||||||||
| 4608 | ], | ||||||||||||||||||||
| 4609 | ], | ||||||||||||||||||||
| 4610 | qs => { | ||||||||||||||||||||
| 4611 | error_trace => "boolean", | ||||||||||||||||||||
| 4612 | filter_path => "list", | ||||||||||||||||||||
| 4613 | human => "boolean", | ||||||||||||||||||||
| 4614 | master_timeout => "time", | ||||||||||||||||||||
| 4615 | }, | ||||||||||||||||||||
| 4616 | }, | ||||||||||||||||||||
| 4617 | |||||||||||||||||||||
| 4618 | 'xpack.watcher.deactivate_watch' => { | ||||||||||||||||||||
| 4619 | doc => "watcher-api-deactivate-watch", | ||||||||||||||||||||
| 4620 | method => "PUT", | ||||||||||||||||||||
| 4621 | parts => { watch_id => { required => 1 } }, | ||||||||||||||||||||
| 4622 | paths => [ | ||||||||||||||||||||
| 4623 | [ { watch_id => 3 }, "_xpack", | ||||||||||||||||||||
| 4624 | "watcher", "watch", | ||||||||||||||||||||
| 4625 | "{watch_id}", "_deactivate", | ||||||||||||||||||||
| 4626 | ], | ||||||||||||||||||||
| 4627 | ], | ||||||||||||||||||||
| 4628 | qs => { | ||||||||||||||||||||
| 4629 | error_trace => "boolean", | ||||||||||||||||||||
| 4630 | filter_path => "list", | ||||||||||||||||||||
| 4631 | human => "boolean", | ||||||||||||||||||||
| 4632 | master_timeout => "time", | ||||||||||||||||||||
| 4633 | }, | ||||||||||||||||||||
| 4634 | }, | ||||||||||||||||||||
| 4635 | |||||||||||||||||||||
| 4636 | 'xpack.watcher.delete_watch' => { | ||||||||||||||||||||
| 4637 | doc => "watcher-api-delete-watch", | ||||||||||||||||||||
| 4638 | method => "DELETE", | ||||||||||||||||||||
| 4639 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4640 | paths => [ [ { id => 3 }, "_xpack", "watcher", "watch", "{id}" ] ], | ||||||||||||||||||||
| 4641 | qs => { | ||||||||||||||||||||
| 4642 | error_trace => "boolean", | ||||||||||||||||||||
| 4643 | filter_path => "list", | ||||||||||||||||||||
| 4644 | human => "boolean", | ||||||||||||||||||||
| 4645 | master_timeout => "time", | ||||||||||||||||||||
| 4646 | }, | ||||||||||||||||||||
| 4647 | }, | ||||||||||||||||||||
| 4648 | |||||||||||||||||||||
| 4649 | 'xpack.watcher.execute_watch' => { | ||||||||||||||||||||
| 4650 | body => {}, | ||||||||||||||||||||
| 4651 | doc => "watcher-api-execute-watch", | ||||||||||||||||||||
| 4652 | method => "PUT", | ||||||||||||||||||||
| 4653 | parts => { id => {} }, | ||||||||||||||||||||
| 4654 | paths => [ | ||||||||||||||||||||
| 4655 | [ { id => 3 }, "_xpack", "watcher", "watch", "{id}", "_execute" ], | ||||||||||||||||||||
| 4656 | [ {}, "_xpack", "watcher", "watch", "_execute" ], | ||||||||||||||||||||
| 4657 | ], | ||||||||||||||||||||
| 4658 | qs => { | ||||||||||||||||||||
| 4659 | debug => "boolean", | ||||||||||||||||||||
| 4660 | error_trace => "boolean", | ||||||||||||||||||||
| 4661 | filter_path => "list", | ||||||||||||||||||||
| 4662 | human => "boolean", | ||||||||||||||||||||
| 4663 | }, | ||||||||||||||||||||
| 4664 | }, | ||||||||||||||||||||
| 4665 | |||||||||||||||||||||
| 4666 | 'xpack.watcher.get_watch' => { | ||||||||||||||||||||
| 4667 | doc => "watcher-api-get-watch", | ||||||||||||||||||||
| 4668 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4669 | paths => [ [ { id => 3 }, "_xpack", "watcher", "watch", "{id}" ] ], | ||||||||||||||||||||
| 4670 | qs => { | ||||||||||||||||||||
| 4671 | error_trace => "boolean", | ||||||||||||||||||||
| 4672 | filter_path => "list", | ||||||||||||||||||||
| 4673 | human => "boolean" | ||||||||||||||||||||
| 4674 | }, | ||||||||||||||||||||
| 4675 | }, | ||||||||||||||||||||
| 4676 | |||||||||||||||||||||
| 4677 | 'xpack.watcher.put_watch' => { | ||||||||||||||||||||
| 4678 | body => {}, | ||||||||||||||||||||
| 4679 | doc => "watcher-api-put-watch", | ||||||||||||||||||||
| 4680 | method => "PUT", | ||||||||||||||||||||
| 4681 | parts => { id => { required => 1 } }, | ||||||||||||||||||||
| 4682 | paths => [ [ { id => 3 }, "_xpack", "watcher", "watch", "{id}" ] ], | ||||||||||||||||||||
| 4683 | qs => { | ||||||||||||||||||||
| 4684 | active => "boolean", | ||||||||||||||||||||
| 4685 | error_trace => "boolean", | ||||||||||||||||||||
| 4686 | filter_path => "list", | ||||||||||||||||||||
| 4687 | human => "boolean", | ||||||||||||||||||||
| 4688 | if_primary_term => "number", | ||||||||||||||||||||
| 4689 | if_seq_no => "number", | ||||||||||||||||||||
| 4690 | master_timeout => "time", | ||||||||||||||||||||
| 4691 | version => "number", | ||||||||||||||||||||
| 4692 | }, | ||||||||||||||||||||
| 4693 | }, | ||||||||||||||||||||
| 4694 | |||||||||||||||||||||
| 4695 | 'xpack.watcher.restart' => { | ||||||||||||||||||||
| 4696 | doc => "watcher-api-restart", | ||||||||||||||||||||
| 4697 | method => "POST", | ||||||||||||||||||||
| 4698 | parts => {}, | ||||||||||||||||||||
| 4699 | paths => [ [ {}, "_xpack", "watcher", "_restart" ] ], | ||||||||||||||||||||
| 4700 | qs => { | ||||||||||||||||||||
| 4701 | error_trace => "boolean", | ||||||||||||||||||||
| 4702 | filter_path => "list", | ||||||||||||||||||||
| 4703 | human => "boolean" | ||||||||||||||||||||
| 4704 | }, | ||||||||||||||||||||
| 4705 | }, | ||||||||||||||||||||
| 4706 | |||||||||||||||||||||
| 4707 | 'xpack.watcher.start' => { | ||||||||||||||||||||
| 4708 | doc => "watcher-api-start", | ||||||||||||||||||||
| 4709 | method => "POST", | ||||||||||||||||||||
| 4710 | parts => {}, | ||||||||||||||||||||
| 4711 | paths => [ [ {}, "_xpack", "watcher", "_start" ] ], | ||||||||||||||||||||
| 4712 | qs => { | ||||||||||||||||||||
| 4713 | error_trace => "boolean", | ||||||||||||||||||||
| 4714 | filter_path => "list", | ||||||||||||||||||||
| 4715 | human => "boolean" | ||||||||||||||||||||
| 4716 | }, | ||||||||||||||||||||
| 4717 | }, | ||||||||||||||||||||
| 4718 | |||||||||||||||||||||
| 4719 | 'xpack.watcher.stats' => { | ||||||||||||||||||||
| 4720 | doc => "watcher-api-stats", | ||||||||||||||||||||
| 4721 | parts => { metric => {} }, | ||||||||||||||||||||
| 4722 | paths => [ | ||||||||||||||||||||
| 4723 | [ { metric => 3 }, "_xpack", "watcher", "stats", "{metric}" ], | ||||||||||||||||||||
| 4724 | [ {}, "_xpack", "watcher", "stats" ], | ||||||||||||||||||||
| 4725 | ], | ||||||||||||||||||||
| 4726 | qs => { | ||||||||||||||||||||
| 4727 | emit_stacktraces => "boolean", | ||||||||||||||||||||
| 4728 | error_trace => "boolean", | ||||||||||||||||||||
| 4729 | filter_path => "list", | ||||||||||||||||||||
| 4730 | human => "boolean", | ||||||||||||||||||||
| 4731 | }, | ||||||||||||||||||||
| 4732 | }, | ||||||||||||||||||||
| 4733 | |||||||||||||||||||||
| 4734 | 'xpack.watcher.stop' => { | ||||||||||||||||||||
| 4735 | doc => "watcher-api-stop", | ||||||||||||||||||||
| 4736 | method => "POST", | ||||||||||||||||||||
| 4737 | parts => {}, | ||||||||||||||||||||
| 4738 | paths => [ [ {}, "_xpack", "watcher", "_stop" ] ], | ||||||||||||||||||||
| 4739 | qs => { | ||||||||||||||||||||
| 4740 | error_trace => "boolean", | ||||||||||||||||||||
| 4741 | filter_path => "list", | ||||||||||||||||||||
| 4742 | human => "boolean" | ||||||||||||||||||||
| 4743 | }, | ||||||||||||||||||||
| 4744 | }, | ||||||||||||||||||||
| 4745 | |||||||||||||||||||||
| 4746 | #=== AUTOGEN - END === | ||||||||||||||||||||
| 4747 | |||||||||||||||||||||
| 4748 | ); | ||||||||||||||||||||
| 4749 | |||||||||||||||||||||
| 4750 | 55 | __PACKAGE__->_qs_init( \%API ); | |||||||||||||||||||
| 4751 | 55 | 1; | |||||||||||||||||||
| 4752 | |||||||||||||||||||||
| 4753 | =pod | ||||||||||||||||||||
| 4754 | |||||||||||||||||||||
| 4755 | =encoding UTF-8 | ||||||||||||||||||||
| 4756 | |||||||||||||||||||||
| 4757 | =head1 NAME | ||||||||||||||||||||
| 4758 | |||||||||||||||||||||
| 4759 | Search::Elasticsearch::Client::6_0::Role::API - This class contains the spec for the Elasticsearch APIs | ||||||||||||||||||||
| 4760 | |||||||||||||||||||||
| 4761 | =head1 VERSION | ||||||||||||||||||||
| 4762 | |||||||||||||||||||||
| 4763 | version 6.80 | ||||||||||||||||||||
| 4764 | |||||||||||||||||||||
| 4765 | =head1 DESCRIPTION | ||||||||||||||||||||
| 4766 | |||||||||||||||||||||
| 4767 | All of the Elasticsearch APIs are defined in this role. The example given below | ||||||||||||||||||||
| 4768 | is the definition for the L<Search::Elasticsearch::Client::6_0::Direct/index()> method: | ||||||||||||||||||||
| 4769 | |||||||||||||||||||||
| 4770 | 'index' => { | ||||||||||||||||||||
| 4771 | body => { required => 1 }, | ||||||||||||||||||||
| 4772 | doc => "docs-index_", | ||||||||||||||||||||
| 4773 | method => "POST", | ||||||||||||||||||||
| 4774 | parts => { | ||||||||||||||||||||
| 4775 | id => {}, | ||||||||||||||||||||
| 4776 | index => { required => 1 }, | ||||||||||||||||||||
| 4777 | type => { required => 1 } | ||||||||||||||||||||
| 4778 | }, | ||||||||||||||||||||
| 4779 | paths => [ | ||||||||||||||||||||
| 4780 | [ { id => 2, index => 0, type => 1 }, "{index}", | ||||||||||||||||||||
| 4781 | "{type}", "{id}" | ||||||||||||||||||||
| 4782 | ], | ||||||||||||||||||||
| 4783 | [ { index => 0, type => 1 }, "{index}", "{type}" ], | ||||||||||||||||||||
| 4784 | ], | ||||||||||||||||||||
| 4785 | qs => { | ||||||||||||||||||||
| 4786 | filter_path => "list", | ||||||||||||||||||||
| 4787 | op_type => "enum", | ||||||||||||||||||||
| 4788 | parent => "string", | ||||||||||||||||||||
| 4789 | pipeline => "string", | ||||||||||||||||||||
| 4790 | refresh => "enum", | ||||||||||||||||||||
| 4791 | routing => "string", | ||||||||||||||||||||
| 4792 | timeout => "time", | ||||||||||||||||||||
| 4793 | timestamp => "time", | ||||||||||||||||||||
| 4794 | ttl => "time", | ||||||||||||||||||||
| 4795 | version => "number", | ||||||||||||||||||||
| 4796 | version_type => "enum", | ||||||||||||||||||||
| 4797 | wait_for_active_shards => "string", | ||||||||||||||||||||
| 4798 | }, | ||||||||||||||||||||
| 4799 | }, | ||||||||||||||||||||
| 4800 | |||||||||||||||||||||
| 4801 | These definitions can be used by different L<Search::Elasticsearch::Role::Client> | ||||||||||||||||||||
| 4802 | implementations to provide distinct user interfaces. | ||||||||||||||||||||
| 4803 | |||||||||||||||||||||
| 4804 | =head1 METHODS | ||||||||||||||||||||
| 4805 | |||||||||||||||||||||
| 4806 | =head2 C<api()> | ||||||||||||||||||||
| 4807 | |||||||||||||||||||||
| 4808 | $defn = $api->api($name); | ||||||||||||||||||||
| 4809 | |||||||||||||||||||||
| 4810 | The only method in this class is the C<api()> method which takes the name | ||||||||||||||||||||
| 4811 | of the I<action> and returns its definition. Actions in the | ||||||||||||||||||||
| 4812 | C<indices> or C<cluster> namespace use the namespace as a prefix, eg: | ||||||||||||||||||||
| 4813 | |||||||||||||||||||||
| 4814 | $defn = $e->api('indices.create'); | ||||||||||||||||||||
| 4815 | $defn = $e->api('cluster.node_stats'); | ||||||||||||||||||||
| 4816 | |||||||||||||||||||||
| 4817 | =head1 SEE ALSO | ||||||||||||||||||||
| 4818 | |||||||||||||||||||||
| 4819 | =over | ||||||||||||||||||||
| 4820 | |||||||||||||||||||||
| 4821 | =item * | ||||||||||||||||||||
| 4822 | |||||||||||||||||||||
| 4823 | L<Search::Elasticsearch::Role::API> | ||||||||||||||||||||
| 4824 | |||||||||||||||||||||
| 4825 | =item * | ||||||||||||||||||||
| 4826 | |||||||||||||||||||||
| 4827 | L<Search::Elasticsearch::Client::6_0::Direct> | ||||||||||||||||||||
| 4828 | |||||||||||||||||||||
| 4829 | =back | ||||||||||||||||||||
| 4830 | |||||||||||||||||||||
| 4831 | =head1 AUTHOR | ||||||||||||||||||||
| 4832 | |||||||||||||||||||||
| 4833 | Enrico Zimuel <enrico.zimuel@elastic.co> | ||||||||||||||||||||
| 4834 | |||||||||||||||||||||
| 4835 | =head1 COPYRIGHT AND LICENSE | ||||||||||||||||||||
| 4836 | |||||||||||||||||||||
| 4837 | This software is Copyright (c) 2020 by Elasticsearch BV. | ||||||||||||||||||||
| 4838 | |||||||||||||||||||||
| 4839 | This is free software, licensed under: | ||||||||||||||||||||
| 4840 | |||||||||||||||||||||
| 4841 | The Apache License, Version 2.0, January 2004 | ||||||||||||||||||||
| 4842 | |||||||||||||||||||||
| 4843 | =cut | ||||||||||||||||||||
| 4844 | |||||||||||||||||||||
| 4845 | __END__ | ||||||||||||||||||||