| 1 | # OpenSearch::Client is an unofficial client for OpenSearch. | ||||||||||||||||||||
| 2 | # It is derived from Search::Elasticsearch version 7.714 | ||||||||||||||||||||
| 3 | # License details from the original work are contained in the | ||||||||||||||||||||
| 4 | # NOTICE file distributed with this work. | ||||||||||||||||||||
| 5 | # | ||||||||||||||||||||
| 6 | #----------------------------------------------------------------------- | ||||||||||||||||||||
| 7 | # OpenSearch::Client | ||||||||||||||||||||
| 8 | #----------------------------------------------------------------------- | ||||||||||||||||||||
| 9 | # Copyright 2026 Mark Dootson | ||||||||||||||||||||
| 10 | # | ||||||||||||||||||||
| 11 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||||||||||||||||||||
| 12 | # you may not use this file except in compliance with the License. | ||||||||||||||||||||
| 13 | # You may obtain a copy of the License at | ||||||||||||||||||||
| 14 | # | ||||||||||||||||||||
| 15 | # http://www.apache.org/licenses/LICENSE-2.0 | ||||||||||||||||||||
| 16 | # | ||||||||||||||||||||
| 17 | # Unless required by applicable law or agreed to in writing, software | ||||||||||||||||||||
| 18 | # distributed under the License is distributed on an "AS IS" BASIS, | ||||||||||||||||||||
| 19 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||||||||||||||||
| 20 | # See the License for the specific language governing permissions and | ||||||||||||||||||||
| 21 | # limitations under the License. | ||||||||||||||||||||
| 22 | |||||||||||||||||||||
| 23 | package OpenSearch::Client::Core::3_0::Role::API; | ||||||||||||||||||||
| 24 | 56 | $OpenSearch::Client::Core::3_0::Role::API::VERSION = '3.007011'; | |||||||||||||||||||
| 25 | |||||||||||||||||||||
| 26 | 56 | ▶ | use Moo::Role; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 27 | 56 | with 'OpenSearch::Client::Role::API'; | |||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | 56 | ▶ | use OpenSearch::Client::Util qw(throw); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 30 | 56 | ▶ | use namespace::clean; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 31 | |||||||||||||||||||||
| 32 | 56 | has 'api_version' => ( is => 'ro', default => '3_0' ); | |||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | 56 | our %API; | |||||||||||||||||||
| 35 | |||||||||||||||||||||
| 36 | 56 | ▶ | sub api { | ||||||||||||||||||
|
Subroutine
api: called CC=3 SCAR=18.4
Pod
undocumented
| |||||||||||||||||||||
| 37 | 56 | ▶ | my $name = $_[1] || return \%API; | ||||||||||||||||||
|
Condition50%1/2
$_[1] || (return \%OpenSearch::Client::Core::3_0::Role::API::API)
MC/DC0%0/1
$_[1] || (return \%OpenSearch::Client::Core::3_0::Role::API::API)
$_[1]
Truth table50%1/2
A
A= $_[1]
| |||||||||||||||||||||
| 38 | 0 | ▶ | return $API{$name} | ||||||||||||||||||
|
Condition0%0/3
$OpenSearch::Client::Core::3_0::Role::API::API{$name} || throw('Internal', "Unknown api name ($name)")
MC/DC0%0/2
$OpenSearch::Client::Core::3_0::Role::API::API{$name} || throw('Internal', "Unknown api name ($name)")
$OpenSearch::Client::Core::3_0::Role::API::API{$name}
throw('Internal', "Unknown api name ($name)")
Truth table0%0/3
A || B
A= $OpenSearch::Client::Core::3_0::Role::API::API{$name}B= throw('Internal', "Unknown api name ($name)")
| |||||||||||||||||||||
| 39 | || throw( 'Internal', "Unknown api name ($name)" ); | ||||||||||||||||||||
| 40 | } | ||||||||||||||||||||
| 41 | |||||||||||||||||||||
| 42 | 56 | %API = ( | |||||||||||||||||||
| 43 | |||||||||||||||||||||
| 44 | 'bulk_helper.metadata_qs' => { params => { | ||||||||||||||||||||
| 45 | '_source' => '_source', | ||||||||||||||||||||
| 46 | '_source_excludes' => '_source_excludes', | ||||||||||||||||||||
| 47 | '_source_includes' => '_source_includes', | ||||||||||||||||||||
| 48 | 'index' => 'index', | ||||||||||||||||||||
| 49 | 'pipeline' => 'pipeline', | ||||||||||||||||||||
| 50 | 'refresh' => 'refresh', | ||||||||||||||||||||
| 51 | 'require_alias' => 'require_alias', | ||||||||||||||||||||
| 52 | 'routing' => 'routing', | ||||||||||||||||||||
| 53 | 'timeout' => 'timeout', | ||||||||||||||||||||
| 54 | 'type' => 'type', | ||||||||||||||||||||
| 55 | 'wait_for_active_shards' => 'wait_for_active_shards', | ||||||||||||||||||||
| 56 | |||||||||||||||||||||
| 57 | 'source' => '_source', | ||||||||||||||||||||
| 58 | 'source_excludes' => '_source_excludes', | ||||||||||||||||||||
| 59 | 'source_includes' => '_source_includes', | ||||||||||||||||||||
| 60 | '_index' => 'index', | ||||||||||||||||||||
| 61 | '_pipeline' => 'pipeline', | ||||||||||||||||||||
| 62 | '_refresh' => 'refresh', | ||||||||||||||||||||
| 63 | '_require_alias' => 'require_alias', | ||||||||||||||||||||
| 64 | '_routing' => 'routing', | ||||||||||||||||||||
| 65 | '_timeout' => 'timeout', | ||||||||||||||||||||
| 66 | '_type' => 'type', | ||||||||||||||||||||
| 67 | '_wait_for_active_shards' => 'wait_for_active_shards', | ||||||||||||||||||||
| 68 | # Common API query parameters | ||||||||||||||||||||
| 69 | 'error_trace' => 'error_trace', | ||||||||||||||||||||
| 70 | 'filter_path' => 'filter_path', | ||||||||||||||||||||
| 71 | 'human' => 'human', | ||||||||||||||||||||
| 72 | 'pretty' => 'pretty', | ||||||||||||||||||||
| 73 | # 'source' => 'source', # not for | ||||||||||||||||||||
| 74 | }}, | ||||||||||||||||||||
| 75 | |||||||||||||||||||||
| 76 | 'bulk_helper.metadata_action' => { params => { | ||||||||||||||||||||
| 77 | _index => '_index', | ||||||||||||||||||||
| 78 | _id => '_id', | ||||||||||||||||||||
| 79 | _require_alias => '_require_alias', | ||||||||||||||||||||
| 80 | routing => 'routing', | ||||||||||||||||||||
| 81 | version => 'version', | ||||||||||||||||||||
| 82 | version_type => 'version_type', | ||||||||||||||||||||
| 83 | if_seq_no => 'if_seq_no', | ||||||||||||||||||||
| 84 | if_primary_term => 'if_primary_term', | ||||||||||||||||||||
| 85 | pipeline => 'pipeline', | ||||||||||||||||||||
| 86 | index => '_index', | ||||||||||||||||||||
| 87 | id => '_id', | ||||||||||||||||||||
| 88 | require_alias => '_require_alias', | ||||||||||||||||||||
| 89 | _routing => 'routing', | ||||||||||||||||||||
| 90 | _version => 'version', | ||||||||||||||||||||
| 91 | _version_type => 'version_type', | ||||||||||||||||||||
| 92 | _if_seq_no => 'if_seq_no', | ||||||||||||||||||||
| 93 | _if_primary_term => 'if_primary_term', | ||||||||||||||||||||
| 94 | _pipeline => 'pipeline', | ||||||||||||||||||||
| 95 | }}, | ||||||||||||||||||||
| 96 | |||||||||||||||||||||
| 97 | 'bulk_helper.action_data_types' => { params => { | ||||||||||||||||||||
| 98 | _index => 'string', | ||||||||||||||||||||
| 99 | _id => 'string', | ||||||||||||||||||||
| 100 | _require_alias => 'boolean', | ||||||||||||||||||||
| 101 | routing => 'string', | ||||||||||||||||||||
| 102 | version => 'number', | ||||||||||||||||||||
| 103 | version_type => 'string', | ||||||||||||||||||||
| 104 | if_seq_no => 'number', | ||||||||||||||||||||
| 105 | if_primary_term => 'number', | ||||||||||||||||||||
| 106 | pipeline => 'string', | ||||||||||||||||||||
| 107 | }}, | ||||||||||||||||||||
| 108 | |||||||||||||||||||||
| 109 | 'bulk_helper.update_data_types' => { params => { | ||||||||||||||||||||
| 110 | doc => 'REF', | ||||||||||||||||||||
| 111 | doc_as_upsert => 'boolean', | ||||||||||||||||||||
| 112 | upsert => 'REF', | ||||||||||||||||||||
| 113 | script => 'REF', | ||||||||||||||||||||
| 114 | params => 'REF', | ||||||||||||||||||||
| 115 | scripted_upsert => 'boolean', | ||||||||||||||||||||
| 116 | }}, | ||||||||||||||||||||
| 117 | |||||||||||||||||||||
| 118 | ## AUTO GENERATED API START | ||||||||||||||||||||
| 119 | |||||||||||||||||||||
| 120 | |||||||||||||||||||||
| 121 | '_core.bulk' => { | ||||||||||||||||||||
| 122 | body => { required => 1 }, | ||||||||||||||||||||
| 123 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/bulk/', | ||||||||||||||||||||
| 124 | method => 'POST', | ||||||||||||||||||||
| 125 | parts => { index => {}}, | ||||||||||||||||||||
| 126 | paths => [ | ||||||||||||||||||||
| 127 | [ { index => 0 }, "{index}", "_bulk" ], | ||||||||||||||||||||
| 128 | [ {}, "_bulk" ] | ||||||||||||||||||||
| 129 | ], | ||||||||||||||||||||
| 130 | qs => { | ||||||||||||||||||||
| 131 | # Endpoint specific query parameters | ||||||||||||||||||||
| 132 | '_source' => 'list', | ||||||||||||||||||||
| 133 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 134 | '_source_includes' => 'list', | ||||||||||||||||||||
| 135 | 'index' => 'string', | ||||||||||||||||||||
| 136 | 'pipeline' => 'string', | ||||||||||||||||||||
| 137 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 138 | 'require_alias' => 'boolean', | ||||||||||||||||||||
| 139 | 'routing' => 'string', | ||||||||||||||||||||
| 140 | 'timeout' => 'string', | ||||||||||||||||||||
| 141 | 'type' => 'string', | ||||||||||||||||||||
| 142 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 143 | # Common API query parameters | ||||||||||||||||||||
| 144 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 145 | 'filter_path' => 'list', | ||||||||||||||||||||
| 146 | 'human' => 'boolean', | ||||||||||||||||||||
| 147 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 148 | 'source' => 'string', | ||||||||||||||||||||
| 149 | }, | ||||||||||||||||||||
| 150 | serialize => 'bulk', | ||||||||||||||||||||
| 151 | os_version => 1.000000, | ||||||||||||||||||||
| 152 | }, | ||||||||||||||||||||
| 153 | |||||||||||||||||||||
| 154 | '_core.bulk_stream' => { | ||||||||||||||||||||
| 155 | body => { required => 1 }, | ||||||||||||||||||||
| 156 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/bulk-streaming/', | ||||||||||||||||||||
| 157 | method => 'POST', | ||||||||||||||||||||
| 158 | parts => { index => {}}, | ||||||||||||||||||||
| 159 | paths => [ | ||||||||||||||||||||
| 160 | [ { index => 0 }, "{index}", "_bulk", "stream" ], | ||||||||||||||||||||
| 161 | [ {}, "_bulk", "stream" ] | ||||||||||||||||||||
| 162 | ], | ||||||||||||||||||||
| 163 | qs => { | ||||||||||||||||||||
| 164 | # Endpoint specific query parameters | ||||||||||||||||||||
| 165 | '_source' => 'list', | ||||||||||||||||||||
| 166 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 167 | '_source_includes' => 'list', | ||||||||||||||||||||
| 168 | 'batch_interval' => 'string', | ||||||||||||||||||||
| 169 | 'batch_size' => 'number', | ||||||||||||||||||||
| 170 | 'pipeline' => 'string', | ||||||||||||||||||||
| 171 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 172 | 'require_alias' => 'boolean', | ||||||||||||||||||||
| 173 | 'routing' => 'list', | ||||||||||||||||||||
| 174 | 'timeout' => 'string', | ||||||||||||||||||||
| 175 | 'type' => 'string', | ||||||||||||||||||||
| 176 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 177 | # Common API query parameters | ||||||||||||||||||||
| 178 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 179 | 'filter_path' => 'list', | ||||||||||||||||||||
| 180 | 'human' => 'boolean', | ||||||||||||||||||||
| 181 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 182 | 'source' => 'string', | ||||||||||||||||||||
| 183 | }, | ||||||||||||||||||||
| 184 | serialize => 'bulk', | ||||||||||||||||||||
| 185 | os_version => 2.017000, | ||||||||||||||||||||
| 186 | }, | ||||||||||||||||||||
| 187 | |||||||||||||||||||||
| 188 | '_core.clear_scroll' => { | ||||||||||||||||||||
| 189 | body => {}, | ||||||||||||||||||||
| 190 | doc => 'https://opensearch.org/docs/latest/api-reference/scroll/', | ||||||||||||||||||||
| 191 | method => 'DELETE', | ||||||||||||||||||||
| 192 | parts => { scroll_id => { multi => 1 }}, | ||||||||||||||||||||
| 193 | paths => [ | ||||||||||||||||||||
| 194 | [ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], | ||||||||||||||||||||
| 195 | [ {}, "_search", "scroll" ] | ||||||||||||||||||||
| 196 | ], | ||||||||||||||||||||
| 197 | qs => { | ||||||||||||||||||||
| 198 | # Common API query parameters | ||||||||||||||||||||
| 199 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 200 | 'filter_path' => 'list', | ||||||||||||||||||||
| 201 | 'human' => 'boolean', | ||||||||||||||||||||
| 202 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 203 | 'source' => 'string', | ||||||||||||||||||||
| 204 | }, | ||||||||||||||||||||
| 205 | os_version => 1.000000, | ||||||||||||||||||||
| 206 | }, | ||||||||||||||||||||
| 207 | |||||||||||||||||||||
| 208 | '_core.count' => { | ||||||||||||||||||||
| 209 | body => {}, | ||||||||||||||||||||
| 210 | doc => 'https://opensearch.org/docs/latest/api-reference/count/', | ||||||||||||||||||||
| 211 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 212 | method => 'detect', | ||||||||||||||||||||
| 213 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 214 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 215 | paths => [ | ||||||||||||||||||||
| 216 | [ { index => 0 }, "{index}", "_count" ], | ||||||||||||||||||||
| 217 | [ {}, "_count" ] | ||||||||||||||||||||
| 218 | ], | ||||||||||||||||||||
| 219 | qs => { | ||||||||||||||||||||
| 220 | # Endpoint specific query parameters | ||||||||||||||||||||
| 221 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 222 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 223 | 'analyzer' => 'string', | ||||||||||||||||||||
| 224 | 'default_operator' => 'string', | ||||||||||||||||||||
| 225 | 'df' => 'string', | ||||||||||||||||||||
| 226 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 227 | 'ignore_throttled' => 'boolean', | ||||||||||||||||||||
| 228 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 229 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 230 | 'min_score' => 'number', | ||||||||||||||||||||
| 231 | 'preference' => 'string', | ||||||||||||||||||||
| 232 | 'q' => 'string', | ||||||||||||||||||||
| 233 | 'routing' => 'list', | ||||||||||||||||||||
| 234 | 'terminate_after' => 'number', | ||||||||||||||||||||
| 235 | # Common API query parameters | ||||||||||||||||||||
| 236 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 237 | 'filter_path' => 'list', | ||||||||||||||||||||
| 238 | 'human' => 'boolean', | ||||||||||||||||||||
| 239 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 240 | 'source' => 'string', | ||||||||||||||||||||
| 241 | }, | ||||||||||||||||||||
| 242 | os_version => 1.000000, | ||||||||||||||||||||
| 243 | }, | ||||||||||||||||||||
| 244 | |||||||||||||||||||||
| 245 | '_core.create' => { | ||||||||||||||||||||
| 246 | body => { required => 1 }, | ||||||||||||||||||||
| 247 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/index-document/', | ||||||||||||||||||||
| 248 | method => 'POST', | ||||||||||||||||||||
| 249 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 250 | paths => [[ { index => 0, id => 2 }, "{index}", "_create", "{id}" ]], | ||||||||||||||||||||
| 251 | qs => { | ||||||||||||||||||||
| 252 | # Endpoint specific query parameters | ||||||||||||||||||||
| 253 | 'pipeline' => 'string', | ||||||||||||||||||||
| 254 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 255 | 'routing' => 'list', | ||||||||||||||||||||
| 256 | 'timeout' => 'string', | ||||||||||||||||||||
| 257 | 'version' => 'number', | ||||||||||||||||||||
| 258 | 'version_type' => 'string', | ||||||||||||||||||||
| 259 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 260 | # Common API query parameters | ||||||||||||||||||||
| 261 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 262 | 'filter_path' => 'list', | ||||||||||||||||||||
| 263 | 'human' => 'boolean', | ||||||||||||||||||||
| 264 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 265 | 'source' => 'string', | ||||||||||||||||||||
| 266 | }, | ||||||||||||||||||||
| 267 | os_version => 1.000000, | ||||||||||||||||||||
| 268 | }, | ||||||||||||||||||||
| 269 | |||||||||||||||||||||
| 270 | '_core.create_pit' => { | ||||||||||||||||||||
| 271 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/#create-a-pit', | ||||||||||||||||||||
| 272 | method => 'POST', | ||||||||||||||||||||
| 273 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 274 | paths => [[ { index => 0 }, "{index}", "_search", "point_in_time" ]], | ||||||||||||||||||||
| 275 | qs => { | ||||||||||||||||||||
| 276 | # Endpoint specific query parameters | ||||||||||||||||||||
| 277 | 'allow_partial_pit_creation' => 'boolean', | ||||||||||||||||||||
| 278 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 279 | 'keep_alive' => 'string', | ||||||||||||||||||||
| 280 | 'preference' => 'string', | ||||||||||||||||||||
| 281 | 'routing' => 'list', | ||||||||||||||||||||
| 282 | # Common API query parameters | ||||||||||||||||||||
| 283 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 284 | 'filter_path' => 'list', | ||||||||||||||||||||
| 285 | 'human' => 'boolean', | ||||||||||||||||||||
| 286 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 287 | 'source' => 'string', | ||||||||||||||||||||
| 288 | }, | ||||||||||||||||||||
| 289 | os_version => 2.004000, | ||||||||||||||||||||
| 290 | }, | ||||||||||||||||||||
| 291 | |||||||||||||||||||||
| 292 | '_core.delete' => { | ||||||||||||||||||||
| 293 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/delete-document/', | ||||||||||||||||||||
| 294 | method => 'DELETE', | ||||||||||||||||||||
| 295 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 296 | paths => [[ { index => 0, id => 2 }, "{index}", "_doc", "{id}" ]], | ||||||||||||||||||||
| 297 | qs => { | ||||||||||||||||||||
| 298 | # Endpoint specific query parameters | ||||||||||||||||||||
| 299 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 300 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 301 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 302 | 'routing' => 'list', | ||||||||||||||||||||
| 303 | 'timeout' => 'string', | ||||||||||||||||||||
| 304 | 'version' => 'number', | ||||||||||||||||||||
| 305 | 'version_type' => 'string', | ||||||||||||||||||||
| 306 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 307 | # Common API query parameters | ||||||||||||||||||||
| 308 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 309 | 'filter_path' => 'list', | ||||||||||||||||||||
| 310 | 'human' => 'boolean', | ||||||||||||||||||||
| 311 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 312 | 'source' => 'string', | ||||||||||||||||||||
| 313 | }, | ||||||||||||||||||||
| 314 | os_version => 1.000000, | ||||||||||||||||||||
| 315 | }, | ||||||||||||||||||||
| 316 | |||||||||||||||||||||
| 317 | '_core.delete_all_pits' => { | ||||||||||||||||||||
| 318 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/#delete-pits', | ||||||||||||||||||||
| 319 | method => 'DELETE', | ||||||||||||||||||||
| 320 | parts => {}, | ||||||||||||||||||||
| 321 | paths => [[ {}, "_search", "point_in_time", "_all" ]], | ||||||||||||||||||||
| 322 | qs => { | ||||||||||||||||||||
| 323 | # Common API query parameters | ||||||||||||||||||||
| 324 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 325 | 'filter_path' => 'list', | ||||||||||||||||||||
| 326 | 'human' => 'boolean', | ||||||||||||||||||||
| 327 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 328 | 'source' => 'string', | ||||||||||||||||||||
| 329 | }, | ||||||||||||||||||||
| 330 | os_version => 2.004000, | ||||||||||||||||||||
| 331 | }, | ||||||||||||||||||||
| 332 | |||||||||||||||||||||
| 333 | '_core.delete_by_query' => { | ||||||||||||||||||||
| 334 | body => {}, | ||||||||||||||||||||
| 335 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/delete-by-query/', | ||||||||||||||||||||
| 336 | method => 'POST', | ||||||||||||||||||||
| 337 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 338 | paths => [[ { index => 0 }, "{index}", "_delete_by_query" ]], | ||||||||||||||||||||
| 339 | qs => { | ||||||||||||||||||||
| 340 | # Endpoint specific query parameters | ||||||||||||||||||||
| 341 | '_source' => 'list', | ||||||||||||||||||||
| 342 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 343 | '_source_includes' => 'list', | ||||||||||||||||||||
| 344 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 345 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 346 | 'analyzer' => 'string', | ||||||||||||||||||||
| 347 | 'conflicts' => 'string', | ||||||||||||||||||||
| 348 | 'default_operator' => 'string', | ||||||||||||||||||||
| 349 | 'df' => 'string', | ||||||||||||||||||||
| 350 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 351 | 'from' => 'number', | ||||||||||||||||||||
| 352 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 353 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 354 | 'max_docs' => 'number', | ||||||||||||||||||||
| 355 | 'preference' => 'string', | ||||||||||||||||||||
| 356 | 'q' => 'string', | ||||||||||||||||||||
| 357 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 358 | 'request_cache' => 'boolean', | ||||||||||||||||||||
| 359 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 360 | 'routing' => 'list', | ||||||||||||||||||||
| 361 | 'scroll' => 'string', | ||||||||||||||||||||
| 362 | 'scroll_size' => 'number', | ||||||||||||||||||||
| 363 | 'search_timeout' => 'string', | ||||||||||||||||||||
| 364 | 'search_type' => 'string', | ||||||||||||||||||||
| 365 | 'size' => 'number', | ||||||||||||||||||||
| 366 | 'slices' => 'number|string', | ||||||||||||||||||||
| 367 | 'sort' => 'list', | ||||||||||||||||||||
| 368 | 'stats' => 'list', | ||||||||||||||||||||
| 369 | 'terminate_after' => 'number', | ||||||||||||||||||||
| 370 | 'timeout' => 'string', | ||||||||||||||||||||
| 371 | 'version' => 'boolean', | ||||||||||||||||||||
| 372 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 373 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 374 | # Common API query parameters | ||||||||||||||||||||
| 375 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 376 | 'filter_path' => 'list', | ||||||||||||||||||||
| 377 | 'human' => 'boolean', | ||||||||||||||||||||
| 378 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 379 | 'source' => 'string', | ||||||||||||||||||||
| 380 | }, | ||||||||||||||||||||
| 381 | os_version => 1.000000, | ||||||||||||||||||||
| 382 | }, | ||||||||||||||||||||
| 383 | |||||||||||||||||||||
| 384 | '_core.delete_by_query_rethrottle' => { | ||||||||||||||||||||
| 385 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 386 | method => 'POST', | ||||||||||||||||||||
| 387 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 388 | paths => [[ { task_id => 1 }, "_delete_by_query", "{task_id}", "_rethrottle" ]], | ||||||||||||||||||||
| 389 | qs => { | ||||||||||||||||||||
| 390 | # Endpoint specific query parameters | ||||||||||||||||||||
| 391 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 392 | # Common API query parameters | ||||||||||||||||||||
| 393 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 394 | 'filter_path' => 'list', | ||||||||||||||||||||
| 395 | 'human' => 'boolean', | ||||||||||||||||||||
| 396 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 397 | 'source' => 'string', | ||||||||||||||||||||
| 398 | }, | ||||||||||||||||||||
| 399 | os_version => 1.000000, | ||||||||||||||||||||
| 400 | }, | ||||||||||||||||||||
| 401 | |||||||||||||||||||||
| 402 | '_core.delete_pit' => { | ||||||||||||||||||||
| 403 | body => {}, | ||||||||||||||||||||
| 404 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/#delete-pits', | ||||||||||||||||||||
| 405 | method => 'DELETE', | ||||||||||||||||||||
| 406 | parts => {}, | ||||||||||||||||||||
| 407 | paths => [[ {}, "_search", "point_in_time" ]], | ||||||||||||||||||||
| 408 | qs => { | ||||||||||||||||||||
| 409 | # Common API query parameters | ||||||||||||||||||||
| 410 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 411 | 'filter_path' => 'list', | ||||||||||||||||||||
| 412 | 'human' => 'boolean', | ||||||||||||||||||||
| 413 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 414 | 'source' => 'string', | ||||||||||||||||||||
| 415 | }, | ||||||||||||||||||||
| 416 | os_version => 2.004000, | ||||||||||||||||||||
| 417 | }, | ||||||||||||||||||||
| 418 | |||||||||||||||||||||
| 419 | '_core.delete_script' => { | ||||||||||||||||||||
| 420 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/delete-script/', | ||||||||||||||||||||
| 421 | method => 'DELETE', | ||||||||||||||||||||
| 422 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 423 | paths => [[ { id => 1 }, "_scripts", "{id}" ]], | ||||||||||||||||||||
| 424 | qs => { | ||||||||||||||||||||
| 425 | # Endpoint specific query parameters | ||||||||||||||||||||
| 426 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 427 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 428 | 'timeout' => 'string', | ||||||||||||||||||||
| 429 | # Common API query parameters | ||||||||||||||||||||
| 430 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 431 | 'filter_path' => 'list', | ||||||||||||||||||||
| 432 | 'human' => 'boolean', | ||||||||||||||||||||
| 433 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 434 | 'source' => 'string', | ||||||||||||||||||||
| 435 | }, | ||||||||||||||||||||
| 436 | os_version => 1.000000, | ||||||||||||||||||||
| 437 | }, | ||||||||||||||||||||
| 438 | |||||||||||||||||||||
| 439 | '_core.exists' => { | ||||||||||||||||||||
| 440 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/', | ||||||||||||||||||||
| 441 | method => 'HEAD', | ||||||||||||||||||||
| 442 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 443 | paths => [[ { index => 0, id => 2 }, "{index}", "_doc", "{id}" ]], | ||||||||||||||||||||
| 444 | qs => { | ||||||||||||||||||||
| 445 | # Endpoint specific query parameters | ||||||||||||||||||||
| 446 | '_source' => 'list', | ||||||||||||||||||||
| 447 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 448 | '_source_includes' => 'list', | ||||||||||||||||||||
| 449 | 'preference' => 'string', | ||||||||||||||||||||
| 450 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 451 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 452 | 'routing' => 'list', | ||||||||||||||||||||
| 453 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 454 | 'version' => 'number', | ||||||||||||||||||||
| 455 | 'version_type' => 'string', | ||||||||||||||||||||
| 456 | # Common API query parameters | ||||||||||||||||||||
| 457 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 458 | 'filter_path' => 'list', | ||||||||||||||||||||
| 459 | 'human' => 'boolean', | ||||||||||||||||||||
| 460 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 461 | 'source' => 'string', | ||||||||||||||||||||
| 462 | }, | ||||||||||||||||||||
| 463 | os_version => 1.000000, | ||||||||||||||||||||
| 464 | }, | ||||||||||||||||||||
| 465 | |||||||||||||||||||||
| 466 | '_core.exists_source' => { | ||||||||||||||||||||
| 467 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/', | ||||||||||||||||||||
| 468 | method => 'HEAD', | ||||||||||||||||||||
| 469 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 470 | paths => [[ { index => 0, id => 2 }, "{index}", "_source", "{id}" ]], | ||||||||||||||||||||
| 471 | qs => { | ||||||||||||||||||||
| 472 | # Endpoint specific query parameters | ||||||||||||||||||||
| 473 | '_source' => 'list', | ||||||||||||||||||||
| 474 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 475 | '_source_includes' => 'list', | ||||||||||||||||||||
| 476 | 'preference' => 'string', | ||||||||||||||||||||
| 477 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 478 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 479 | 'routing' => 'list', | ||||||||||||||||||||
| 480 | 'version' => 'number', | ||||||||||||||||||||
| 481 | 'version_type' => 'string', | ||||||||||||||||||||
| 482 | # Common API query parameters | ||||||||||||||||||||
| 483 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 484 | 'filter_path' => 'list', | ||||||||||||||||||||
| 485 | 'human' => 'boolean', | ||||||||||||||||||||
| 486 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 487 | 'source' => 'string', | ||||||||||||||||||||
| 488 | }, | ||||||||||||||||||||
| 489 | os_version => 1.000000, | ||||||||||||||||||||
| 490 | }, | ||||||||||||||||||||
| 491 | |||||||||||||||||||||
| 492 | '_core.explain' => { | ||||||||||||||||||||
| 493 | body => {}, | ||||||||||||||||||||
| 494 | doc => 'https://opensearch.org/docs/latest/api-reference/explain/', | ||||||||||||||||||||
| 495 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 496 | method => 'detect', | ||||||||||||||||||||
| 497 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 498 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 499 | paths => [[ { index => 0, id => 2 }, "{index}", "_explain", "{id}" ]], | ||||||||||||||||||||
| 500 | qs => { | ||||||||||||||||||||
| 501 | # Endpoint specific query parameters | ||||||||||||||||||||
| 502 | '_source' => 'list', | ||||||||||||||||||||
| 503 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 504 | '_source_includes' => 'list', | ||||||||||||||||||||
| 505 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 506 | 'analyzer' => 'string', | ||||||||||||||||||||
| 507 | 'default_operator' => 'string', | ||||||||||||||||||||
| 508 | 'df' => 'string', | ||||||||||||||||||||
| 509 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 510 | 'preference' => 'string', | ||||||||||||||||||||
| 511 | 'q' => 'string', | ||||||||||||||||||||
| 512 | 'routing' => 'list', | ||||||||||||||||||||
| 513 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 514 | # Common API query parameters | ||||||||||||||||||||
| 515 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 516 | 'filter_path' => 'list', | ||||||||||||||||||||
| 517 | 'human' => 'boolean', | ||||||||||||||||||||
| 518 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 519 | 'source' => 'string', | ||||||||||||||||||||
| 520 | }, | ||||||||||||||||||||
| 521 | os_version => 1.000000, | ||||||||||||||||||||
| 522 | }, | ||||||||||||||||||||
| 523 | |||||||||||||||||||||
| 524 | '_core.field_caps' => { | ||||||||||||||||||||
| 525 | body => {}, | ||||||||||||||||||||
| 526 | doc => 'https://opensearch.org/docs/latest/field-types/supported-field-types/alias/#using-aliases-in-field-capabilities-api-operations', | ||||||||||||||||||||
| 527 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 528 | method => 'detect', | ||||||||||||||||||||
| 529 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 530 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 531 | paths => [ | ||||||||||||||||||||
| 532 | [ { index => 0 }, "{index}", "_field_caps" ], | ||||||||||||||||||||
| 533 | [ {}, "_field_caps" ] | ||||||||||||||||||||
| 534 | ], | ||||||||||||||||||||
| 535 | qs => { | ||||||||||||||||||||
| 536 | # Endpoint specific query parameters | ||||||||||||||||||||
| 537 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 538 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 539 | 'fields' => 'list', | ||||||||||||||||||||
| 540 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 541 | 'include_unmapped' => 'boolean', | ||||||||||||||||||||
| 542 | # Common API query parameters | ||||||||||||||||||||
| 543 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 544 | 'filter_path' => 'list', | ||||||||||||||||||||
| 545 | 'human' => 'boolean', | ||||||||||||||||||||
| 546 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 547 | 'source' => 'string', | ||||||||||||||||||||
| 548 | }, | ||||||||||||||||||||
| 549 | os_version => 1.000000, | ||||||||||||||||||||
| 550 | }, | ||||||||||||||||||||
| 551 | |||||||||||||||||||||
| 552 | '_core.get' => { | ||||||||||||||||||||
| 553 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/', | ||||||||||||||||||||
| 554 | method => 'GET', | ||||||||||||||||||||
| 555 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 556 | paths => [[ { index => 0, id => 2 }, "{index}", "_doc", "{id}" ]], | ||||||||||||||||||||
| 557 | qs => { | ||||||||||||||||||||
| 558 | # Endpoint specific query parameters | ||||||||||||||||||||
| 559 | '_source' => 'list', | ||||||||||||||||||||
| 560 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 561 | '_source_includes' => 'list', | ||||||||||||||||||||
| 562 | 'preference' => 'string', | ||||||||||||||||||||
| 563 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 564 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 565 | 'routing' => 'list', | ||||||||||||||||||||
| 566 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 567 | 'version' => 'number', | ||||||||||||||||||||
| 568 | 'version_type' => 'string', | ||||||||||||||||||||
| 569 | # Common API query parameters | ||||||||||||||||||||
| 570 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 571 | 'filter_path' => 'list', | ||||||||||||||||||||
| 572 | 'human' => 'boolean', | ||||||||||||||||||||
| 573 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 574 | 'source' => 'string', | ||||||||||||||||||||
| 575 | }, | ||||||||||||||||||||
| 576 | os_version => 1.000000, | ||||||||||||||||||||
| 577 | }, | ||||||||||||||||||||
| 578 | |||||||||||||||||||||
| 579 | '_core.get_all_pits' => { | ||||||||||||||||||||
| 580 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/#list-all-pits', | ||||||||||||||||||||
| 581 | method => 'GET', | ||||||||||||||||||||
| 582 | parts => {}, | ||||||||||||||||||||
| 583 | paths => [[ {}, "_search", "point_in_time", "_all" ]], | ||||||||||||||||||||
| 584 | qs => { | ||||||||||||||||||||
| 585 | # Common API query parameters | ||||||||||||||||||||
| 586 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 587 | 'filter_path' => 'list', | ||||||||||||||||||||
| 588 | 'human' => 'boolean', | ||||||||||||||||||||
| 589 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 590 | 'source' => 'string', | ||||||||||||||||||||
| 591 | }, | ||||||||||||||||||||
| 592 | os_version => 2.004000, | ||||||||||||||||||||
| 593 | }, | ||||||||||||||||||||
| 594 | |||||||||||||||||||||
| 595 | '_core.get_script' => { | ||||||||||||||||||||
| 596 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/get-stored-script/', | ||||||||||||||||||||
| 597 | method => 'GET', | ||||||||||||||||||||
| 598 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 599 | paths => [[ { id => 1 }, "_scripts", "{id}" ]], | ||||||||||||||||||||
| 600 | qs => { | ||||||||||||||||||||
| 601 | # Endpoint specific query parameters | ||||||||||||||||||||
| 602 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 603 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 604 | # Common API query parameters | ||||||||||||||||||||
| 605 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 606 | 'filter_path' => 'list', | ||||||||||||||||||||
| 607 | 'human' => 'boolean', | ||||||||||||||||||||
| 608 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 609 | 'source' => 'string', | ||||||||||||||||||||
| 610 | }, | ||||||||||||||||||||
| 611 | os_version => 1.000000, | ||||||||||||||||||||
| 612 | }, | ||||||||||||||||||||
| 613 | |||||||||||||||||||||
| 614 | '_core.get_script_context' => { | ||||||||||||||||||||
| 615 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/get-script-contexts/', | ||||||||||||||||||||
| 616 | method => 'GET', | ||||||||||||||||||||
| 617 | parts => {}, | ||||||||||||||||||||
| 618 | paths => [[ {}, "_script_context" ]], | ||||||||||||||||||||
| 619 | qs => { | ||||||||||||||||||||
| 620 | # Common API query parameters | ||||||||||||||||||||
| 621 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 622 | 'filter_path' => 'list', | ||||||||||||||||||||
| 623 | 'human' => 'boolean', | ||||||||||||||||||||
| 624 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 625 | 'source' => 'string', | ||||||||||||||||||||
| 626 | }, | ||||||||||||||||||||
| 627 | os_version => 1.000000, | ||||||||||||||||||||
| 628 | }, | ||||||||||||||||||||
| 629 | |||||||||||||||||||||
| 630 | '_core.get_script_languages' => { | ||||||||||||||||||||
| 631 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/get-script-language/', | ||||||||||||||||||||
| 632 | method => 'GET', | ||||||||||||||||||||
| 633 | parts => {}, | ||||||||||||||||||||
| 634 | paths => [[ {}, "_script_language" ]], | ||||||||||||||||||||
| 635 | qs => { | ||||||||||||||||||||
| 636 | # Common API query parameters | ||||||||||||||||||||
| 637 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 638 | 'filter_path' => 'list', | ||||||||||||||||||||
| 639 | 'human' => 'boolean', | ||||||||||||||||||||
| 640 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 641 | 'source' => 'string', | ||||||||||||||||||||
| 642 | }, | ||||||||||||||||||||
| 643 | os_version => 1.000000, | ||||||||||||||||||||
| 644 | }, | ||||||||||||||||||||
| 645 | |||||||||||||||||||||
| 646 | '_core.get_source' => { | ||||||||||||||||||||
| 647 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/', | ||||||||||||||||||||
| 648 | method => 'GET', | ||||||||||||||||||||
| 649 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 650 | paths => [[ { index => 0, id => 2 }, "{index}", "_source", "{id}" ]], | ||||||||||||||||||||
| 651 | qs => { | ||||||||||||||||||||
| 652 | # Endpoint specific query parameters | ||||||||||||||||||||
| 653 | '_source' => 'list', | ||||||||||||||||||||
| 654 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 655 | '_source_includes' => 'list', | ||||||||||||||||||||
| 656 | 'preference' => 'string', | ||||||||||||||||||||
| 657 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 658 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 659 | 'routing' => 'list', | ||||||||||||||||||||
| 660 | 'version' => 'number', | ||||||||||||||||||||
| 661 | 'version_type' => 'string', | ||||||||||||||||||||
| 662 | # Common API query parameters | ||||||||||||||||||||
| 663 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 664 | 'filter_path' => 'list', | ||||||||||||||||||||
| 665 | 'human' => 'boolean', | ||||||||||||||||||||
| 666 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 667 | 'source' => 'string', | ||||||||||||||||||||
| 668 | }, | ||||||||||||||||||||
| 669 | os_version => 1.000000, | ||||||||||||||||||||
| 670 | }, | ||||||||||||||||||||
| 671 | |||||||||||||||||||||
| 672 | '_core.index' => { | ||||||||||||||||||||
| 673 | body => {}, | ||||||||||||||||||||
| 674 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/index-document/', | ||||||||||||||||||||
| 675 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 676 | method => 'detect', | ||||||||||||||||||||
| 677 | detect => { method => 'POST', alternate => 'PUT', check => { body => 0, paths => 1 } }, | ||||||||||||||||||||
| 678 | parts => { id => {}, index => { required => 1 }}, | ||||||||||||||||||||
| 679 | paths => [ | ||||||||||||||||||||
| 680 | [ { index => 0, id => 2 }, "{index}", "_doc", "{id}" ], | ||||||||||||||||||||
| 681 | [ { index => 0 }, "{index}", "_doc" ] | ||||||||||||||||||||
| 682 | ], | ||||||||||||||||||||
| 683 | qs => { | ||||||||||||||||||||
| 684 | # Endpoint specific query parameters | ||||||||||||||||||||
| 685 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 686 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 687 | 'op_type' => 'string', | ||||||||||||||||||||
| 688 | 'pipeline' => 'string', | ||||||||||||||||||||
| 689 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 690 | 'require_alias' => 'boolean', | ||||||||||||||||||||
| 691 | 'routing' => 'list', | ||||||||||||||||||||
| 692 | 'timeout' => 'string', | ||||||||||||||||||||
| 693 | 'version' => 'number', | ||||||||||||||||||||
| 694 | 'version_type' => 'string', | ||||||||||||||||||||
| 695 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 696 | # Common API query parameters | ||||||||||||||||||||
| 697 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 698 | 'filter_path' => 'list', | ||||||||||||||||||||
| 699 | 'human' => 'boolean', | ||||||||||||||||||||
| 700 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 701 | 'source' => 'string', | ||||||||||||||||||||
| 702 | }, | ||||||||||||||||||||
| 703 | os_version => 1.000000, | ||||||||||||||||||||
| 704 | }, | ||||||||||||||||||||
| 705 | |||||||||||||||||||||
| 706 | '_core.info' => { | ||||||||||||||||||||
| 707 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 708 | method => 'GET', | ||||||||||||||||||||
| 709 | parts => {}, | ||||||||||||||||||||
| 710 | paths => [[ {}, "" ]], | ||||||||||||||||||||
| 711 | qs => {}, | ||||||||||||||||||||
| 712 | os_version => 1.000000, | ||||||||||||||||||||
| 713 | }, | ||||||||||||||||||||
| 714 | |||||||||||||||||||||
| 715 | '_core.mget' => { | ||||||||||||||||||||
| 716 | body => { required => 1 }, | ||||||||||||||||||||
| 717 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/multi-get/', | ||||||||||||||||||||
| 718 | method => 'POST', | ||||||||||||||||||||
| 719 | parts => { index => {}}, | ||||||||||||||||||||
| 720 | paths => [ | ||||||||||||||||||||
| 721 | [ { index => 0 }, "{index}", "_mget" ], | ||||||||||||||||||||
| 722 | [ {}, "_mget" ] | ||||||||||||||||||||
| 723 | ], | ||||||||||||||||||||
| 724 | qs => { | ||||||||||||||||||||
| 725 | # Endpoint specific query parameters | ||||||||||||||||||||
| 726 | '_source' => 'list', | ||||||||||||||||||||
| 727 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 728 | '_source_includes' => 'list', | ||||||||||||||||||||
| 729 | 'preference' => 'string', | ||||||||||||||||||||
| 730 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 731 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 732 | 'routing' => 'list', | ||||||||||||||||||||
| 733 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 734 | # Common API query parameters | ||||||||||||||||||||
| 735 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 736 | 'filter_path' => 'list', | ||||||||||||||||||||
| 737 | 'human' => 'boolean', | ||||||||||||||||||||
| 738 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 739 | 'source' => 'string', | ||||||||||||||||||||
| 740 | }, | ||||||||||||||||||||
| 741 | os_version => 1.000000, | ||||||||||||||||||||
| 742 | }, | ||||||||||||||||||||
| 743 | |||||||||||||||||||||
| 744 | '_core.msearch' => { | ||||||||||||||||||||
| 745 | body => { required => 1 }, | ||||||||||||||||||||
| 746 | doc => 'https://opensearch.org/docs/latest/api-reference/multi-search/', | ||||||||||||||||||||
| 747 | method => 'POST', | ||||||||||||||||||||
| 748 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 749 | paths => [ | ||||||||||||||||||||
| 750 | [ { index => 0 }, "{index}", "_msearch" ], | ||||||||||||||||||||
| 751 | [ {}, "_msearch" ] | ||||||||||||||||||||
| 752 | ], | ||||||||||||||||||||
| 753 | qs => { | ||||||||||||||||||||
| 754 | # Endpoint specific query parameters | ||||||||||||||||||||
| 755 | 'allow_partial_results' => 'boolean', | ||||||||||||||||||||
| 756 | 'ccs_minimize_roundtrips' => 'boolean', | ||||||||||||||||||||
| 757 | 'max_concurrent_searches' => 'number', | ||||||||||||||||||||
| 758 | 'max_concurrent_shard_requests' => 'number', | ||||||||||||||||||||
| 759 | 'pre_filter_shard_size' => 'number', | ||||||||||||||||||||
| 760 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 761 | 'search_type' => 'string', | ||||||||||||||||||||
| 762 | 'typed_keys' => 'boolean', | ||||||||||||||||||||
| 763 | # Common API query parameters | ||||||||||||||||||||
| 764 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 765 | 'filter_path' => 'list', | ||||||||||||||||||||
| 766 | 'human' => 'boolean', | ||||||||||||||||||||
| 767 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 768 | 'source' => 'string', | ||||||||||||||||||||
| 769 | }, | ||||||||||||||||||||
| 770 | serialize => 'bulk', | ||||||||||||||||||||
| 771 | os_version => 1.000000, | ||||||||||||||||||||
| 772 | }, | ||||||||||||||||||||
| 773 | |||||||||||||||||||||
| 774 | '_core.msearch_template' => { | ||||||||||||||||||||
| 775 | body => { required => 1 }, | ||||||||||||||||||||
| 776 | doc => 'https://opensearch.org/docs/latest/search-plugins/search-template/', | ||||||||||||||||||||
| 777 | method => 'POST', | ||||||||||||||||||||
| 778 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 779 | paths => [ | ||||||||||||||||||||
| 780 | [ { index => 0 }, "{index}", "_msearch", "template" ], | ||||||||||||||||||||
| 781 | [ {}, "_msearch", "template" ] | ||||||||||||||||||||
| 782 | ], | ||||||||||||||||||||
| 783 | qs => { | ||||||||||||||||||||
| 784 | # Endpoint specific query parameters | ||||||||||||||||||||
| 785 | 'ccs_minimize_roundtrips' => 'boolean', | ||||||||||||||||||||
| 786 | 'max_concurrent_searches' => 'number', | ||||||||||||||||||||
| 787 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 788 | 'search_type' => 'string', | ||||||||||||||||||||
| 789 | 'typed_keys' => 'boolean', | ||||||||||||||||||||
| 790 | # Common API query parameters | ||||||||||||||||||||
| 791 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 792 | 'filter_path' => 'list', | ||||||||||||||||||||
| 793 | 'human' => 'boolean', | ||||||||||||||||||||
| 794 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 795 | 'source' => 'string', | ||||||||||||||||||||
| 796 | }, | ||||||||||||||||||||
| 797 | serialize => 'bulk', | ||||||||||||||||||||
| 798 | os_version => 1.000000, | ||||||||||||||||||||
| 799 | }, | ||||||||||||||||||||
| 800 | |||||||||||||||||||||
| 801 | '_core.mtermvectors' => { | ||||||||||||||||||||
| 802 | body => {}, | ||||||||||||||||||||
| 803 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 804 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 805 | method => 'detect', | ||||||||||||||||||||
| 806 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 807 | parts => { index => {}}, | ||||||||||||||||||||
| 808 | paths => [ | ||||||||||||||||||||
| 809 | [ { index => 0 }, "{index}", "_mtermvectors" ], | ||||||||||||||||||||
| 810 | [ {}, "_mtermvectors" ] | ||||||||||||||||||||
| 811 | ], | ||||||||||||||||||||
| 812 | qs => { | ||||||||||||||||||||
| 813 | # Endpoint specific query parameters | ||||||||||||||||||||
| 814 | 'field_statistics' => 'boolean', | ||||||||||||||||||||
| 815 | 'fields' => 'list', | ||||||||||||||||||||
| 816 | 'ids' => 'list', | ||||||||||||||||||||
| 817 | 'offsets' => 'boolean', | ||||||||||||||||||||
| 818 | 'payloads' => 'boolean', | ||||||||||||||||||||
| 819 | 'positions' => 'boolean', | ||||||||||||||||||||
| 820 | 'preference' => 'string', | ||||||||||||||||||||
| 821 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 822 | 'routing' => 'list', | ||||||||||||||||||||
| 823 | 'term_statistics' => 'boolean', | ||||||||||||||||||||
| 824 | 'version' => 'number', | ||||||||||||||||||||
| 825 | 'version_type' => 'string', | ||||||||||||||||||||
| 826 | # Common API query parameters | ||||||||||||||||||||
| 827 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 828 | 'filter_path' => 'list', | ||||||||||||||||||||
| 829 | 'human' => 'boolean', | ||||||||||||||||||||
| 830 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 831 | 'source' => 'string', | ||||||||||||||||||||
| 832 | }, | ||||||||||||||||||||
| 833 | os_version => 1.000000, | ||||||||||||||||||||
| 834 | }, | ||||||||||||||||||||
| 835 | |||||||||||||||||||||
| 836 | '_core.ping' => { | ||||||||||||||||||||
| 837 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 838 | method => 'HEAD', | ||||||||||||||||||||
| 839 | parts => {}, | ||||||||||||||||||||
| 840 | paths => [[ {}, "" ]], | ||||||||||||||||||||
| 841 | qs => { | ||||||||||||||||||||
| 842 | # Common API query parameters | ||||||||||||||||||||
| 843 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 844 | 'filter_path' => 'list', | ||||||||||||||||||||
| 845 | 'human' => 'boolean', | ||||||||||||||||||||
| 846 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 847 | 'source' => 'string', | ||||||||||||||||||||
| 848 | }, | ||||||||||||||||||||
| 849 | os_version => 1.000000, | ||||||||||||||||||||
| 850 | }, | ||||||||||||||||||||
| 851 | |||||||||||||||||||||
| 852 | '_core.put_script' => { | ||||||||||||||||||||
| 853 | body => { required => 1 }, | ||||||||||||||||||||
| 854 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/create-stored-script/', | ||||||||||||||||||||
| 855 | method => 'PUT', | ||||||||||||||||||||
| 856 | parts => { context => {}, id => { required => 1 }}, | ||||||||||||||||||||
| 857 | paths => [ | ||||||||||||||||||||
| 858 | [ { id => 1, context => 2 }, "_scripts", "{id}", "{context}" ], | ||||||||||||||||||||
| 859 | [ { id => 1 }, "_scripts", "{id}" ] | ||||||||||||||||||||
| 860 | ], | ||||||||||||||||||||
| 861 | qs => { | ||||||||||||||||||||
| 862 | # Endpoint specific query parameters | ||||||||||||||||||||
| 863 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 864 | 'context' => 'string', | ||||||||||||||||||||
| 865 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 866 | 'timeout' => 'string', | ||||||||||||||||||||
| 867 | # Common API query parameters | ||||||||||||||||||||
| 868 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 869 | 'filter_path' => 'list', | ||||||||||||||||||||
| 870 | 'human' => 'boolean', | ||||||||||||||||||||
| 871 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 872 | 'source' => 'string', | ||||||||||||||||||||
| 873 | }, | ||||||||||||||||||||
| 874 | os_version => 1.000000, | ||||||||||||||||||||
| 875 | }, | ||||||||||||||||||||
| 876 | |||||||||||||||||||||
| 877 | '_core.rank_eval' => { | ||||||||||||||||||||
| 878 | body => { required => 1 }, | ||||||||||||||||||||
| 879 | doc => 'https://opensearch.org/docs/latest/api-reference/rank-eval/', | ||||||||||||||||||||
| 880 | method => 'POST', | ||||||||||||||||||||
| 881 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 882 | paths => [ | ||||||||||||||||||||
| 883 | [ { index => 0 }, "{index}", "_rank_eval" ], | ||||||||||||||||||||
| 884 | [ {}, "_rank_eval" ] | ||||||||||||||||||||
| 885 | ], | ||||||||||||||||||||
| 886 | qs => { | ||||||||||||||||||||
| 887 | # Endpoint specific query parameters | ||||||||||||||||||||
| 888 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 889 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 890 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 891 | 'search_type' => 'string', | ||||||||||||||||||||
| 892 | # Common API query parameters | ||||||||||||||||||||
| 893 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 894 | 'filter_path' => 'list', | ||||||||||||||||||||
| 895 | 'human' => 'boolean', | ||||||||||||||||||||
| 896 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 897 | 'source' => 'string', | ||||||||||||||||||||
| 898 | }, | ||||||||||||||||||||
| 899 | os_version => 1.000000, | ||||||||||||||||||||
| 900 | }, | ||||||||||||||||||||
| 901 | |||||||||||||||||||||
| 902 | '_core.reindex' => { | ||||||||||||||||||||
| 903 | body => {}, | ||||||||||||||||||||
| 904 | doc => 'https://opensearch.org/docs/latest/im-plugin/reindex-data/', | ||||||||||||||||||||
| 905 | method => 'POST', | ||||||||||||||||||||
| 906 | parts => {}, | ||||||||||||||||||||
| 907 | paths => [[ {}, "_reindex" ]], | ||||||||||||||||||||
| 908 | qs => { | ||||||||||||||||||||
| 909 | # Endpoint specific query parameters | ||||||||||||||||||||
| 910 | 'max_docs' => 'number', | ||||||||||||||||||||
| 911 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 912 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 913 | 'require_alias' => 'boolean', | ||||||||||||||||||||
| 914 | 'scroll' => 'string', | ||||||||||||||||||||
| 915 | 'slices' => 'number|string', | ||||||||||||||||||||
| 916 | 'timeout' => 'string', | ||||||||||||||||||||
| 917 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 918 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 919 | # Common API query parameters | ||||||||||||||||||||
| 920 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 921 | 'filter_path' => 'list', | ||||||||||||||||||||
| 922 | 'human' => 'boolean', | ||||||||||||||||||||
| 923 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 924 | 'source' => 'string', | ||||||||||||||||||||
| 925 | }, | ||||||||||||||||||||
| 926 | os_version => 1.000000, | ||||||||||||||||||||
| 927 | }, | ||||||||||||||||||||
| 928 | |||||||||||||||||||||
| 929 | '_core.reindex_rethrottle' => { | ||||||||||||||||||||
| 930 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 931 | method => 'POST', | ||||||||||||||||||||
| 932 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 933 | paths => [[ { task_id => 1 }, "_reindex", "{task_id}", "_rethrottle" ]], | ||||||||||||||||||||
| 934 | qs => { | ||||||||||||||||||||
| 935 | # Endpoint specific query parameters | ||||||||||||||||||||
| 936 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 937 | # Common API query parameters | ||||||||||||||||||||
| 938 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 939 | 'filter_path' => 'list', | ||||||||||||||||||||
| 940 | 'human' => 'boolean', | ||||||||||||||||||||
| 941 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 942 | 'source' => 'string', | ||||||||||||||||||||
| 943 | }, | ||||||||||||||||||||
| 944 | os_version => 1.000000, | ||||||||||||||||||||
| 945 | }, | ||||||||||||||||||||
| 946 | |||||||||||||||||||||
| 947 | '_core.render_search_template' => { | ||||||||||||||||||||
| 948 | body => {}, | ||||||||||||||||||||
| 949 | doc => 'https://opensearch.org/docs/latest/search-plugins/search-template/', | ||||||||||||||||||||
| 950 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 951 | method => 'detect', | ||||||||||||||||||||
| 952 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 953 | parts => { id => {}}, | ||||||||||||||||||||
| 954 | paths => [ | ||||||||||||||||||||
| 955 | [ { id => 2 }, "_render", "template", "{id}" ], | ||||||||||||||||||||
| 956 | [ {}, "_render", "template" ] | ||||||||||||||||||||
| 957 | ], | ||||||||||||||||||||
| 958 | qs => { | ||||||||||||||||||||
| 959 | # Common API query parameters | ||||||||||||||||||||
| 960 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 961 | 'filter_path' => 'list', | ||||||||||||||||||||
| 962 | 'human' => 'boolean', | ||||||||||||||||||||
| 963 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 964 | 'source' => 'string', | ||||||||||||||||||||
| 965 | }, | ||||||||||||||||||||
| 966 | os_version => 1.000000, | ||||||||||||||||||||
| 967 | }, | ||||||||||||||||||||
| 968 | |||||||||||||||||||||
| 969 | '_core.scripts_painless_execute' => { | ||||||||||||||||||||
| 970 | body => {}, | ||||||||||||||||||||
| 971 | doc => 'https://opensearch.org/docs/latest/api-reference/script-apis/exec-script/', | ||||||||||||||||||||
| 972 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 973 | method => 'detect', | ||||||||||||||||||||
| 974 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 975 | parts => {}, | ||||||||||||||||||||
| 976 | paths => [[ {}, "_scripts", "painless", "_execute" ]], | ||||||||||||||||||||
| 977 | qs => { | ||||||||||||||||||||
| 978 | # Common API query parameters | ||||||||||||||||||||
| 979 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 980 | 'filter_path' => 'list', | ||||||||||||||||||||
| 981 | 'human' => 'boolean', | ||||||||||||||||||||
| 982 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 983 | 'source' => 'string', | ||||||||||||||||||||
| 984 | }, | ||||||||||||||||||||
| 985 | os_version => 1.000000, | ||||||||||||||||||||
| 986 | }, | ||||||||||||||||||||
| 987 | |||||||||||||||||||||
| 988 | '_core.scroll' => { | ||||||||||||||||||||
| 989 | body => {}, | ||||||||||||||||||||
| 990 | doc => 'https://opensearch.org/docs/latest/api-reference/scroll/#path-and-http-methods', | ||||||||||||||||||||
| 991 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 992 | method => 'detect', | ||||||||||||||||||||
| 993 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 994 | parts => { scroll_id => {}}, | ||||||||||||||||||||
| 995 | paths => [ | ||||||||||||||||||||
| 996 | [ { scroll_id => 2 }, "_search", "scroll", "{scroll_id}" ], | ||||||||||||||||||||
| 997 | [ {}, "_search", "scroll" ] | ||||||||||||||||||||
| 998 | ], | ||||||||||||||||||||
| 999 | qs => { | ||||||||||||||||||||
| 1000 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1001 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 1002 | 'scroll' => 'string', | ||||||||||||||||||||
| 1003 | 'scroll_id' => 'string', | ||||||||||||||||||||
| 1004 | # Common API query parameters | ||||||||||||||||||||
| 1005 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1006 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1007 | 'human' => 'boolean', | ||||||||||||||||||||
| 1008 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1009 | 'source' => 'string', | ||||||||||||||||||||
| 1010 | }, | ||||||||||||||||||||
| 1011 | os_version => 1.000000, | ||||||||||||||||||||
| 1012 | }, | ||||||||||||||||||||
| 1013 | |||||||||||||||||||||
| 1014 | '_core.search' => { | ||||||||||||||||||||
| 1015 | body => {}, | ||||||||||||||||||||
| 1016 | doc => 'https://opensearch.org/docs/latest/api-reference/search/', | ||||||||||||||||||||
| 1017 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 1018 | method => 'detect', | ||||||||||||||||||||
| 1019 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 1020 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1021 | paths => [ | ||||||||||||||||||||
| 1022 | [ { index => 0 }, "{index}", "_search" ], | ||||||||||||||||||||
| 1023 | [ {}, "_search" ] | ||||||||||||||||||||
| 1024 | ], | ||||||||||||||||||||
| 1025 | qs => { | ||||||||||||||||||||
| 1026 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1027 | '_source' => 'list', | ||||||||||||||||||||
| 1028 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 1029 | '_source_includes' => 'list', | ||||||||||||||||||||
| 1030 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 1031 | 'allow_partial_search_results' => 'boolean', | ||||||||||||||||||||
| 1032 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 1033 | 'analyzer' => 'string', | ||||||||||||||||||||
| 1034 | 'batched_reduce_size' => 'number', | ||||||||||||||||||||
| 1035 | 'cancel_after_time_interval' => 'string', | ||||||||||||||||||||
| 1036 | 'ccs_minimize_roundtrips' => 'boolean', | ||||||||||||||||||||
| 1037 | 'default_operator' => 'string', | ||||||||||||||||||||
| 1038 | 'df' => 'string', | ||||||||||||||||||||
| 1039 | 'docvalue_fields' => 'list', | ||||||||||||||||||||
| 1040 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1041 | 'explain' => 'boolean', | ||||||||||||||||||||
| 1042 | 'from' => 'number', | ||||||||||||||||||||
| 1043 | 'ignore_throttled' => 'boolean', | ||||||||||||||||||||
| 1044 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1045 | 'include_named_queries_score' => 'boolean', | ||||||||||||||||||||
| 1046 | 'index' => 'list', | ||||||||||||||||||||
| 1047 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 1048 | 'max_concurrent_shard_requests' => 'number', | ||||||||||||||||||||
| 1049 | 'phase_took' => 'boolean', | ||||||||||||||||||||
| 1050 | 'pre_filter_shard_size' => 'number', | ||||||||||||||||||||
| 1051 | 'preference' => 'string', | ||||||||||||||||||||
| 1052 | 'q' => 'string', | ||||||||||||||||||||
| 1053 | 'request_cache' => 'boolean', | ||||||||||||||||||||
| 1054 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 1055 | 'routing' => 'list', | ||||||||||||||||||||
| 1056 | 'scroll' => 'string', | ||||||||||||||||||||
| 1057 | 'search_pipeline' => 'string', | ||||||||||||||||||||
| 1058 | 'search_type' => 'string', | ||||||||||||||||||||
| 1059 | 'seq_no_primary_term' => 'boolean', | ||||||||||||||||||||
| 1060 | 'size' => 'number', | ||||||||||||||||||||
| 1061 | 'sort' => 'list', | ||||||||||||||||||||
| 1062 | 'stats' => 'list', | ||||||||||||||||||||
| 1063 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 1064 | 'suggest_field' => 'string', | ||||||||||||||||||||
| 1065 | 'suggest_mode' => 'string', | ||||||||||||||||||||
| 1066 | 'suggest_size' => 'number', | ||||||||||||||||||||
| 1067 | 'suggest_text' => 'string', | ||||||||||||||||||||
| 1068 | 'terminate_after' => 'number', | ||||||||||||||||||||
| 1069 | 'timeout' => 'string', | ||||||||||||||||||||
| 1070 | 'track_scores' => 'boolean', | ||||||||||||||||||||
| 1071 | 'track_total_hits' => 'boolean|number', | ||||||||||||||||||||
| 1072 | 'typed_keys' => 'boolean', | ||||||||||||||||||||
| 1073 | 'verbose_pipeline' => 'boolean', | ||||||||||||||||||||
| 1074 | 'version' => 'boolean', | ||||||||||||||||||||
| 1075 | # Common API query parameters | ||||||||||||||||||||
| 1076 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1077 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1078 | 'human' => 'boolean', | ||||||||||||||||||||
| 1079 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1080 | 'source' => 'string', | ||||||||||||||||||||
| 1081 | }, | ||||||||||||||||||||
| 1082 | os_version => 1.000000, | ||||||||||||||||||||
| 1083 | }, | ||||||||||||||||||||
| 1084 | |||||||||||||||||||||
| 1085 | '_core.search_shards' => { | ||||||||||||||||||||
| 1086 | body => {}, | ||||||||||||||||||||
| 1087 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 1088 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 1089 | method => 'detect', | ||||||||||||||||||||
| 1090 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 1091 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1092 | paths => [ | ||||||||||||||||||||
| 1093 | [ { index => 0 }, "{index}", "_search_shards" ], | ||||||||||||||||||||
| 1094 | [ {}, "_search_shards" ] | ||||||||||||||||||||
| 1095 | ], | ||||||||||||||||||||
| 1096 | qs => { | ||||||||||||||||||||
| 1097 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1098 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 1099 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1100 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1101 | 'local' => 'boolean', | ||||||||||||||||||||
| 1102 | 'preference' => 'string', | ||||||||||||||||||||
| 1103 | 'routing' => 'list', | ||||||||||||||||||||
| 1104 | # Common API query parameters | ||||||||||||||||||||
| 1105 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1106 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1107 | 'human' => 'boolean', | ||||||||||||||||||||
| 1108 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1109 | 'source' => 'string', | ||||||||||||||||||||
| 1110 | }, | ||||||||||||||||||||
| 1111 | os_version => 1.000000, | ||||||||||||||||||||
| 1112 | }, | ||||||||||||||||||||
| 1113 | |||||||||||||||||||||
| 1114 | '_core.search_template' => { | ||||||||||||||||||||
| 1115 | body => { required => 1 }, | ||||||||||||||||||||
| 1116 | doc => 'https://opensearch.org/docs/latest/search-plugins/search-template/', | ||||||||||||||||||||
| 1117 | method => 'POST', | ||||||||||||||||||||
| 1118 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1119 | paths => [ | ||||||||||||||||||||
| 1120 | [ { index => 0 }, "{index}", "_search", "template" ], | ||||||||||||||||||||
| 1121 | [ {}, "_search", "template" ] | ||||||||||||||||||||
| 1122 | ], | ||||||||||||||||||||
| 1123 | qs => { | ||||||||||||||||||||
| 1124 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1125 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 1126 | 'ccs_minimize_roundtrips' => 'boolean', | ||||||||||||||||||||
| 1127 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1128 | 'explain' => 'boolean', | ||||||||||||||||||||
| 1129 | 'ignore_throttled' => 'boolean', | ||||||||||||||||||||
| 1130 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1131 | 'phase_took' => 'boolean', | ||||||||||||||||||||
| 1132 | 'preference' => 'string', | ||||||||||||||||||||
| 1133 | 'profile' => 'boolean', | ||||||||||||||||||||
| 1134 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 1135 | 'routing' => 'list', | ||||||||||||||||||||
| 1136 | 'scroll' => 'string', | ||||||||||||||||||||
| 1137 | 'search_pipeline' => 'string', | ||||||||||||||||||||
| 1138 | 'search_type' => 'string', | ||||||||||||||||||||
| 1139 | 'typed_keys' => 'boolean', | ||||||||||||||||||||
| 1140 | # Common API query parameters | ||||||||||||||||||||
| 1141 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1142 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1143 | 'human' => 'boolean', | ||||||||||||||||||||
| 1144 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1145 | 'source' => 'string', | ||||||||||||||||||||
| 1146 | }, | ||||||||||||||||||||
| 1147 | os_version => 1.000000, | ||||||||||||||||||||
| 1148 | }, | ||||||||||||||||||||
| 1149 | |||||||||||||||||||||
| 1150 | '_core.termvectors' => { | ||||||||||||||||||||
| 1151 | body => {}, | ||||||||||||||||||||
| 1152 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 1153 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 1154 | method => 'detect', | ||||||||||||||||||||
| 1155 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 1156 | parts => { id => {}, index => { required => 1 }}, | ||||||||||||||||||||
| 1157 | paths => [ | ||||||||||||||||||||
| 1158 | [ { index => 0, id => 2 }, "{index}", "_termvectors", "{id}" ], | ||||||||||||||||||||
| 1159 | [ { index => 0 }, "{index}", "_termvectors" ] | ||||||||||||||||||||
| 1160 | ], | ||||||||||||||||||||
| 1161 | qs => { | ||||||||||||||||||||
| 1162 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1163 | 'field_statistics' => 'boolean', | ||||||||||||||||||||
| 1164 | 'fields' => 'list', | ||||||||||||||||||||
| 1165 | 'offsets' => 'boolean', | ||||||||||||||||||||
| 1166 | 'payloads' => 'boolean', | ||||||||||||||||||||
| 1167 | 'positions' => 'boolean', | ||||||||||||||||||||
| 1168 | 'preference' => 'string', | ||||||||||||||||||||
| 1169 | 'realtime' => 'boolean', | ||||||||||||||||||||
| 1170 | 'routing' => 'list', | ||||||||||||||||||||
| 1171 | 'term_statistics' => 'boolean', | ||||||||||||||||||||
| 1172 | 'version' => 'number', | ||||||||||||||||||||
| 1173 | 'version_type' => 'string', | ||||||||||||||||||||
| 1174 | # Common API query parameters | ||||||||||||||||||||
| 1175 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1176 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1177 | 'human' => 'boolean', | ||||||||||||||||||||
| 1178 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1179 | 'source' => 'string', | ||||||||||||||||||||
| 1180 | }, | ||||||||||||||||||||
| 1181 | os_version => 1.000000, | ||||||||||||||||||||
| 1182 | }, | ||||||||||||||||||||
| 1183 | |||||||||||||||||||||
| 1184 | '_core.update' => { | ||||||||||||||||||||
| 1185 | body => {}, | ||||||||||||||||||||
| 1186 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/update-document/', | ||||||||||||||||||||
| 1187 | method => 'POST', | ||||||||||||||||||||
| 1188 | parts => { id => { required => 1 }, index => { required => 1 }}, | ||||||||||||||||||||
| 1189 | paths => [[ { index => 0, id => 2 }, "{index}", "_update", "{id}" ]], | ||||||||||||||||||||
| 1190 | qs => { | ||||||||||||||||||||
| 1191 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1192 | '_source' => 'list', | ||||||||||||||||||||
| 1193 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 1194 | '_source_includes' => 'list', | ||||||||||||||||||||
| 1195 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 1196 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 1197 | 'lang' => 'string', | ||||||||||||||||||||
| 1198 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 1199 | 'require_alias' => 'boolean', | ||||||||||||||||||||
| 1200 | 'retry_on_conflict' => 'number', | ||||||||||||||||||||
| 1201 | 'routing' => 'list', | ||||||||||||||||||||
| 1202 | 'timeout' => 'string', | ||||||||||||||||||||
| 1203 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 1204 | # Common API query parameters | ||||||||||||||||||||
| 1205 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1206 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1207 | 'human' => 'boolean', | ||||||||||||||||||||
| 1208 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1209 | 'source' => 'string', | ||||||||||||||||||||
| 1210 | }, | ||||||||||||||||||||
| 1211 | os_version => 1.000000, | ||||||||||||||||||||
| 1212 | }, | ||||||||||||||||||||
| 1213 | |||||||||||||||||||||
| 1214 | '_core.update_by_query' => { | ||||||||||||||||||||
| 1215 | body => {}, | ||||||||||||||||||||
| 1216 | doc => 'https://opensearch.org/docs/latest/api-reference/document-apis/update-by-query/', | ||||||||||||||||||||
| 1217 | method => 'POST', | ||||||||||||||||||||
| 1218 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 1219 | paths => [[ { index => 0 }, "{index}", "_update_by_query" ]], | ||||||||||||||||||||
| 1220 | qs => { | ||||||||||||||||||||
| 1221 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1222 | '_source' => 'list', | ||||||||||||||||||||
| 1223 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 1224 | '_source_includes' => 'list', | ||||||||||||||||||||
| 1225 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 1226 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 1227 | 'analyzer' => 'string', | ||||||||||||||||||||
| 1228 | 'conflicts' => 'string', | ||||||||||||||||||||
| 1229 | 'default_operator' => 'string', | ||||||||||||||||||||
| 1230 | 'df' => 'string', | ||||||||||||||||||||
| 1231 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1232 | 'from' => 'number', | ||||||||||||||||||||
| 1233 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1234 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 1235 | 'max_docs' => 'number', | ||||||||||||||||||||
| 1236 | 'pipeline' => 'string', | ||||||||||||||||||||
| 1237 | 'preference' => 'string', | ||||||||||||||||||||
| 1238 | 'q' => 'string', | ||||||||||||||||||||
| 1239 | 'refresh' => 'boolean|string', | ||||||||||||||||||||
| 1240 | 'request_cache' => 'boolean', | ||||||||||||||||||||
| 1241 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 1242 | 'routing' => 'list', | ||||||||||||||||||||
| 1243 | 'scroll' => 'string', | ||||||||||||||||||||
| 1244 | 'scroll_size' => 'number', | ||||||||||||||||||||
| 1245 | 'search_timeout' => 'string', | ||||||||||||||||||||
| 1246 | 'search_type' => 'string', | ||||||||||||||||||||
| 1247 | 'size' => 'number', | ||||||||||||||||||||
| 1248 | 'slices' => 'number|string', | ||||||||||||||||||||
| 1249 | 'sort' => 'list', | ||||||||||||||||||||
| 1250 | 'stats' => 'list', | ||||||||||||||||||||
| 1251 | 'terminate_after' => 'number', | ||||||||||||||||||||
| 1252 | 'timeout' => 'string', | ||||||||||||||||||||
| 1253 | 'version' => 'boolean', | ||||||||||||||||||||
| 1254 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 1255 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 1256 | # Common API query parameters | ||||||||||||||||||||
| 1257 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1258 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1259 | 'human' => 'boolean', | ||||||||||||||||||||
| 1260 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1261 | 'source' => 'string', | ||||||||||||||||||||
| 1262 | }, | ||||||||||||||||||||
| 1263 | os_version => 1.000000, | ||||||||||||||||||||
| 1264 | }, | ||||||||||||||||||||
| 1265 | |||||||||||||||||||||
| 1266 | '_core.update_by_query_rethrottle' => { | ||||||||||||||||||||
| 1267 | doc => 'https://docs.opensearch.org/latest/api-reference/', | ||||||||||||||||||||
| 1268 | method => 'POST', | ||||||||||||||||||||
| 1269 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 1270 | paths => [[ { task_id => 1 }, "_update_by_query", "{task_id}", "_rethrottle" ]], | ||||||||||||||||||||
| 1271 | qs => { | ||||||||||||||||||||
| 1272 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1273 | 'requests_per_second' => 'number', | ||||||||||||||||||||
| 1274 | # Common API query parameters | ||||||||||||||||||||
| 1275 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1276 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1277 | 'human' => 'boolean', | ||||||||||||||||||||
| 1278 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1279 | 'source' => 'string', | ||||||||||||||||||||
| 1280 | }, | ||||||||||||||||||||
| 1281 | os_version => 1.000000, | ||||||||||||||||||||
| 1282 | }, | ||||||||||||||||||||
| 1283 | |||||||||||||||||||||
| 1284 | 'asynchronous_search.delete' => { | ||||||||||||||||||||
| 1285 | doc => 'https://opensearch.org/docs/latest/search-plugins/async/index/#delete-searches-and-results', | ||||||||||||||||||||
| 1286 | method => 'DELETE', | ||||||||||||||||||||
| 1287 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 1288 | paths => [[ { id => 2 }, "_plugins", "_asynchronous_search", "{id}" ]], | ||||||||||||||||||||
| 1289 | qs => { | ||||||||||||||||||||
| 1290 | # Common API query parameters | ||||||||||||||||||||
| 1291 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1292 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1293 | 'human' => 'boolean', | ||||||||||||||||||||
| 1294 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1295 | 'source' => 'string', | ||||||||||||||||||||
| 1296 | }, | ||||||||||||||||||||
| 1297 | os_version => 1.000000, | ||||||||||||||||||||
| 1298 | }, | ||||||||||||||||||||
| 1299 | |||||||||||||||||||||
| 1300 | 'asynchronous_search.get' => { | ||||||||||||||||||||
| 1301 | doc => 'https://opensearch.org/docs/latest/search-plugins/async/index/#get-partial-results', | ||||||||||||||||||||
| 1302 | method => 'GET', | ||||||||||||||||||||
| 1303 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 1304 | paths => [[ { id => 2 }, "_plugins", "_asynchronous_search", "{id}" ]], | ||||||||||||||||||||
| 1305 | qs => { | ||||||||||||||||||||
| 1306 | # Common API query parameters | ||||||||||||||||||||
| 1307 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1308 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1309 | 'human' => 'boolean', | ||||||||||||||||||||
| 1310 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1311 | 'source' => 'string', | ||||||||||||||||||||
| 1312 | }, | ||||||||||||||||||||
| 1313 | os_version => 1.000000, | ||||||||||||||||||||
| 1314 | }, | ||||||||||||||||||||
| 1315 | |||||||||||||||||||||
| 1316 | 'asynchronous_search.search' => { | ||||||||||||||||||||
| 1317 | body => {}, | ||||||||||||||||||||
| 1318 | doc => 'https://opensearch.org/docs/latest/search-plugins/async/index/#rest-api', | ||||||||||||||||||||
| 1319 | method => 'POST', | ||||||||||||||||||||
| 1320 | parts => {}, | ||||||||||||||||||||
| 1321 | paths => [[ {}, "_plugins", "_asynchronous_search" ]], | ||||||||||||||||||||
| 1322 | qs => { | ||||||||||||||||||||
| 1323 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1324 | 'index' => 'string', | ||||||||||||||||||||
| 1325 | 'keep_alive' => 'string', | ||||||||||||||||||||
| 1326 | 'keep_on_completion' => 'boolean', | ||||||||||||||||||||
| 1327 | 'wait_for_completion_timeout' => 'string', | ||||||||||||||||||||
| 1328 | # Common API query parameters | ||||||||||||||||||||
| 1329 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1330 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1331 | 'human' => 'boolean', | ||||||||||||||||||||
| 1332 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1333 | 'source' => 'string', | ||||||||||||||||||||
| 1334 | }, | ||||||||||||||||||||
| 1335 | os_version => 1.000000, | ||||||||||||||||||||
| 1336 | }, | ||||||||||||||||||||
| 1337 | |||||||||||||||||||||
| 1338 | 'asynchronous_search.stats' => { | ||||||||||||||||||||
| 1339 | doc => 'https://opensearch.org/docs/latest/search-plugins/async/index/#monitor-stats', | ||||||||||||||||||||
| 1340 | method => 'GET', | ||||||||||||||||||||
| 1341 | parts => {}, | ||||||||||||||||||||
| 1342 | paths => [[ {}, "_plugins", "_asynchronous_search", "stats" ]], | ||||||||||||||||||||
| 1343 | qs => { | ||||||||||||||||||||
| 1344 | # Common API query parameters | ||||||||||||||||||||
| 1345 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1346 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1347 | 'human' => 'boolean', | ||||||||||||||||||||
| 1348 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1349 | 'source' => 'string', | ||||||||||||||||||||
| 1350 | }, | ||||||||||||||||||||
| 1351 | os_version => 1.000000, | ||||||||||||||||||||
| 1352 | }, | ||||||||||||||||||||
| 1353 | |||||||||||||||||||||
| 1354 | 'cat.aliases' => { | ||||||||||||||||||||
| 1355 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-aliases/', | ||||||||||||||||||||
| 1356 | method => 'GET', | ||||||||||||||||||||
| 1357 | parts => { name => { multi => 1 }}, | ||||||||||||||||||||
| 1358 | paths => [ | ||||||||||||||||||||
| 1359 | [ { name => 2 }, "_cat", "aliases", "{name}" ], | ||||||||||||||||||||
| 1360 | [ {}, "_cat", "aliases" ] | ||||||||||||||||||||
| 1361 | ], | ||||||||||||||||||||
| 1362 | qs => { | ||||||||||||||||||||
| 1363 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1364 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1365 | 'format' => 'string', | ||||||||||||||||||||
| 1366 | 'h' => 'list', | ||||||||||||||||||||
| 1367 | 'help' => 'boolean', | ||||||||||||||||||||
| 1368 | 'local' => 'boolean', | ||||||||||||||||||||
| 1369 | 's' => 'list', | ||||||||||||||||||||
| 1370 | 'v' => 'boolean', | ||||||||||||||||||||
| 1371 | # Common API query parameters | ||||||||||||||||||||
| 1372 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1373 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1374 | 'human' => 'boolean', | ||||||||||||||||||||
| 1375 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1376 | 'source' => 'string', | ||||||||||||||||||||
| 1377 | }, | ||||||||||||||||||||
| 1378 | os_version => 1.000000, | ||||||||||||||||||||
| 1379 | }, | ||||||||||||||||||||
| 1380 | |||||||||||||||||||||
| 1381 | 'cat.all_pit_segments' => { | ||||||||||||||||||||
| 1382 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/', | ||||||||||||||||||||
| 1383 | method => 'GET', | ||||||||||||||||||||
| 1384 | parts => {}, | ||||||||||||||||||||
| 1385 | paths => [[ {}, "_cat", "pit_segments", "_all" ]], | ||||||||||||||||||||
| 1386 | qs => { | ||||||||||||||||||||
| 1387 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1388 | 'bytes' => 'string', | ||||||||||||||||||||
| 1389 | 'format' => 'string', | ||||||||||||||||||||
| 1390 | 'h' => 'list', | ||||||||||||||||||||
| 1391 | 'help' => 'boolean', | ||||||||||||||||||||
| 1392 | 's' => 'list', | ||||||||||||||||||||
| 1393 | 'v' => 'boolean', | ||||||||||||||||||||
| 1394 | # Common API query parameters | ||||||||||||||||||||
| 1395 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1396 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1397 | 'human' => 'boolean', | ||||||||||||||||||||
| 1398 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1399 | 'source' => 'string', | ||||||||||||||||||||
| 1400 | }, | ||||||||||||||||||||
| 1401 | os_version => 2.004000, | ||||||||||||||||||||
| 1402 | }, | ||||||||||||||||||||
| 1403 | |||||||||||||||||||||
| 1404 | 'cat.allocation' => { | ||||||||||||||||||||
| 1405 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-allocation/', | ||||||||||||||||||||
| 1406 | method => 'GET', | ||||||||||||||||||||
| 1407 | parts => { node_id => { multi => 1 }}, | ||||||||||||||||||||
| 1408 | paths => [ | ||||||||||||||||||||
| 1409 | [ { node_id => 2 }, "_cat", "allocation", "{node_id}" ], | ||||||||||||||||||||
| 1410 | [ {}, "_cat", "allocation" ] | ||||||||||||||||||||
| 1411 | ], | ||||||||||||||||||||
| 1412 | qs => { | ||||||||||||||||||||
| 1413 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1414 | 'bytes' => 'string', | ||||||||||||||||||||
| 1415 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1416 | 'format' => 'string', | ||||||||||||||||||||
| 1417 | 'h' => 'list', | ||||||||||||||||||||
| 1418 | 'help' => 'boolean', | ||||||||||||||||||||
| 1419 | 'local' => 'boolean', | ||||||||||||||||||||
| 1420 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1421 | 's' => 'list', | ||||||||||||||||||||
| 1422 | 'v' => 'boolean', | ||||||||||||||||||||
| 1423 | # Common API query parameters | ||||||||||||||||||||
| 1424 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1425 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1426 | 'human' => 'boolean', | ||||||||||||||||||||
| 1427 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1428 | 'source' => 'string', | ||||||||||||||||||||
| 1429 | }, | ||||||||||||||||||||
| 1430 | os_version => 1.000000, | ||||||||||||||||||||
| 1431 | }, | ||||||||||||||||||||
| 1432 | |||||||||||||||||||||
| 1433 | 'cat.cluster_manager' => { | ||||||||||||||||||||
| 1434 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-cluster_manager/', | ||||||||||||||||||||
| 1435 | method => 'GET', | ||||||||||||||||||||
| 1436 | parts => {}, | ||||||||||||||||||||
| 1437 | paths => [[ {}, "_cat", "cluster_manager" ]], | ||||||||||||||||||||
| 1438 | qs => { | ||||||||||||||||||||
| 1439 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1440 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1441 | 'format' => 'string', | ||||||||||||||||||||
| 1442 | 'h' => 'list', | ||||||||||||||||||||
| 1443 | 'help' => 'boolean', | ||||||||||||||||||||
| 1444 | 'local' => 'boolean', | ||||||||||||||||||||
| 1445 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1446 | 's' => 'list', | ||||||||||||||||||||
| 1447 | 'v' => 'boolean', | ||||||||||||||||||||
| 1448 | # Common API query parameters | ||||||||||||||||||||
| 1449 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1450 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1451 | 'human' => 'boolean', | ||||||||||||||||||||
| 1452 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1453 | 'source' => 'string', | ||||||||||||||||||||
| 1454 | }, | ||||||||||||||||||||
| 1455 | os_version => 2.000000, | ||||||||||||||||||||
| 1456 | }, | ||||||||||||||||||||
| 1457 | |||||||||||||||||||||
| 1458 | 'cat.count' => { | ||||||||||||||||||||
| 1459 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-count/', | ||||||||||||||||||||
| 1460 | method => 'GET', | ||||||||||||||||||||
| 1461 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1462 | paths => [ | ||||||||||||||||||||
| 1463 | [ { index => 2 }, "_cat", "count", "{index}" ], | ||||||||||||||||||||
| 1464 | [ {}, "_cat", "count" ] | ||||||||||||||||||||
| 1465 | ], | ||||||||||||||||||||
| 1466 | qs => { | ||||||||||||||||||||
| 1467 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1468 | 'format' => 'string', | ||||||||||||||||||||
| 1469 | 'h' => 'list', | ||||||||||||||||||||
| 1470 | 'help' => 'boolean', | ||||||||||||||||||||
| 1471 | 's' => 'list', | ||||||||||||||||||||
| 1472 | 'v' => 'boolean', | ||||||||||||||||||||
| 1473 | # Common API query parameters | ||||||||||||||||||||
| 1474 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1475 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1476 | 'human' => 'boolean', | ||||||||||||||||||||
| 1477 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1478 | 'source' => 'string', | ||||||||||||||||||||
| 1479 | }, | ||||||||||||||||||||
| 1480 | os_version => 1.000000, | ||||||||||||||||||||
| 1481 | }, | ||||||||||||||||||||
| 1482 | |||||||||||||||||||||
| 1483 | 'cat.fielddata' => { | ||||||||||||||||||||
| 1484 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-field-data/', | ||||||||||||||||||||
| 1485 | method => 'GET', | ||||||||||||||||||||
| 1486 | parts => { fields => { multi => 1 }}, | ||||||||||||||||||||
| 1487 | paths => [ | ||||||||||||||||||||
| 1488 | [ { fields => 2 }, "_cat", "fielddata", "{fields}" ], | ||||||||||||||||||||
| 1489 | [ {}, "_cat", "fielddata" ] | ||||||||||||||||||||
| 1490 | ], | ||||||||||||||||||||
| 1491 | qs => { | ||||||||||||||||||||
| 1492 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1493 | 'bytes' => 'string', | ||||||||||||||||||||
| 1494 | 'fields' => 'list', | ||||||||||||||||||||
| 1495 | 'format' => 'string', | ||||||||||||||||||||
| 1496 | 'h' => 'list', | ||||||||||||||||||||
| 1497 | 'help' => 'boolean', | ||||||||||||||||||||
| 1498 | 's' => 'list', | ||||||||||||||||||||
| 1499 | 'v' => 'boolean', | ||||||||||||||||||||
| 1500 | # Common API query parameters | ||||||||||||||||||||
| 1501 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1502 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1503 | 'human' => 'boolean', | ||||||||||||||||||||
| 1504 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1505 | 'source' => 'string', | ||||||||||||||||||||
| 1506 | }, | ||||||||||||||||||||
| 1507 | os_version => 1.000000, | ||||||||||||||||||||
| 1508 | }, | ||||||||||||||||||||
| 1509 | |||||||||||||||||||||
| 1510 | 'cat.health' => { | ||||||||||||||||||||
| 1511 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-health/', | ||||||||||||||||||||
| 1512 | method => 'GET', | ||||||||||||||||||||
| 1513 | parts => {}, | ||||||||||||||||||||
| 1514 | paths => [[ {}, "_cat", "health" ]], | ||||||||||||||||||||
| 1515 | qs => { | ||||||||||||||||||||
| 1516 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1517 | 'format' => 'string', | ||||||||||||||||||||
| 1518 | 'h' => 'list', | ||||||||||||||||||||
| 1519 | 'help' => 'boolean', | ||||||||||||||||||||
| 1520 | 's' => 'list', | ||||||||||||||||||||
| 1521 | 'time' => 'string', | ||||||||||||||||||||
| 1522 | 'ts' => 'boolean', | ||||||||||||||||||||
| 1523 | 'v' => 'boolean', | ||||||||||||||||||||
| 1524 | # Common API query parameters | ||||||||||||||||||||
| 1525 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1526 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1527 | 'human' => 'boolean', | ||||||||||||||||||||
| 1528 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1529 | 'source' => 'string', | ||||||||||||||||||||
| 1530 | }, | ||||||||||||||||||||
| 1531 | os_version => 1.000000, | ||||||||||||||||||||
| 1532 | }, | ||||||||||||||||||||
| 1533 | |||||||||||||||||||||
| 1534 | 'cat.help' => { | ||||||||||||||||||||
| 1535 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/index/', | ||||||||||||||||||||
| 1536 | method => 'GET', | ||||||||||||||||||||
| 1537 | parts => {}, | ||||||||||||||||||||
| 1538 | paths => [[ {}, "_cat" ]], | ||||||||||||||||||||
| 1539 | qs => { | ||||||||||||||||||||
| 1540 | # Common API query parameters | ||||||||||||||||||||
| 1541 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1542 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1543 | 'human' => 'boolean', | ||||||||||||||||||||
| 1544 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1545 | 'source' => 'string', | ||||||||||||||||||||
| 1546 | }, | ||||||||||||||||||||
| 1547 | os_version => 1.000000, | ||||||||||||||||||||
| 1548 | }, | ||||||||||||||||||||
| 1549 | |||||||||||||||||||||
| 1550 | 'cat.indices' => { | ||||||||||||||||||||
| 1551 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-indices/', | ||||||||||||||||||||
| 1552 | method => 'GET', | ||||||||||||||||||||
| 1553 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1554 | paths => [ | ||||||||||||||||||||
| 1555 | [ { index => 2 }, "_cat", "indices", "{index}" ], | ||||||||||||||||||||
| 1556 | [ {}, "_cat", "indices" ] | ||||||||||||||||||||
| 1557 | ], | ||||||||||||||||||||
| 1558 | qs => { | ||||||||||||||||||||
| 1559 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1560 | 'bytes' => 'string', | ||||||||||||||||||||
| 1561 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1562 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1563 | 'format' => 'string', | ||||||||||||||||||||
| 1564 | 'h' => 'list', | ||||||||||||||||||||
| 1565 | 'health' => 'string', | ||||||||||||||||||||
| 1566 | 'help' => 'boolean', | ||||||||||||||||||||
| 1567 | 'include_unloaded_segments' => 'boolean', | ||||||||||||||||||||
| 1568 | 'local' => 'boolean', | ||||||||||||||||||||
| 1569 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1570 | 'pri' => 'boolean', | ||||||||||||||||||||
| 1571 | 's' => 'list', | ||||||||||||||||||||
| 1572 | 'time' => 'string', | ||||||||||||||||||||
| 1573 | 'v' => 'boolean', | ||||||||||||||||||||
| 1574 | # Common API query parameters | ||||||||||||||||||||
| 1575 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1576 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1577 | 'human' => 'boolean', | ||||||||||||||||||||
| 1578 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1579 | 'source' => 'string', | ||||||||||||||||||||
| 1580 | }, | ||||||||||||||||||||
| 1581 | os_version => 1.000000, | ||||||||||||||||||||
| 1582 | }, | ||||||||||||||||||||
| 1583 | |||||||||||||||||||||
| 1584 | 'cat.master' => { | ||||||||||||||||||||
| 1585 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-cluster_manager/', | ||||||||||||||||||||
| 1586 | method => 'GET', | ||||||||||||||||||||
| 1587 | parts => {}, | ||||||||||||||||||||
| 1588 | paths => [[ {}, "_cat", "master" ]], | ||||||||||||||||||||
| 1589 | qs => { | ||||||||||||||||||||
| 1590 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1591 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1592 | 'format' => 'string', | ||||||||||||||||||||
| 1593 | 'h' => 'list', | ||||||||||||||||||||
| 1594 | 'help' => 'boolean', | ||||||||||||||||||||
| 1595 | 'local' => 'boolean', | ||||||||||||||||||||
| 1596 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1597 | 's' => 'list', | ||||||||||||||||||||
| 1598 | 'v' => 'boolean', | ||||||||||||||||||||
| 1599 | # Common API query parameters | ||||||||||||||||||||
| 1600 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1601 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1602 | 'human' => 'boolean', | ||||||||||||||||||||
| 1603 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1604 | 'source' => 'string', | ||||||||||||||||||||
| 1605 | }, | ||||||||||||||||||||
| 1606 | os_version => 1.000000, | ||||||||||||||||||||
| 1607 | }, | ||||||||||||||||||||
| 1608 | |||||||||||||||||||||
| 1609 | 'cat.nodeattrs' => { | ||||||||||||||||||||
| 1610 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-nodeattrs/', | ||||||||||||||||||||
| 1611 | method => 'GET', | ||||||||||||||||||||
| 1612 | parts => {}, | ||||||||||||||||||||
| 1613 | paths => [[ {}, "_cat", "nodeattrs" ]], | ||||||||||||||||||||
| 1614 | qs => { | ||||||||||||||||||||
| 1615 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1616 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1617 | 'format' => 'string', | ||||||||||||||||||||
| 1618 | 'h' => 'list', | ||||||||||||||||||||
| 1619 | 'help' => 'boolean', | ||||||||||||||||||||
| 1620 | 'local' => 'boolean', | ||||||||||||||||||||
| 1621 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1622 | 's' => 'list', | ||||||||||||||||||||
| 1623 | 'v' => 'boolean', | ||||||||||||||||||||
| 1624 | # Common API query parameters | ||||||||||||||||||||
| 1625 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1626 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1627 | 'human' => 'boolean', | ||||||||||||||||||||
| 1628 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1629 | 'source' => 'string', | ||||||||||||||||||||
| 1630 | }, | ||||||||||||||||||||
| 1631 | os_version => 1.000000, | ||||||||||||||||||||
| 1632 | }, | ||||||||||||||||||||
| 1633 | |||||||||||||||||||||
| 1634 | 'cat.nodes' => { | ||||||||||||||||||||
| 1635 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-nodes/', | ||||||||||||||||||||
| 1636 | method => 'GET', | ||||||||||||||||||||
| 1637 | parts => {}, | ||||||||||||||||||||
| 1638 | paths => [[ {}, "_cat", "nodes" ]], | ||||||||||||||||||||
| 1639 | qs => { | ||||||||||||||||||||
| 1640 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1641 | 'bytes' => 'string', | ||||||||||||||||||||
| 1642 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1643 | 'format' => 'string', | ||||||||||||||||||||
| 1644 | 'full_id' => 'boolean', | ||||||||||||||||||||
| 1645 | 'h' => 'list', | ||||||||||||||||||||
| 1646 | 'help' => 'boolean', | ||||||||||||||||||||
| 1647 | 'local' => 'boolean', | ||||||||||||||||||||
| 1648 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1649 | 's' => 'list', | ||||||||||||||||||||
| 1650 | 'time' => 'string', | ||||||||||||||||||||
| 1651 | 'v' => 'boolean', | ||||||||||||||||||||
| 1652 | # Common API query parameters | ||||||||||||||||||||
| 1653 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1654 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1655 | 'human' => 'boolean', | ||||||||||||||||||||
| 1656 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1657 | 'source' => 'string', | ||||||||||||||||||||
| 1658 | }, | ||||||||||||||||||||
| 1659 | os_version => 1.000000, | ||||||||||||||||||||
| 1660 | }, | ||||||||||||||||||||
| 1661 | |||||||||||||||||||||
| 1662 | 'cat.pending_tasks' => { | ||||||||||||||||||||
| 1663 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-pending-tasks/', | ||||||||||||||||||||
| 1664 | method => 'GET', | ||||||||||||||||||||
| 1665 | parts => {}, | ||||||||||||||||||||
| 1666 | paths => [[ {}, "_cat", "pending_tasks" ]], | ||||||||||||||||||||
| 1667 | qs => { | ||||||||||||||||||||
| 1668 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1669 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1670 | 'format' => 'string', | ||||||||||||||||||||
| 1671 | 'h' => 'list', | ||||||||||||||||||||
| 1672 | 'help' => 'boolean', | ||||||||||||||||||||
| 1673 | 'local' => 'boolean', | ||||||||||||||||||||
| 1674 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1675 | 's' => 'list', | ||||||||||||||||||||
| 1676 | 'time' => 'string', | ||||||||||||||||||||
| 1677 | 'v' => 'boolean', | ||||||||||||||||||||
| 1678 | # Common API query parameters | ||||||||||||||||||||
| 1679 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1680 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1681 | 'human' => 'boolean', | ||||||||||||||||||||
| 1682 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1683 | 'source' => 'string', | ||||||||||||||||||||
| 1684 | }, | ||||||||||||||||||||
| 1685 | os_version => 1.000000, | ||||||||||||||||||||
| 1686 | }, | ||||||||||||||||||||
| 1687 | |||||||||||||||||||||
| 1688 | 'cat.pit_segments' => { | ||||||||||||||||||||
| 1689 | body => {}, | ||||||||||||||||||||
| 1690 | doc => 'https://opensearch.org/docs/latest/search-plugins/point-in-time-api/', | ||||||||||||||||||||
| 1691 | method => 'GET', | ||||||||||||||||||||
| 1692 | parts => {}, | ||||||||||||||||||||
| 1693 | paths => [[ {}, "_cat", "pit_segments" ]], | ||||||||||||||||||||
| 1694 | qs => { | ||||||||||||||||||||
| 1695 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1696 | 'bytes' => 'string', | ||||||||||||||||||||
| 1697 | 'format' => 'string', | ||||||||||||||||||||
| 1698 | 'h' => 'list', | ||||||||||||||||||||
| 1699 | 'help' => 'boolean', | ||||||||||||||||||||
| 1700 | 's' => 'list', | ||||||||||||||||||||
| 1701 | 'v' => 'boolean', | ||||||||||||||||||||
| 1702 | # Common API query parameters | ||||||||||||||||||||
| 1703 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1704 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1705 | 'human' => 'boolean', | ||||||||||||||||||||
| 1706 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1707 | 'source' => 'string', | ||||||||||||||||||||
| 1708 | }, | ||||||||||||||||||||
| 1709 | os_version => 2.004000, | ||||||||||||||||||||
| 1710 | }, | ||||||||||||||||||||
| 1711 | |||||||||||||||||||||
| 1712 | 'cat.plugins' => { | ||||||||||||||||||||
| 1713 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/', | ||||||||||||||||||||
| 1714 | method => 'GET', | ||||||||||||||||||||
| 1715 | parts => {}, | ||||||||||||||||||||
| 1716 | paths => [[ {}, "_cat", "plugins" ]], | ||||||||||||||||||||
| 1717 | qs => { | ||||||||||||||||||||
| 1718 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1719 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1720 | 'format' => 'string', | ||||||||||||||||||||
| 1721 | 'h' => 'list', | ||||||||||||||||||||
| 1722 | 'help' => 'boolean', | ||||||||||||||||||||
| 1723 | 'local' => 'boolean', | ||||||||||||||||||||
| 1724 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1725 | 's' => 'list', | ||||||||||||||||||||
| 1726 | 'v' => 'boolean', | ||||||||||||||||||||
| 1727 | # Common API query parameters | ||||||||||||||||||||
| 1728 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1729 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1730 | 'human' => 'boolean', | ||||||||||||||||||||
| 1731 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1732 | 'source' => 'string', | ||||||||||||||||||||
| 1733 | }, | ||||||||||||||||||||
| 1734 | os_version => 1.000000, | ||||||||||||||||||||
| 1735 | }, | ||||||||||||||||||||
| 1736 | |||||||||||||||||||||
| 1737 | 'cat.recovery' => { | ||||||||||||||||||||
| 1738 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/', | ||||||||||||||||||||
| 1739 | method => 'GET', | ||||||||||||||||||||
| 1740 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1741 | paths => [ | ||||||||||||||||||||
| 1742 | [ { index => 2 }, "_cat", "recovery", "{index}" ], | ||||||||||||||||||||
| 1743 | [ {}, "_cat", "recovery" ] | ||||||||||||||||||||
| 1744 | ], | ||||||||||||||||||||
| 1745 | qs => { | ||||||||||||||||||||
| 1746 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1747 | 'active_only' => 'boolean', | ||||||||||||||||||||
| 1748 | 'bytes' => 'string', | ||||||||||||||||||||
| 1749 | 'detailed' => 'boolean', | ||||||||||||||||||||
| 1750 | 'format' => 'string', | ||||||||||||||||||||
| 1751 | 'h' => 'list', | ||||||||||||||||||||
| 1752 | 'help' => 'boolean', | ||||||||||||||||||||
| 1753 | 'index' => 'list', | ||||||||||||||||||||
| 1754 | 's' => 'list', | ||||||||||||||||||||
| 1755 | 'time' => 'string', | ||||||||||||||||||||
| 1756 | 'v' => 'boolean', | ||||||||||||||||||||
| 1757 | # Common API query parameters | ||||||||||||||||||||
| 1758 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1759 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1760 | 'human' => 'boolean', | ||||||||||||||||||||
| 1761 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1762 | 'source' => 'string', | ||||||||||||||||||||
| 1763 | }, | ||||||||||||||||||||
| 1764 | os_version => 1.000000, | ||||||||||||||||||||
| 1765 | }, | ||||||||||||||||||||
| 1766 | |||||||||||||||||||||
| 1767 | 'cat.repositories' => { | ||||||||||||||||||||
| 1768 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-repositories/', | ||||||||||||||||||||
| 1769 | method => 'GET', | ||||||||||||||||||||
| 1770 | parts => {}, | ||||||||||||||||||||
| 1771 | paths => [[ {}, "_cat", "repositories" ]], | ||||||||||||||||||||
| 1772 | qs => { | ||||||||||||||||||||
| 1773 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1774 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1775 | 'format' => 'string', | ||||||||||||||||||||
| 1776 | 'h' => 'list', | ||||||||||||||||||||
| 1777 | 'help' => 'boolean', | ||||||||||||||||||||
| 1778 | 'local' => 'boolean', | ||||||||||||||||||||
| 1779 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1780 | 's' => 'list', | ||||||||||||||||||||
| 1781 | 'v' => 'boolean', | ||||||||||||||||||||
| 1782 | # Common API query parameters | ||||||||||||||||||||
| 1783 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1784 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1785 | 'human' => 'boolean', | ||||||||||||||||||||
| 1786 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1787 | 'source' => 'string', | ||||||||||||||||||||
| 1788 | }, | ||||||||||||||||||||
| 1789 | os_version => 1.000000, | ||||||||||||||||||||
| 1790 | }, | ||||||||||||||||||||
| 1791 | |||||||||||||||||||||
| 1792 | 'cat.segment_replication' => { | ||||||||||||||||||||
| 1793 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-segment-replication/', | ||||||||||||||||||||
| 1794 | method => 'GET', | ||||||||||||||||||||
| 1795 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1796 | paths => [ | ||||||||||||||||||||
| 1797 | [ { index => 2 }, "_cat", "segment_replication", "{index}" ], | ||||||||||||||||||||
| 1798 | [ {}, "_cat", "segment_replication" ] | ||||||||||||||||||||
| 1799 | ], | ||||||||||||||||||||
| 1800 | qs => { | ||||||||||||||||||||
| 1801 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1802 | 'active_only' => 'boolean', | ||||||||||||||||||||
| 1803 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 1804 | 'bytes' => 'string', | ||||||||||||||||||||
| 1805 | 'completed_only' => 'boolean', | ||||||||||||||||||||
| 1806 | 'detailed' => 'boolean', | ||||||||||||||||||||
| 1807 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 1808 | 'format' => 'string', | ||||||||||||||||||||
| 1809 | 'h' => 'list', | ||||||||||||||||||||
| 1810 | 'help' => 'boolean', | ||||||||||||||||||||
| 1811 | 'ignore_throttled' => 'boolean', | ||||||||||||||||||||
| 1812 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1813 | 'index' => 'list', | ||||||||||||||||||||
| 1814 | 's' => 'list', | ||||||||||||||||||||
| 1815 | 'shards' => 'list', | ||||||||||||||||||||
| 1816 | 'time' => 'string', | ||||||||||||||||||||
| 1817 | 'timeout' => 'string', | ||||||||||||||||||||
| 1818 | 'v' => 'boolean', | ||||||||||||||||||||
| 1819 | # Common API query parameters | ||||||||||||||||||||
| 1820 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1821 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1822 | 'human' => 'boolean', | ||||||||||||||||||||
| 1823 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1824 | 'source' => 'string', | ||||||||||||||||||||
| 1825 | }, | ||||||||||||||||||||
| 1826 | os_version => 2.006000, | ||||||||||||||||||||
| 1827 | }, | ||||||||||||||||||||
| 1828 | |||||||||||||||||||||
| 1829 | 'cat.segments' => { | ||||||||||||||||||||
| 1830 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-segments/', | ||||||||||||||||||||
| 1831 | method => 'GET', | ||||||||||||||||||||
| 1832 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1833 | paths => [ | ||||||||||||||||||||
| 1834 | [ { index => 2 }, "_cat", "segments", "{index}" ], | ||||||||||||||||||||
| 1835 | [ {}, "_cat", "segments" ] | ||||||||||||||||||||
| 1836 | ], | ||||||||||||||||||||
| 1837 | qs => { | ||||||||||||||||||||
| 1838 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1839 | 'bytes' => 'string', | ||||||||||||||||||||
| 1840 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1841 | 'format' => 'string', | ||||||||||||||||||||
| 1842 | 'h' => 'list', | ||||||||||||||||||||
| 1843 | 'help' => 'boolean', | ||||||||||||||||||||
| 1844 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1845 | 's' => 'list', | ||||||||||||||||||||
| 1846 | 'v' => 'boolean', | ||||||||||||||||||||
| 1847 | # Common API query parameters | ||||||||||||||||||||
| 1848 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1849 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1850 | 'human' => 'boolean', | ||||||||||||||||||||
| 1851 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1852 | 'source' => 'string', | ||||||||||||||||||||
| 1853 | }, | ||||||||||||||||||||
| 1854 | os_version => 1.000000, | ||||||||||||||||||||
| 1855 | }, | ||||||||||||||||||||
| 1856 | |||||||||||||||||||||
| 1857 | 'cat.shards' => { | ||||||||||||||||||||
| 1858 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-shards/', | ||||||||||||||||||||
| 1859 | method => 'GET', | ||||||||||||||||||||
| 1860 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 1861 | paths => [ | ||||||||||||||||||||
| 1862 | [ { index => 2 }, "_cat", "shards", "{index}" ], | ||||||||||||||||||||
| 1863 | [ {}, "_cat", "shards" ] | ||||||||||||||||||||
| 1864 | ], | ||||||||||||||||||||
| 1865 | qs => { | ||||||||||||||||||||
| 1866 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1867 | 'bytes' => 'string', | ||||||||||||||||||||
| 1868 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1869 | 'format' => 'string', | ||||||||||||||||||||
| 1870 | 'h' => 'list', | ||||||||||||||||||||
| 1871 | 'help' => 'boolean', | ||||||||||||||||||||
| 1872 | 'local' => 'boolean', | ||||||||||||||||||||
| 1873 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1874 | 's' => 'list', | ||||||||||||||||||||
| 1875 | 'time' => 'string', | ||||||||||||||||||||
| 1876 | 'v' => 'boolean', | ||||||||||||||||||||
| 1877 | # Common API query parameters | ||||||||||||||||||||
| 1878 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1879 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1880 | 'human' => 'boolean', | ||||||||||||||||||||
| 1881 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1882 | 'source' => 'string', | ||||||||||||||||||||
| 1883 | }, | ||||||||||||||||||||
| 1884 | os_version => 1.000000, | ||||||||||||||||||||
| 1885 | }, | ||||||||||||||||||||
| 1886 | |||||||||||||||||||||
| 1887 | 'cat.snapshots' => { | ||||||||||||||||||||
| 1888 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-snapshots/', | ||||||||||||||||||||
| 1889 | method => 'GET', | ||||||||||||||||||||
| 1890 | parts => { repository => { multi => 1 }}, | ||||||||||||||||||||
| 1891 | paths => [ | ||||||||||||||||||||
| 1892 | [ { repository => 2 }, "_cat", "snapshots", "{repository}" ], | ||||||||||||||||||||
| 1893 | [ {}, "_cat", "snapshots" ] | ||||||||||||||||||||
| 1894 | ], | ||||||||||||||||||||
| 1895 | qs => { | ||||||||||||||||||||
| 1896 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1897 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1898 | 'format' => 'string', | ||||||||||||||||||||
| 1899 | 'h' => 'list', | ||||||||||||||||||||
| 1900 | 'help' => 'boolean', | ||||||||||||||||||||
| 1901 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 1902 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1903 | 'repository' => 'list', | ||||||||||||||||||||
| 1904 | 's' => 'list', | ||||||||||||||||||||
| 1905 | 'time' => 'string', | ||||||||||||||||||||
| 1906 | 'v' => 'boolean', | ||||||||||||||||||||
| 1907 | # Common API query parameters | ||||||||||||||||||||
| 1908 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1909 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1910 | 'human' => 'boolean', | ||||||||||||||||||||
| 1911 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1912 | 'source' => 'string', | ||||||||||||||||||||
| 1913 | }, | ||||||||||||||||||||
| 1914 | os_version => 1.000000, | ||||||||||||||||||||
| 1915 | }, | ||||||||||||||||||||
| 1916 | |||||||||||||||||||||
| 1917 | 'cat.tasks' => { | ||||||||||||||||||||
| 1918 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-tasks/', | ||||||||||||||||||||
| 1919 | method => 'GET', | ||||||||||||||||||||
| 1920 | parts => {}, | ||||||||||||||||||||
| 1921 | paths => [[ {}, "_cat", "tasks" ]], | ||||||||||||||||||||
| 1922 | qs => { | ||||||||||||||||||||
| 1923 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1924 | 'actions' => 'list', | ||||||||||||||||||||
| 1925 | 'detailed' => 'boolean', | ||||||||||||||||||||
| 1926 | 'format' => 'string', | ||||||||||||||||||||
| 1927 | 'h' => 'list', | ||||||||||||||||||||
| 1928 | 'help' => 'boolean', | ||||||||||||||||||||
| 1929 | 'nodes' => 'list', | ||||||||||||||||||||
| 1930 | 'parent_task_id' => 'string', | ||||||||||||||||||||
| 1931 | 's' => 'list', | ||||||||||||||||||||
| 1932 | 'time' => 'string', | ||||||||||||||||||||
| 1933 | 'v' => 'boolean', | ||||||||||||||||||||
| 1934 | # Common API query parameters | ||||||||||||||||||||
| 1935 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1936 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1937 | 'human' => 'boolean', | ||||||||||||||||||||
| 1938 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1939 | 'source' => 'string', | ||||||||||||||||||||
| 1940 | }, | ||||||||||||||||||||
| 1941 | os_version => 1.000000, | ||||||||||||||||||||
| 1942 | }, | ||||||||||||||||||||
| 1943 | |||||||||||||||||||||
| 1944 | 'cat.templates' => { | ||||||||||||||||||||
| 1945 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-templates/', | ||||||||||||||||||||
| 1946 | method => 'GET', | ||||||||||||||||||||
| 1947 | parts => { name => {}}, | ||||||||||||||||||||
| 1948 | paths => [ | ||||||||||||||||||||
| 1949 | [ { name => 2 }, "_cat", "templates", "{name}" ], | ||||||||||||||||||||
| 1950 | [ {}, "_cat", "templates" ] | ||||||||||||||||||||
| 1951 | ], | ||||||||||||||||||||
| 1952 | qs => { | ||||||||||||||||||||
| 1953 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1954 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1955 | 'format' => 'string', | ||||||||||||||||||||
| 1956 | 'h' => 'list', | ||||||||||||||||||||
| 1957 | 'help' => 'boolean', | ||||||||||||||||||||
| 1958 | 'local' => 'boolean', | ||||||||||||||||||||
| 1959 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1960 | 's' => 'list', | ||||||||||||||||||||
| 1961 | 'v' => 'boolean', | ||||||||||||||||||||
| 1962 | # Common API query parameters | ||||||||||||||||||||
| 1963 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1964 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1965 | 'human' => 'boolean', | ||||||||||||||||||||
| 1966 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1967 | 'source' => 'string', | ||||||||||||||||||||
| 1968 | }, | ||||||||||||||||||||
| 1969 | os_version => 1.000000, | ||||||||||||||||||||
| 1970 | }, | ||||||||||||||||||||
| 1971 | |||||||||||||||||||||
| 1972 | 'cat.thread_pool' => { | ||||||||||||||||||||
| 1973 | doc => 'https://opensearch.org/docs/latest/api-reference/cat/cat-thread-pool/', | ||||||||||||||||||||
| 1974 | method => 'GET', | ||||||||||||||||||||
| 1975 | parts => { thread_pool_patterns => { multi => 1 }}, | ||||||||||||||||||||
| 1976 | paths => [ | ||||||||||||||||||||
| 1977 | [ { thread_pool_patterns => 2 }, "_cat", "thread_pool", "{thread_pool_patterns}" ], | ||||||||||||||||||||
| 1978 | [ {}, "_cat", "thread_pool" ] | ||||||||||||||||||||
| 1979 | ], | ||||||||||||||||||||
| 1980 | qs => { | ||||||||||||||||||||
| 1981 | # Endpoint specific query parameters | ||||||||||||||||||||
| 1982 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 1983 | 'format' => 'string', | ||||||||||||||||||||
| 1984 | 'h' => 'list', | ||||||||||||||||||||
| 1985 | 'help' => 'boolean', | ||||||||||||||||||||
| 1986 | 'local' => 'boolean', | ||||||||||||||||||||
| 1987 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 1988 | 's' => 'list', | ||||||||||||||||||||
| 1989 | 'size' => 'number', | ||||||||||||||||||||
| 1990 | 'v' => 'boolean', | ||||||||||||||||||||
| 1991 | # Common API query parameters | ||||||||||||||||||||
| 1992 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 1993 | 'filter_path' => 'list', | ||||||||||||||||||||
| 1994 | 'human' => 'boolean', | ||||||||||||||||||||
| 1995 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 1996 | 'source' => 'string', | ||||||||||||||||||||
| 1997 | }, | ||||||||||||||||||||
| 1998 | os_version => 1.000000, | ||||||||||||||||||||
| 1999 | }, | ||||||||||||||||||||
| 2000 | |||||||||||||||||||||
| 2001 | 'cluster.allocation_explain' => { | ||||||||||||||||||||
| 2002 | body => {}, | ||||||||||||||||||||
| 2003 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-allocation/', | ||||||||||||||||||||
| 2004 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 2005 | method => 'detect', | ||||||||||||||||||||
| 2006 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 2007 | parts => {}, | ||||||||||||||||||||
| 2008 | paths => [[ {}, "_cluster", "allocation", "explain" ]], | ||||||||||||||||||||
| 2009 | qs => { | ||||||||||||||||||||
| 2010 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2011 | 'include_disk_info' => 'boolean', | ||||||||||||||||||||
| 2012 | 'include_yes_decisions' => 'boolean', | ||||||||||||||||||||
| 2013 | # Common API query parameters | ||||||||||||||||||||
| 2014 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2015 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2016 | 'human' => 'boolean', | ||||||||||||||||||||
| 2017 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2018 | 'source' => 'string', | ||||||||||||||||||||
| 2019 | }, | ||||||||||||||||||||
| 2020 | os_version => 1.000000, | ||||||||||||||||||||
| 2021 | }, | ||||||||||||||||||||
| 2022 | |||||||||||||||||||||
| 2023 | 'cluster.delete_component_template' => { | ||||||||||||||||||||
| 2024 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2025 | method => 'DELETE', | ||||||||||||||||||||
| 2026 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2027 | paths => [[ { name => 1 }, "_component_template", "{name}" ]], | ||||||||||||||||||||
| 2028 | qs => { | ||||||||||||||||||||
| 2029 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2030 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2031 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2032 | 'timeout' => 'string', | ||||||||||||||||||||
| 2033 | # Common API query parameters | ||||||||||||||||||||
| 2034 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2035 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2036 | 'human' => 'boolean', | ||||||||||||||||||||
| 2037 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2038 | 'source' => 'string', | ||||||||||||||||||||
| 2039 | }, | ||||||||||||||||||||
| 2040 | os_version => 1.000000, | ||||||||||||||||||||
| 2041 | }, | ||||||||||||||||||||
| 2042 | |||||||||||||||||||||
| 2043 | 'cluster.delete_decommission_awareness' => { | ||||||||||||||||||||
| 2044 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-decommissioning-and-recommissioning-a-zone', | ||||||||||||||||||||
| 2045 | method => 'DELETE', | ||||||||||||||||||||
| 2046 | parts => {}, | ||||||||||||||||||||
| 2047 | paths => [[ {}, "_cluster", "decommission", "awareness" ]], | ||||||||||||||||||||
| 2048 | qs => { | ||||||||||||||||||||
| 2049 | # Common API query parameters | ||||||||||||||||||||
| 2050 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2051 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2052 | 'human' => 'boolean', | ||||||||||||||||||||
| 2053 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2054 | 'source' => 'string', | ||||||||||||||||||||
| 2055 | }, | ||||||||||||||||||||
| 2056 | os_version => 1.000000, | ||||||||||||||||||||
| 2057 | }, | ||||||||||||||||||||
| 2058 | |||||||||||||||||||||
| 2059 | 'cluster.delete_voting_config_exclusions' => { | ||||||||||||||||||||
| 2060 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2061 | method => 'DELETE', | ||||||||||||||||||||
| 2062 | parts => {}, | ||||||||||||||||||||
| 2063 | paths => [[ {}, "_cluster", "voting_config_exclusions" ]], | ||||||||||||||||||||
| 2064 | qs => { | ||||||||||||||||||||
| 2065 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2066 | 'wait_for_removal' => 'boolean', | ||||||||||||||||||||
| 2067 | # Common API query parameters | ||||||||||||||||||||
| 2068 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2069 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2070 | 'human' => 'boolean', | ||||||||||||||||||||
| 2071 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2072 | 'source' => 'string', | ||||||||||||||||||||
| 2073 | }, | ||||||||||||||||||||
| 2074 | os_version => 1.000000, | ||||||||||||||||||||
| 2075 | }, | ||||||||||||||||||||
| 2076 | |||||||||||||||||||||
| 2077 | 'cluster.delete_weighted_routing' => { | ||||||||||||||||||||
| 2078 | body => {}, | ||||||||||||||||||||
| 2079 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-awareness/#example-deleting-weights', | ||||||||||||||||||||
| 2080 | method => 'DELETE', | ||||||||||||||||||||
| 2081 | parts => {}, | ||||||||||||||||||||
| 2082 | paths => [[ {}, "_cluster", "routing", "awareness", "weights" ]], | ||||||||||||||||||||
| 2083 | qs => { | ||||||||||||||||||||
| 2084 | # Common API query parameters | ||||||||||||||||||||
| 2085 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2086 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2087 | 'human' => 'boolean', | ||||||||||||||||||||
| 2088 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2089 | 'source' => 'string', | ||||||||||||||||||||
| 2090 | }, | ||||||||||||||||||||
| 2091 | os_version => 1.000000, | ||||||||||||||||||||
| 2092 | }, | ||||||||||||||||||||
| 2093 | |||||||||||||||||||||
| 2094 | 'cluster.exists_component_template' => { | ||||||||||||||||||||
| 2095 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2096 | method => 'HEAD', | ||||||||||||||||||||
| 2097 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2098 | paths => [[ { name => 1 }, "_component_template", "{name}" ]], | ||||||||||||||||||||
| 2099 | qs => { | ||||||||||||||||||||
| 2100 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2101 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2102 | 'local' => 'boolean', | ||||||||||||||||||||
| 2103 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2104 | # Common API query parameters | ||||||||||||||||||||
| 2105 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2106 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2107 | 'human' => 'boolean', | ||||||||||||||||||||
| 2108 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2109 | 'source' => 'string', | ||||||||||||||||||||
| 2110 | }, | ||||||||||||||||||||
| 2111 | os_version => 1.000000, | ||||||||||||||||||||
| 2112 | }, | ||||||||||||||||||||
| 2113 | |||||||||||||||||||||
| 2114 | 'cluster.get_component_template' => { | ||||||||||||||||||||
| 2115 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2116 | method => 'GET', | ||||||||||||||||||||
| 2117 | parts => { name => {}}, | ||||||||||||||||||||
| 2118 | paths => [ | ||||||||||||||||||||
| 2119 | [ { name => 1 }, "_component_template", "{name}" ], | ||||||||||||||||||||
| 2120 | [ {}, "_component_template" ] | ||||||||||||||||||||
| 2121 | ], | ||||||||||||||||||||
| 2122 | qs => { | ||||||||||||||||||||
| 2123 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2124 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2125 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 2126 | 'local' => 'boolean', | ||||||||||||||||||||
| 2127 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2128 | # Common API query parameters | ||||||||||||||||||||
| 2129 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2130 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2131 | 'human' => 'boolean', | ||||||||||||||||||||
| 2132 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2133 | 'source' => 'string', | ||||||||||||||||||||
| 2134 | }, | ||||||||||||||||||||
| 2135 | os_version => 1.000000, | ||||||||||||||||||||
| 2136 | }, | ||||||||||||||||||||
| 2137 | |||||||||||||||||||||
| 2138 | 'cluster.get_decommission_awareness' => { | ||||||||||||||||||||
| 2139 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-getting-zone-decommission-status', | ||||||||||||||||||||
| 2140 | method => 'GET', | ||||||||||||||||||||
| 2141 | parts => { awareness_attribute_name => { required => 1 }}, | ||||||||||||||||||||
| 2142 | paths => [[ { awareness_attribute_name => 3 }, "_cluster", "decommission", "awareness", "{awareness_attribute_name}", "_status" ]], | ||||||||||||||||||||
| 2143 | qs => { | ||||||||||||||||||||
| 2144 | # Common API query parameters | ||||||||||||||||||||
| 2145 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2146 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2147 | 'human' => 'boolean', | ||||||||||||||||||||
| 2148 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2149 | 'source' => 'string', | ||||||||||||||||||||
| 2150 | }, | ||||||||||||||||||||
| 2151 | os_version => 1.000000, | ||||||||||||||||||||
| 2152 | }, | ||||||||||||||||||||
| 2153 | |||||||||||||||||||||
| 2154 | 'cluster.get_settings' => { | ||||||||||||||||||||
| 2155 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/', | ||||||||||||||||||||
| 2156 | method => 'GET', | ||||||||||||||||||||
| 2157 | parts => {}, | ||||||||||||||||||||
| 2158 | paths => [[ {}, "_cluster", "settings" ]], | ||||||||||||||||||||
| 2159 | qs => { | ||||||||||||||||||||
| 2160 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2161 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2162 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 2163 | 'include_defaults' => 'boolean', | ||||||||||||||||||||
| 2164 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2165 | 'timeout' => 'string', | ||||||||||||||||||||
| 2166 | # Common API query parameters | ||||||||||||||||||||
| 2167 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2168 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2169 | 'human' => 'boolean', | ||||||||||||||||||||
| 2170 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2171 | 'source' => 'string', | ||||||||||||||||||||
| 2172 | }, | ||||||||||||||||||||
| 2173 | os_version => 1.000000, | ||||||||||||||||||||
| 2174 | }, | ||||||||||||||||||||
| 2175 | |||||||||||||||||||||
| 2176 | 'cluster.get_weighted_routing' => { | ||||||||||||||||||||
| 2177 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-awareness/#example-getting-weights-for-all-zones', | ||||||||||||||||||||
| 2178 | method => 'GET', | ||||||||||||||||||||
| 2179 | parts => { attribute => { required => 1 }}, | ||||||||||||||||||||
| 2180 | paths => [[ { attribute => 3 }, "_cluster", "routing", "awareness", "{attribute}", "weights" ]], | ||||||||||||||||||||
| 2181 | qs => { | ||||||||||||||||||||
| 2182 | # Common API query parameters | ||||||||||||||||||||
| 2183 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2184 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2185 | 'human' => 'boolean', | ||||||||||||||||||||
| 2186 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2187 | 'source' => 'string', | ||||||||||||||||||||
| 2188 | }, | ||||||||||||||||||||
| 2189 | os_version => 1.000000, | ||||||||||||||||||||
| 2190 | }, | ||||||||||||||||||||
| 2191 | |||||||||||||||||||||
| 2192 | 'cluster.health' => { | ||||||||||||||||||||
| 2193 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-health/', | ||||||||||||||||||||
| 2194 | method => 'GET', | ||||||||||||||||||||
| 2195 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 2196 | paths => [ | ||||||||||||||||||||
| 2197 | [ { index => 2 }, "_cluster", "health", "{index}" ], | ||||||||||||||||||||
| 2198 | [ {}, "_cluster", "health" ] | ||||||||||||||||||||
| 2199 | ], | ||||||||||||||||||||
| 2200 | qs => { | ||||||||||||||||||||
| 2201 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2202 | 'awareness_attribute' => 'string', | ||||||||||||||||||||
| 2203 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2204 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2205 | 'level' => 'string', | ||||||||||||||||||||
| 2206 | 'local' => 'boolean', | ||||||||||||||||||||
| 2207 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2208 | 'timeout' => 'string', | ||||||||||||||||||||
| 2209 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 2210 | 'wait_for_events' => 'string', | ||||||||||||||||||||
| 2211 | 'wait_for_no_initializing_shards' => 'boolean', | ||||||||||||||||||||
| 2212 | 'wait_for_no_relocating_shards' => 'boolean', | ||||||||||||||||||||
| 2213 | 'wait_for_nodes' => 'number|string', | ||||||||||||||||||||
| 2214 | 'wait_for_status' => 'string', | ||||||||||||||||||||
| 2215 | # Common API query parameters | ||||||||||||||||||||
| 2216 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2217 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2218 | 'human' => 'boolean', | ||||||||||||||||||||
| 2219 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2220 | 'source' => 'string', | ||||||||||||||||||||
| 2221 | }, | ||||||||||||||||||||
| 2222 | os_version => 1.000000, | ||||||||||||||||||||
| 2223 | }, | ||||||||||||||||||||
| 2224 | |||||||||||||||||||||
| 2225 | 'cluster.pending_tasks' => { | ||||||||||||||||||||
| 2226 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2227 | method => 'GET', | ||||||||||||||||||||
| 2228 | parts => {}, | ||||||||||||||||||||
| 2229 | paths => [[ {}, "_cluster", "pending_tasks" ]], | ||||||||||||||||||||
| 2230 | qs => { | ||||||||||||||||||||
| 2231 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2232 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2233 | 'local' => 'boolean', | ||||||||||||||||||||
| 2234 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2235 | # Common API query parameters | ||||||||||||||||||||
| 2236 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2237 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2238 | 'human' => 'boolean', | ||||||||||||||||||||
| 2239 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2240 | 'source' => 'string', | ||||||||||||||||||||
| 2241 | }, | ||||||||||||||||||||
| 2242 | os_version => 1.000000, | ||||||||||||||||||||
| 2243 | }, | ||||||||||||||||||||
| 2244 | |||||||||||||||||||||
| 2245 | 'cluster.post_voting_config_exclusions' => { | ||||||||||||||||||||
| 2246 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2247 | method => 'POST', | ||||||||||||||||||||
| 2248 | parts => {}, | ||||||||||||||||||||
| 2249 | paths => [[ {}, "_cluster", "voting_config_exclusions" ]], | ||||||||||||||||||||
| 2250 | qs => { | ||||||||||||||||||||
| 2251 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2252 | 'node_ids' => 'list', | ||||||||||||||||||||
| 2253 | 'node_names' => 'list', | ||||||||||||||||||||
| 2254 | 'timeout' => 'string', | ||||||||||||||||||||
| 2255 | # Common API query parameters | ||||||||||||||||||||
| 2256 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2257 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2258 | 'human' => 'boolean', | ||||||||||||||||||||
| 2259 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2260 | 'source' => 'string', | ||||||||||||||||||||
| 2261 | }, | ||||||||||||||||||||
| 2262 | os_version => 1.000000, | ||||||||||||||||||||
| 2263 | }, | ||||||||||||||||||||
| 2264 | |||||||||||||||||||||
| 2265 | 'cluster.put_component_template' => { | ||||||||||||||||||||
| 2266 | body => { required => 1 }, | ||||||||||||||||||||
| 2267 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/#use-component-templates-to-create-an-index-template', | ||||||||||||||||||||
| 2268 | method => 'PUT', | ||||||||||||||||||||
| 2269 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2270 | paths => [[ { name => 1 }, "_component_template", "{name}" ]], | ||||||||||||||||||||
| 2271 | qs => { | ||||||||||||||||||||
| 2272 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2273 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2274 | 'create' => 'boolean', | ||||||||||||||||||||
| 2275 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2276 | 'timeout' => 'string', | ||||||||||||||||||||
| 2277 | # Common API query parameters | ||||||||||||||||||||
| 2278 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2279 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2280 | 'human' => 'boolean', | ||||||||||||||||||||
| 2281 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2282 | 'source' => 'string', | ||||||||||||||||||||
| 2283 | }, | ||||||||||||||||||||
| 2284 | os_version => 1.000000, | ||||||||||||||||||||
| 2285 | }, | ||||||||||||||||||||
| 2286 | |||||||||||||||||||||
| 2287 | 'cluster.put_decommission_awareness' => { | ||||||||||||||||||||
| 2288 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-decommissioning-and-recommissioning-a-zone', | ||||||||||||||||||||
| 2289 | method => 'PUT', | ||||||||||||||||||||
| 2290 | parts => { awareness_attribute_name => { required => 1 }, awareness_attribute_value => { required => 1 }}, | ||||||||||||||||||||
| 2291 | paths => [[ { awareness_attribute_name => 3, awareness_attribute_value => 4 }, "_cluster", "decommission", "awareness", "{awareness_attribute_name}", "{awareness_attribute_value}" ]], | ||||||||||||||||||||
| 2292 | qs => { | ||||||||||||||||||||
| 2293 | # Common API query parameters | ||||||||||||||||||||
| 2294 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2295 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2296 | 'human' => 'boolean', | ||||||||||||||||||||
| 2297 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2298 | 'source' => 'string', | ||||||||||||||||||||
| 2299 | }, | ||||||||||||||||||||
| 2300 | os_version => 1.000000, | ||||||||||||||||||||
| 2301 | }, | ||||||||||||||||||||
| 2302 | |||||||||||||||||||||
| 2303 | 'cluster.put_settings' => { | ||||||||||||||||||||
| 2304 | body => {}, | ||||||||||||||||||||
| 2305 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-settings/', | ||||||||||||||||||||
| 2306 | method => 'PUT', | ||||||||||||||||||||
| 2307 | parts => {}, | ||||||||||||||||||||
| 2308 | paths => [[ {}, "_cluster", "settings" ]], | ||||||||||||||||||||
| 2309 | qs => { | ||||||||||||||||||||
| 2310 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2311 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2312 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 2313 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2314 | 'timeout' => 'string', | ||||||||||||||||||||
| 2315 | # Common API query parameters | ||||||||||||||||||||
| 2316 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2317 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2318 | 'human' => 'boolean', | ||||||||||||||||||||
| 2319 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2320 | 'source' => 'string', | ||||||||||||||||||||
| 2321 | }, | ||||||||||||||||||||
| 2322 | os_version => 1.000000, | ||||||||||||||||||||
| 2323 | }, | ||||||||||||||||||||
| 2324 | |||||||||||||||||||||
| 2325 | 'cluster.put_weighted_routing' => { | ||||||||||||||||||||
| 2326 | body => {}, | ||||||||||||||||||||
| 2327 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-awareness/#example-weighted-round-robin-search', | ||||||||||||||||||||
| 2328 | method => 'PUT', | ||||||||||||||||||||
| 2329 | parts => { attribute => { required => 1 }}, | ||||||||||||||||||||
| 2330 | paths => [[ { attribute => 3 }, "_cluster", "routing", "awareness", "{attribute}", "weights" ]], | ||||||||||||||||||||
| 2331 | qs => { | ||||||||||||||||||||
| 2332 | # Common API query parameters | ||||||||||||||||||||
| 2333 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2334 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2335 | 'human' => 'boolean', | ||||||||||||||||||||
| 2336 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2337 | 'source' => 'string', | ||||||||||||||||||||
| 2338 | }, | ||||||||||||||||||||
| 2339 | os_version => 1.000000, | ||||||||||||||||||||
| 2340 | }, | ||||||||||||||||||||
| 2341 | |||||||||||||||||||||
| 2342 | 'cluster.remote_info' => { | ||||||||||||||||||||
| 2343 | doc => 'https://opensearch.org/docs/latest/api-reference/remote-info/', | ||||||||||||||||||||
| 2344 | method => 'GET', | ||||||||||||||||||||
| 2345 | parts => {}, | ||||||||||||||||||||
| 2346 | paths => [[ {}, "_remote", "info" ]], | ||||||||||||||||||||
| 2347 | qs => { | ||||||||||||||||||||
| 2348 | # Common API query parameters | ||||||||||||||||||||
| 2349 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2350 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2351 | 'human' => 'boolean', | ||||||||||||||||||||
| 2352 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2353 | 'source' => 'string', | ||||||||||||||||||||
| 2354 | }, | ||||||||||||||||||||
| 2355 | os_version => 1.000000, | ||||||||||||||||||||
| 2356 | }, | ||||||||||||||||||||
| 2357 | |||||||||||||||||||||
| 2358 | 'cluster.reroute' => { | ||||||||||||||||||||
| 2359 | body => {}, | ||||||||||||||||||||
| 2360 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2361 | method => 'POST', | ||||||||||||||||||||
| 2362 | parts => {}, | ||||||||||||||||||||
| 2363 | paths => [[ {}, "_cluster", "reroute" ]], | ||||||||||||||||||||
| 2364 | qs => { | ||||||||||||||||||||
| 2365 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2366 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2367 | 'dry_run' => 'boolean', | ||||||||||||||||||||
| 2368 | 'explain' => 'boolean', | ||||||||||||||||||||
| 2369 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2370 | 'metric' => 'list', | ||||||||||||||||||||
| 2371 | 'retry_failed' => 'boolean', | ||||||||||||||||||||
| 2372 | 'timeout' => 'string', | ||||||||||||||||||||
| 2373 | # Common API query parameters | ||||||||||||||||||||
| 2374 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2375 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2376 | 'human' => 'boolean', | ||||||||||||||||||||
| 2377 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2378 | 'source' => 'string', | ||||||||||||||||||||
| 2379 | }, | ||||||||||||||||||||
| 2380 | os_version => 1.000000, | ||||||||||||||||||||
| 2381 | }, | ||||||||||||||||||||
| 2382 | |||||||||||||||||||||
| 2383 | 'cluster.state' => { | ||||||||||||||||||||
| 2384 | doc => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/', | ||||||||||||||||||||
| 2385 | method => 'GET', | ||||||||||||||||||||
| 2386 | parts => { index => { multi => 1 }, metric => { multi => 1 }}, | ||||||||||||||||||||
| 2387 | paths => [ | ||||||||||||||||||||
| 2388 | [ { metric => 2, index => 3 }, "_cluster", "state", "{metric}", "{index}" ], | ||||||||||||||||||||
| 2389 | [ { metric => 2 }, "_cluster", "state", "{metric}" ], | ||||||||||||||||||||
| 2390 | [ {}, "_cluster", "state" ] | ||||||||||||||||||||
| 2391 | ], | ||||||||||||||||||||
| 2392 | qs => { | ||||||||||||||||||||
| 2393 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2394 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 2395 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2396 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2397 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 2398 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 2399 | 'local' => 'boolean', | ||||||||||||||||||||
| 2400 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2401 | 'wait_for_metadata_version' => 'number', | ||||||||||||||||||||
| 2402 | 'wait_for_timeout' => 'string', | ||||||||||||||||||||
| 2403 | # Common API query parameters | ||||||||||||||||||||
| 2404 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2405 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2406 | 'human' => 'boolean', | ||||||||||||||||||||
| 2407 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2408 | 'source' => 'string', | ||||||||||||||||||||
| 2409 | }, | ||||||||||||||||||||
| 2410 | os_version => 1.000000, | ||||||||||||||||||||
| 2411 | }, | ||||||||||||||||||||
| 2412 | |||||||||||||||||||||
| 2413 | 'cluster.stats' => { | ||||||||||||||||||||
| 2414 | doc => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/', | ||||||||||||||||||||
| 2415 | method => 'GET', | ||||||||||||||||||||
| 2416 | parts => { index_metric => { multi => 1 }, metric => { multi => 1 }, node_id => { multi => 1 }}, | ||||||||||||||||||||
| 2417 | paths => [ | ||||||||||||||||||||
| 2418 | [ { metric => 2, index_metric => 3, node_id => 5 }, "_cluster", "stats", "{metric}", "{index_metric}", "nodes", "{node_id}" ], | ||||||||||||||||||||
| 2419 | [ { metric => 2, node_id => 4 }, "_cluster", "stats", "{metric}", "nodes", "{node_id}" ], | ||||||||||||||||||||
| 2420 | [ { node_id => 3 }, "_cluster", "stats", "nodes", "{node_id}" ], | ||||||||||||||||||||
| 2421 | [ {}, "_cluster", "stats" ] | ||||||||||||||||||||
| 2422 | ], | ||||||||||||||||||||
| 2423 | qs => { | ||||||||||||||||||||
| 2424 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2425 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 2426 | 'timeout' => 'string', | ||||||||||||||||||||
| 2427 | # Common API query parameters | ||||||||||||||||||||
| 2428 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2429 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2430 | 'human' => 'boolean', | ||||||||||||||||||||
| 2431 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2432 | 'source' => 'string', | ||||||||||||||||||||
| 2433 | }, | ||||||||||||||||||||
| 2434 | os_version => 1.000000, | ||||||||||||||||||||
| 2435 | }, | ||||||||||||||||||||
| 2436 | |||||||||||||||||||||
| 2437 | 'dangling_indices.delete_dangling_index' => { | ||||||||||||||||||||
| 2438 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/', | ||||||||||||||||||||
| 2439 | method => 'DELETE', | ||||||||||||||||||||
| 2440 | parts => { index_uuid => { required => 1 }}, | ||||||||||||||||||||
| 2441 | paths => [[ { index_uuid => 1 }, "_dangling", "{index_uuid}" ]], | ||||||||||||||||||||
| 2442 | qs => { | ||||||||||||||||||||
| 2443 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2444 | 'accept_data_loss' => 'boolean', | ||||||||||||||||||||
| 2445 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2446 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2447 | 'timeout' => 'string', | ||||||||||||||||||||
| 2448 | # Common API query parameters | ||||||||||||||||||||
| 2449 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2450 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2451 | 'human' => 'boolean', | ||||||||||||||||||||
| 2452 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2453 | 'source' => 'string', | ||||||||||||||||||||
| 2454 | }, | ||||||||||||||||||||
| 2455 | os_version => 1.000000, | ||||||||||||||||||||
| 2456 | }, | ||||||||||||||||||||
| 2457 | |||||||||||||||||||||
| 2458 | 'dangling_indices.import_dangling_index' => { | ||||||||||||||||||||
| 2459 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/', | ||||||||||||||||||||
| 2460 | method => 'POST', | ||||||||||||||||||||
| 2461 | parts => { index_uuid => { required => 1 }}, | ||||||||||||||||||||
| 2462 | paths => [[ { index_uuid => 1 }, "_dangling", "{index_uuid}" ]], | ||||||||||||||||||||
| 2463 | qs => { | ||||||||||||||||||||
| 2464 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2465 | 'accept_data_loss' => 'boolean', | ||||||||||||||||||||
| 2466 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2467 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2468 | 'timeout' => 'string', | ||||||||||||||||||||
| 2469 | # Common API query parameters | ||||||||||||||||||||
| 2470 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2471 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2472 | 'human' => 'boolean', | ||||||||||||||||||||
| 2473 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2474 | 'source' => 'string', | ||||||||||||||||||||
| 2475 | }, | ||||||||||||||||||||
| 2476 | os_version => 1.000000, | ||||||||||||||||||||
| 2477 | }, | ||||||||||||||||||||
| 2478 | |||||||||||||||||||||
| 2479 | 'dangling_indices.list_dangling_indices' => { | ||||||||||||||||||||
| 2480 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/', | ||||||||||||||||||||
| 2481 | method => 'GET', | ||||||||||||||||||||
| 2482 | parts => {}, | ||||||||||||||||||||
| 2483 | paths => [[ {}, "_dangling" ]], | ||||||||||||||||||||
| 2484 | qs => { | ||||||||||||||||||||
| 2485 | # Common API query parameters | ||||||||||||||||||||
| 2486 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2487 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2488 | 'human' => 'boolean', | ||||||||||||||||||||
| 2489 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2490 | 'source' => 'string', | ||||||||||||||||||||
| 2491 | }, | ||||||||||||||||||||
| 2492 | os_version => 1.000000, | ||||||||||||||||||||
| 2493 | }, | ||||||||||||||||||||
| 2494 | |||||||||||||||||||||
| 2495 | 'flow_framework.create' => { | ||||||||||||||||||||
| 2496 | body => {}, | ||||||||||||||||||||
| 2497 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/create-workflow/', | ||||||||||||||||||||
| 2498 | method => 'POST', | ||||||||||||||||||||
| 2499 | parts => {}, | ||||||||||||||||||||
| 2500 | paths => [[ {}, "_plugins", "_flow_framework", "workflow" ]], | ||||||||||||||||||||
| 2501 | qs => { | ||||||||||||||||||||
| 2502 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2503 | 'provision' => 'boolean', | ||||||||||||||||||||
| 2504 | 'reprovision' => 'boolean', | ||||||||||||||||||||
| 2505 | 'update_fields' => 'boolean', | ||||||||||||||||||||
| 2506 | 'use_case' => 'string', | ||||||||||||||||||||
| 2507 | 'validation' => 'string', | ||||||||||||||||||||
| 2508 | # Common API query parameters | ||||||||||||||||||||
| 2509 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2510 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2511 | 'human' => 'boolean', | ||||||||||||||||||||
| 2512 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2513 | 'source' => 'string', | ||||||||||||||||||||
| 2514 | }, | ||||||||||||||||||||
| 2515 | os_version => 2.012000, | ||||||||||||||||||||
| 2516 | }, | ||||||||||||||||||||
| 2517 | |||||||||||||||||||||
| 2518 | 'flow_framework.delete' => { | ||||||||||||||||||||
| 2519 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/delete-workflow/', | ||||||||||||||||||||
| 2520 | method => 'DELETE', | ||||||||||||||||||||
| 2521 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2522 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}" ]], | ||||||||||||||||||||
| 2523 | qs => { | ||||||||||||||||||||
| 2524 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2525 | 'clear_status' => 'boolean', | ||||||||||||||||||||
| 2526 | # Common API query parameters | ||||||||||||||||||||
| 2527 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2528 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2529 | 'human' => 'boolean', | ||||||||||||||||||||
| 2530 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2531 | 'source' => 'string', | ||||||||||||||||||||
| 2532 | }, | ||||||||||||||||||||
| 2533 | os_version => 2.012000, | ||||||||||||||||||||
| 2534 | }, | ||||||||||||||||||||
| 2535 | |||||||||||||||||||||
| 2536 | 'flow_framework.deprovision' => { | ||||||||||||||||||||
| 2537 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/deprovision-workflow/', | ||||||||||||||||||||
| 2538 | method => 'POST', | ||||||||||||||||||||
| 2539 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2540 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}", "_deprovision" ]], | ||||||||||||||||||||
| 2541 | qs => { | ||||||||||||||||||||
| 2542 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2543 | 'allow_delete' => 'string', | ||||||||||||||||||||
| 2544 | # Common API query parameters | ||||||||||||||||||||
| 2545 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2546 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2547 | 'human' => 'boolean', | ||||||||||||||||||||
| 2548 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2549 | 'source' => 'string', | ||||||||||||||||||||
| 2550 | }, | ||||||||||||||||||||
| 2551 | os_version => 2.012000, | ||||||||||||||||||||
| 2552 | }, | ||||||||||||||||||||
| 2553 | |||||||||||||||||||||
| 2554 | 'flow_framework.get' => { | ||||||||||||||||||||
| 2555 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/get-workflow/', | ||||||||||||||||||||
| 2556 | method => 'GET', | ||||||||||||||||||||
| 2557 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2558 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}" ]], | ||||||||||||||||||||
| 2559 | qs => { | ||||||||||||||||||||
| 2560 | # Common API query parameters | ||||||||||||||||||||
| 2561 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2562 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2563 | 'human' => 'boolean', | ||||||||||||||||||||
| 2564 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2565 | 'source' => 'string', | ||||||||||||||||||||
| 2566 | }, | ||||||||||||||||||||
| 2567 | os_version => 2.012000, | ||||||||||||||||||||
| 2568 | }, | ||||||||||||||||||||
| 2569 | |||||||||||||||||||||
| 2570 | 'flow_framework.get_status' => { | ||||||||||||||||||||
| 2571 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/get-workflow-status/', | ||||||||||||||||||||
| 2572 | method => 'GET', | ||||||||||||||||||||
| 2573 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2574 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}", "_status" ]], | ||||||||||||||||||||
| 2575 | qs => { | ||||||||||||||||||||
| 2576 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2577 | 'all' => 'boolean', | ||||||||||||||||||||
| 2578 | # Common API query parameters | ||||||||||||||||||||
| 2579 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2580 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2581 | 'human' => 'boolean', | ||||||||||||||||||||
| 2582 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2583 | 'source' => 'string', | ||||||||||||||||||||
| 2584 | }, | ||||||||||||||||||||
| 2585 | os_version => 2.012000, | ||||||||||||||||||||
| 2586 | }, | ||||||||||||||||||||
| 2587 | |||||||||||||||||||||
| 2588 | 'flow_framework.get_steps' => { | ||||||||||||||||||||
| 2589 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/get-workflow-steps/', | ||||||||||||||||||||
| 2590 | method => 'GET', | ||||||||||||||||||||
| 2591 | parts => {}, | ||||||||||||||||||||
| 2592 | paths => [[ {}, "_plugins", "_flow_framework", "workflow", "_steps" ]], | ||||||||||||||||||||
| 2593 | qs => { | ||||||||||||||||||||
| 2594 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2595 | 'workflow_step' => 'string', | ||||||||||||||||||||
| 2596 | # Common API query parameters | ||||||||||||||||||||
| 2597 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2598 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2599 | 'human' => 'boolean', | ||||||||||||||||||||
| 2600 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2601 | 'source' => 'string', | ||||||||||||||||||||
| 2602 | }, | ||||||||||||||||||||
| 2603 | os_version => 2.012000, | ||||||||||||||||||||
| 2604 | }, | ||||||||||||||||||||
| 2605 | |||||||||||||||||||||
| 2606 | 'flow_framework.provision' => { | ||||||||||||||||||||
| 2607 | body => {}, | ||||||||||||||||||||
| 2608 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/provision-workflow/', | ||||||||||||||||||||
| 2609 | method => 'POST', | ||||||||||||||||||||
| 2610 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2611 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}", "_provision" ]], | ||||||||||||||||||||
| 2612 | qs => { | ||||||||||||||||||||
| 2613 | # Common API query parameters | ||||||||||||||||||||
| 2614 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2615 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2616 | 'human' => 'boolean', | ||||||||||||||||||||
| 2617 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2618 | 'source' => 'string', | ||||||||||||||||||||
| 2619 | }, | ||||||||||||||||||||
| 2620 | os_version => 2.012000, | ||||||||||||||||||||
| 2621 | }, | ||||||||||||||||||||
| 2622 | |||||||||||||||||||||
| 2623 | 'flow_framework.search' => { | ||||||||||||||||||||
| 2624 | body => { required => 1 }, | ||||||||||||||||||||
| 2625 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/provision-workflow/', | ||||||||||||||||||||
| 2626 | method => 'POST', | ||||||||||||||||||||
| 2627 | parts => {}, | ||||||||||||||||||||
| 2628 | paths => [[ {}, "_plugins", "_flow_framework", "workflow", "_search" ]], | ||||||||||||||||||||
| 2629 | qs => { | ||||||||||||||||||||
| 2630 | # Common API query parameters | ||||||||||||||||||||
| 2631 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2632 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2633 | 'human' => 'boolean', | ||||||||||||||||||||
| 2634 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2635 | 'source' => 'string', | ||||||||||||||||||||
| 2636 | }, | ||||||||||||||||||||
| 2637 | os_version => 2.012000, | ||||||||||||||||||||
| 2638 | }, | ||||||||||||||||||||
| 2639 | |||||||||||||||||||||
| 2640 | 'flow_framework.search_state' => { | ||||||||||||||||||||
| 2641 | body => { required => 1 }, | ||||||||||||||||||||
| 2642 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/search-workflow-state/', | ||||||||||||||||||||
| 2643 | method => 'POST', | ||||||||||||||||||||
| 2644 | parts => {}, | ||||||||||||||||||||
| 2645 | paths => [[ {}, "_plugins", "_flow_framework", "workflow", "state", "_search" ]], | ||||||||||||||||||||
| 2646 | qs => { | ||||||||||||||||||||
| 2647 | # Common API query parameters | ||||||||||||||||||||
| 2648 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2649 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2650 | 'human' => 'boolean', | ||||||||||||||||||||
| 2651 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2652 | 'source' => 'string', | ||||||||||||||||||||
| 2653 | }, | ||||||||||||||||||||
| 2654 | os_version => 2.012000, | ||||||||||||||||||||
| 2655 | }, | ||||||||||||||||||||
| 2656 | |||||||||||||||||||||
| 2657 | 'flow_framework.update' => { | ||||||||||||||||||||
| 2658 | body => {}, | ||||||||||||||||||||
| 2659 | doc => 'https://opensearch.org/docs/latest/automating-configurations/api/create-workflow/', | ||||||||||||||||||||
| 2660 | method => 'PUT', | ||||||||||||||||||||
| 2661 | parts => { workflow_id => { required => 1 }}, | ||||||||||||||||||||
| 2662 | paths => [[ { workflow_id => 3 }, "_plugins", "_flow_framework", "workflow", "{workflow_id}" ]], | ||||||||||||||||||||
| 2663 | qs => { | ||||||||||||||||||||
| 2664 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2665 | 'provision' => 'boolean', | ||||||||||||||||||||
| 2666 | 'reprovision' => 'boolean', | ||||||||||||||||||||
| 2667 | 'update_fields' => 'boolean', | ||||||||||||||||||||
| 2668 | 'use_case' => 'string', | ||||||||||||||||||||
| 2669 | 'validation' => 'string', | ||||||||||||||||||||
| 2670 | # Common API query parameters | ||||||||||||||||||||
| 2671 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2672 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2673 | 'human' => 'boolean', | ||||||||||||||||||||
| 2674 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2675 | 'source' => 'string', | ||||||||||||||||||||
| 2676 | }, | ||||||||||||||||||||
| 2677 | os_version => 2.012000, | ||||||||||||||||||||
| 2678 | }, | ||||||||||||||||||||
| 2679 | |||||||||||||||||||||
| 2680 | 'geospatial.delete_ip2geo_datasource' => { | ||||||||||||||||||||
| 2681 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo/#deleting-the-ip2geo-data-source', | ||||||||||||||||||||
| 2682 | method => 'DELETE', | ||||||||||||||||||||
| 2683 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2684 | paths => [[ { name => 4 }, "_plugins", "geospatial", "ip2geo", "datasource", "{name}" ]], | ||||||||||||||||||||
| 2685 | qs => { | ||||||||||||||||||||
| 2686 | # Common API query parameters | ||||||||||||||||||||
| 2687 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2688 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2689 | 'human' => 'boolean', | ||||||||||||||||||||
| 2690 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2691 | 'source' => 'string', | ||||||||||||||||||||
| 2692 | }, | ||||||||||||||||||||
| 2693 | os_version => 2.011000, | ||||||||||||||||||||
| 2694 | }, | ||||||||||||||||||||
| 2695 | |||||||||||||||||||||
| 2696 | 'geospatial.geojson_upload_post' => { | ||||||||||||||||||||
| 2697 | body => {}, | ||||||||||||||||||||
| 2698 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo', | ||||||||||||||||||||
| 2699 | method => 'POST', | ||||||||||||||||||||
| 2700 | parts => {}, | ||||||||||||||||||||
| 2701 | paths => [[ {}, "_plugins", "geospatial", "geojson", "_upload" ]], | ||||||||||||||||||||
| 2702 | qs => { | ||||||||||||||||||||
| 2703 | # Common API query parameters | ||||||||||||||||||||
| 2704 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2705 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2706 | 'human' => 'boolean', | ||||||||||||||||||||
| 2707 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2708 | 'source' => 'string', | ||||||||||||||||||||
| 2709 | }, | ||||||||||||||||||||
| 2710 | os_version => 2.011000, | ||||||||||||||||||||
| 2711 | }, | ||||||||||||||||||||
| 2712 | |||||||||||||||||||||
| 2713 | 'geospatial.geojson_upload_put' => { | ||||||||||||||||||||
| 2714 | body => {}, | ||||||||||||||||||||
| 2715 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo', | ||||||||||||||||||||
| 2716 | method => 'PUT', | ||||||||||||||||||||
| 2717 | parts => {}, | ||||||||||||||||||||
| 2718 | paths => [[ {}, "_plugins", "geospatial", "geojson", "_upload" ]], | ||||||||||||||||||||
| 2719 | qs => { | ||||||||||||||||||||
| 2720 | # Common API query parameters | ||||||||||||||||||||
| 2721 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2722 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2723 | 'human' => 'boolean', | ||||||||||||||||||||
| 2724 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2725 | 'source' => 'string', | ||||||||||||||||||||
| 2726 | }, | ||||||||||||||||||||
| 2727 | os_version => 2.011000, | ||||||||||||||||||||
| 2728 | }, | ||||||||||||||||||||
| 2729 | |||||||||||||||||||||
| 2730 | 'geospatial.get_ip2geo_datasource' => { | ||||||||||||||||||||
| 2731 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo/#sending-a-get-request', | ||||||||||||||||||||
| 2732 | method => 'GET', | ||||||||||||||||||||
| 2733 | parts => { name => { multi => 1 }}, | ||||||||||||||||||||
| 2734 | paths => [ | ||||||||||||||||||||
| 2735 | [ { name => 4 }, "_plugins", "geospatial", "ip2geo", "datasource", "{name}" ], | ||||||||||||||||||||
| 2736 | [ {}, "_plugins", "geospatial", "ip2geo", "datasource" ] | ||||||||||||||||||||
| 2737 | ], | ||||||||||||||||||||
| 2738 | qs => { | ||||||||||||||||||||
| 2739 | # Common API query parameters | ||||||||||||||||||||
| 2740 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2741 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2742 | 'human' => 'boolean', | ||||||||||||||||||||
| 2743 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2744 | 'source' => 'string', | ||||||||||||||||||||
| 2745 | }, | ||||||||||||||||||||
| 2746 | os_version => 2.011000, | ||||||||||||||||||||
| 2747 | }, | ||||||||||||||||||||
| 2748 | |||||||||||||||||||||
| 2749 | 'geospatial.get_upload_stats' => { | ||||||||||||||||||||
| 2750 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo', | ||||||||||||||||||||
| 2751 | method => 'GET', | ||||||||||||||||||||
| 2752 | parts => {}, | ||||||||||||||||||||
| 2753 | paths => [[ {}, "_plugins", "geospatial", "_upload", "stats" ]], | ||||||||||||||||||||
| 2754 | qs => { | ||||||||||||||||||||
| 2755 | # Common API query parameters | ||||||||||||||||||||
| 2756 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2757 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2758 | 'human' => 'boolean', | ||||||||||||||||||||
| 2759 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2760 | 'source' => 'string', | ||||||||||||||||||||
| 2761 | }, | ||||||||||||||||||||
| 2762 | os_version => 2.011000, | ||||||||||||||||||||
| 2763 | }, | ||||||||||||||||||||
| 2764 | |||||||||||||||||||||
| 2765 | 'geospatial.put_ip2geo_datasource' => { | ||||||||||||||||||||
| 2766 | body => {}, | ||||||||||||||||||||
| 2767 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo/#data-source-options', | ||||||||||||||||||||
| 2768 | method => 'PUT', | ||||||||||||||||||||
| 2769 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2770 | paths => [[ { name => 4 }, "_plugins", "geospatial", "ip2geo", "datasource", "{name}" ]], | ||||||||||||||||||||
| 2771 | qs => { | ||||||||||||||||||||
| 2772 | # Common API query parameters | ||||||||||||||||||||
| 2773 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2774 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2775 | 'human' => 'boolean', | ||||||||||||||||||||
| 2776 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2777 | 'source' => 'string', | ||||||||||||||||||||
| 2778 | }, | ||||||||||||||||||||
| 2779 | os_version => 2.011000, | ||||||||||||||||||||
| 2780 | }, | ||||||||||||||||||||
| 2781 | |||||||||||||||||||||
| 2782 | 'geospatial.put_ip2geo_datasource_settings' => { | ||||||||||||||||||||
| 2783 | body => {}, | ||||||||||||||||||||
| 2784 | doc => 'https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo/#updating-an-ip2geo-data-source', | ||||||||||||||||||||
| 2785 | method => 'PUT', | ||||||||||||||||||||
| 2786 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2787 | paths => [[ { name => 4 }, "_plugins", "geospatial", "ip2geo", "datasource", "{name}", "_settings" ]], | ||||||||||||||||||||
| 2788 | qs => { | ||||||||||||||||||||
| 2789 | # Common API query parameters | ||||||||||||||||||||
| 2790 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2791 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2792 | 'human' => 'boolean', | ||||||||||||||||||||
| 2793 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2794 | 'source' => 'string', | ||||||||||||||||||||
| 2795 | }, | ||||||||||||||||||||
| 2796 | os_version => 2.011000, | ||||||||||||||||||||
| 2797 | }, | ||||||||||||||||||||
| 2798 | |||||||||||||||||||||
| 2799 | 'indices.add_block' => { | ||||||||||||||||||||
| 2800 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 2801 | method => 'PUT', | ||||||||||||||||||||
| 2802 | parts => { block => { required => 1 }, index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 2803 | paths => [[ { index => 0, block => 2 }, "{index}", "_block", "{block}" ]], | ||||||||||||||||||||
| 2804 | qs => { | ||||||||||||||||||||
| 2805 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2806 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 2807 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2808 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2809 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 2810 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2811 | 'timeout' => 'string', | ||||||||||||||||||||
| 2812 | # Common API query parameters | ||||||||||||||||||||
| 2813 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2814 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2815 | 'human' => 'boolean', | ||||||||||||||||||||
| 2816 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2817 | 'source' => 'string', | ||||||||||||||||||||
| 2818 | }, | ||||||||||||||||||||
| 2819 | os_version => 1.000000, | ||||||||||||||||||||
| 2820 | }, | ||||||||||||||||||||
| 2821 | |||||||||||||||||||||
| 2822 | 'indices.analyze' => { | ||||||||||||||||||||
| 2823 | body => {}, | ||||||||||||||||||||
| 2824 | doc => 'https://opensearch.org/docs/latest/api-reference/analyze-apis/perform-text-analysis/', | ||||||||||||||||||||
| 2825 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 2826 | method => 'detect', | ||||||||||||||||||||
| 2827 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 2828 | parts => { index => {}}, | ||||||||||||||||||||
| 2829 | paths => [ | ||||||||||||||||||||
| 2830 | [ { index => 0 }, "{index}", "_analyze" ], | ||||||||||||||||||||
| 2831 | [ {}, "_analyze" ] | ||||||||||||||||||||
| 2832 | ], | ||||||||||||||||||||
| 2833 | qs => { | ||||||||||||||||||||
| 2834 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2835 | 'index' => 'string', | ||||||||||||||||||||
| 2836 | # Common API query parameters | ||||||||||||||||||||
| 2837 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2838 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2839 | 'human' => 'boolean', | ||||||||||||||||||||
| 2840 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2841 | 'source' => 'string', | ||||||||||||||||||||
| 2842 | }, | ||||||||||||||||||||
| 2843 | os_version => 1.000000, | ||||||||||||||||||||
| 2844 | }, | ||||||||||||||||||||
| 2845 | |||||||||||||||||||||
| 2846 | 'indices.clear_cache' => { | ||||||||||||||||||||
| 2847 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/clear-index-cache/', | ||||||||||||||||||||
| 2848 | method => 'POST', | ||||||||||||||||||||
| 2849 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 2850 | paths => [ | ||||||||||||||||||||
| 2851 | [ { index => 0 }, "{index}", "_cache", "clear" ], | ||||||||||||||||||||
| 2852 | [ {}, "_cache", "clear" ] | ||||||||||||||||||||
| 2853 | ], | ||||||||||||||||||||
| 2854 | qs => { | ||||||||||||||||||||
| 2855 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2856 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 2857 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2858 | 'fielddata' => 'boolean', | ||||||||||||||||||||
| 2859 | 'fields' => 'list', | ||||||||||||||||||||
| 2860 | 'file' => 'boolean', | ||||||||||||||||||||
| 2861 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 2862 | 'index' => 'list', | ||||||||||||||||||||
| 2863 | 'query' => 'boolean', | ||||||||||||||||||||
| 2864 | 'request' => 'boolean', | ||||||||||||||||||||
| 2865 | # Common API query parameters | ||||||||||||||||||||
| 2866 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2867 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2868 | 'human' => 'boolean', | ||||||||||||||||||||
| 2869 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2870 | 'source' => 'string', | ||||||||||||||||||||
| 2871 | }, | ||||||||||||||||||||
| 2872 | os_version => 1.000000, | ||||||||||||||||||||
| 2873 | }, | ||||||||||||||||||||
| 2874 | |||||||||||||||||||||
| 2875 | 'indices.clone' => { | ||||||||||||||||||||
| 2876 | body => {}, | ||||||||||||||||||||
| 2877 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/clone/', | ||||||||||||||||||||
| 2878 | method => 'POST', | ||||||||||||||||||||
| 2879 | parts => { index => { required => 1 }, target => { required => 1 }}, | ||||||||||||||||||||
| 2880 | paths => [[ { index => 0, target => 2 }, "{index}", "_clone", "{target}" ]], | ||||||||||||||||||||
| 2881 | qs => { | ||||||||||||||||||||
| 2882 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2883 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2884 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2885 | 'task_execution_timeout' => 'string', | ||||||||||||||||||||
| 2886 | 'timeout' => 'string', | ||||||||||||||||||||
| 2887 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 2888 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 2889 | # Common API query parameters | ||||||||||||||||||||
| 2890 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2891 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2892 | 'human' => 'boolean', | ||||||||||||||||||||
| 2893 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2894 | 'source' => 'string', | ||||||||||||||||||||
| 2895 | }, | ||||||||||||||||||||
| 2896 | os_version => 1.000000, | ||||||||||||||||||||
| 2897 | }, | ||||||||||||||||||||
| 2898 | |||||||||||||||||||||
| 2899 | 'indices.close' => { | ||||||||||||||||||||
| 2900 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/close-index/', | ||||||||||||||||||||
| 2901 | method => 'POST', | ||||||||||||||||||||
| 2902 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 2903 | paths => [[ { index => 0 }, "{index}", "_close" ]], | ||||||||||||||||||||
| 2904 | qs => { | ||||||||||||||||||||
| 2905 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2906 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 2907 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2908 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2909 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 2910 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2911 | 'timeout' => 'string', | ||||||||||||||||||||
| 2912 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 2913 | # Common API query parameters | ||||||||||||||||||||
| 2914 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2915 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2916 | 'human' => 'boolean', | ||||||||||||||||||||
| 2917 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2918 | 'source' => 'string', | ||||||||||||||||||||
| 2919 | }, | ||||||||||||||||||||
| 2920 | os_version => 1.000000, | ||||||||||||||||||||
| 2921 | }, | ||||||||||||||||||||
| 2922 | |||||||||||||||||||||
| 2923 | 'indices.create' => { | ||||||||||||||||||||
| 2924 | body => {}, | ||||||||||||||||||||
| 2925 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/create-index/', | ||||||||||||||||||||
| 2926 | method => 'PUT', | ||||||||||||||||||||
| 2927 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 2928 | paths => [[ { index => 0 }, "{index}" ]], | ||||||||||||||||||||
| 2929 | qs => { | ||||||||||||||||||||
| 2930 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2931 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2932 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2933 | 'timeout' => 'string', | ||||||||||||||||||||
| 2934 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 2935 | # Common API query parameters | ||||||||||||||||||||
| 2936 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2937 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2938 | 'human' => 'boolean', | ||||||||||||||||||||
| 2939 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2940 | 'source' => 'string', | ||||||||||||||||||||
| 2941 | }, | ||||||||||||||||||||
| 2942 | os_version => 1.000000, | ||||||||||||||||||||
| 2943 | }, | ||||||||||||||||||||
| 2944 | |||||||||||||||||||||
| 2945 | 'indices.create_data_stream' => { | ||||||||||||||||||||
| 2946 | body => {}, | ||||||||||||||||||||
| 2947 | doc => 'https://opensearch.org/docs/latest/im-plugin/data-streams/', | ||||||||||||||||||||
| 2948 | method => 'PUT', | ||||||||||||||||||||
| 2949 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 2950 | paths => [[ { name => 1 }, "_data_stream", "{name}" ]], | ||||||||||||||||||||
| 2951 | qs => { | ||||||||||||||||||||
| 2952 | # Common API query parameters | ||||||||||||||||||||
| 2953 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2954 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2955 | 'human' => 'boolean', | ||||||||||||||||||||
| 2956 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2957 | 'source' => 'string', | ||||||||||||||||||||
| 2958 | }, | ||||||||||||||||||||
| 2959 | os_version => 1.000000, | ||||||||||||||||||||
| 2960 | }, | ||||||||||||||||||||
| 2961 | |||||||||||||||||||||
| 2962 | 'indices.data_streams_stats' => { | ||||||||||||||||||||
| 2963 | doc => 'https://opensearch.org/docs/latest/im-plugin/data-streams/', | ||||||||||||||||||||
| 2964 | method => 'GET', | ||||||||||||||||||||
| 2965 | parts => { name => { multi => 1 }}, | ||||||||||||||||||||
| 2966 | paths => [ | ||||||||||||||||||||
| 2967 | [ { name => 1 }, "_data_stream", "{name}", "_stats" ], | ||||||||||||||||||||
| 2968 | [ {}, "_data_stream", "_stats" ] | ||||||||||||||||||||
| 2969 | ], | ||||||||||||||||||||
| 2970 | qs => { | ||||||||||||||||||||
| 2971 | # Common API query parameters | ||||||||||||||||||||
| 2972 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2973 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2974 | 'human' => 'boolean', | ||||||||||||||||||||
| 2975 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2976 | 'source' => 'string', | ||||||||||||||||||||
| 2977 | }, | ||||||||||||||||||||
| 2978 | os_version => 1.000000, | ||||||||||||||||||||
| 2979 | }, | ||||||||||||||||||||
| 2980 | |||||||||||||||||||||
| 2981 | 'indices.delete' => { | ||||||||||||||||||||
| 2982 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/delete-index/', | ||||||||||||||||||||
| 2983 | method => 'DELETE', | ||||||||||||||||||||
| 2984 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 2985 | paths => [[ { index => 0 }, "{index}" ]], | ||||||||||||||||||||
| 2986 | qs => { | ||||||||||||||||||||
| 2987 | # Endpoint specific query parameters | ||||||||||||||||||||
| 2988 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 2989 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 2990 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 2991 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 2992 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 2993 | 'timeout' => 'string', | ||||||||||||||||||||
| 2994 | # Common API query parameters | ||||||||||||||||||||
| 2995 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 2996 | 'filter_path' => 'list', | ||||||||||||||||||||
| 2997 | 'human' => 'boolean', | ||||||||||||||||||||
| 2998 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 2999 | 'source' => 'string', | ||||||||||||||||||||
| 3000 | }, | ||||||||||||||||||||
| 3001 | os_version => 1.000000, | ||||||||||||||||||||
| 3002 | }, | ||||||||||||||||||||
| 3003 | |||||||||||||||||||||
| 3004 | 'indices.delete_alias' => { | ||||||||||||||||||||
| 3005 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-alias/#delete-aliases', | ||||||||||||||||||||
| 3006 | method => 'DELETE', | ||||||||||||||||||||
| 3007 | parts => { index => { multi => 1, required => 1 }, name => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3008 | paths => [ | ||||||||||||||||||||
| 3009 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 3010 | [ { index => 0, name => 2 }, "{index}", "_aliases", "{name}" ] | ||||||||||||||||||||
| 3011 | ], | ||||||||||||||||||||
| 3012 | qs => { | ||||||||||||||||||||
| 3013 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3014 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3015 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3016 | 'timeout' => 'string', | ||||||||||||||||||||
| 3017 | # Common API query parameters | ||||||||||||||||||||
| 3018 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3019 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3020 | 'human' => 'boolean', | ||||||||||||||||||||
| 3021 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3022 | 'source' => 'string', | ||||||||||||||||||||
| 3023 | }, | ||||||||||||||||||||
| 3024 | os_version => 1.000000, | ||||||||||||||||||||
| 3025 | }, | ||||||||||||||||||||
| 3026 | |||||||||||||||||||||
| 3027 | 'indices.delete_data_stream' => { | ||||||||||||||||||||
| 3028 | doc => 'https://opensearch.org/docs/latest/im-plugin/data-streams/', | ||||||||||||||||||||
| 3029 | method => 'DELETE', | ||||||||||||||||||||
| 3030 | parts => { name => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3031 | paths => [[ { name => 1 }, "_data_stream", "{name}" ]], | ||||||||||||||||||||
| 3032 | qs => { | ||||||||||||||||||||
| 3033 | # Common API query parameters | ||||||||||||||||||||
| 3034 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3035 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3036 | 'human' => 'boolean', | ||||||||||||||||||||
| 3037 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3038 | 'source' => 'string', | ||||||||||||||||||||
| 3039 | }, | ||||||||||||||||||||
| 3040 | os_version => 1.000000, | ||||||||||||||||||||
| 3041 | }, | ||||||||||||||||||||
| 3042 | |||||||||||||||||||||
| 3043 | 'indices.delete_index_template' => { | ||||||||||||||||||||
| 3044 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template', | ||||||||||||||||||||
| 3045 | method => 'DELETE', | ||||||||||||||||||||
| 3046 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3047 | paths => [[ { name => 1 }, "_index_template", "{name}" ]], | ||||||||||||||||||||
| 3048 | qs => { | ||||||||||||||||||||
| 3049 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3050 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3051 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3052 | 'timeout' => 'string', | ||||||||||||||||||||
| 3053 | # Common API query parameters | ||||||||||||||||||||
| 3054 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3055 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3056 | 'human' => 'boolean', | ||||||||||||||||||||
| 3057 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3058 | 'source' => 'string', | ||||||||||||||||||||
| 3059 | }, | ||||||||||||||||||||
| 3060 | os_version => 1.000000, | ||||||||||||||||||||
| 3061 | }, | ||||||||||||||||||||
| 3062 | |||||||||||||||||||||
| 3063 | 'indices.delete_template' => { | ||||||||||||||||||||
| 3064 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3065 | method => 'DELETE', | ||||||||||||||||||||
| 3066 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3067 | paths => [[ { name => 1 }, "_template", "{name}" ]], | ||||||||||||||||||||
| 3068 | qs => { | ||||||||||||||||||||
| 3069 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3070 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3071 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3072 | 'timeout' => 'string', | ||||||||||||||||||||
| 3073 | # Common API query parameters | ||||||||||||||||||||
| 3074 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3075 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3076 | 'human' => 'boolean', | ||||||||||||||||||||
| 3077 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3078 | 'source' => 'string', | ||||||||||||||||||||
| 3079 | }, | ||||||||||||||||||||
| 3080 | os_version => 1.000000, | ||||||||||||||||||||
| 3081 | }, | ||||||||||||||||||||
| 3082 | |||||||||||||||||||||
| 3083 | 'indices.exists' => { | ||||||||||||||||||||
| 3084 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/exists/', | ||||||||||||||||||||
| 3085 | method => 'HEAD', | ||||||||||||||||||||
| 3086 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3087 | paths => [[ { index => 0 }, "{index}" ]], | ||||||||||||||||||||
| 3088 | qs => { | ||||||||||||||||||||
| 3089 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3090 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3091 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3092 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3093 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3094 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3095 | 'include_defaults' => 'boolean', | ||||||||||||||||||||
| 3096 | 'local' => 'boolean', | ||||||||||||||||||||
| 3097 | # Common API query parameters | ||||||||||||||||||||
| 3098 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3099 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3100 | 'human' => 'boolean', | ||||||||||||||||||||
| 3101 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3102 | 'source' => 'string', | ||||||||||||||||||||
| 3103 | }, | ||||||||||||||||||||
| 3104 | os_version => 1.000000, | ||||||||||||||||||||
| 3105 | }, | ||||||||||||||||||||
| 3106 | |||||||||||||||||||||
| 3107 | 'indices.exists_alias' => { | ||||||||||||||||||||
| 3108 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3109 | method => 'HEAD', | ||||||||||||||||||||
| 3110 | parts => { index => { multi => 1 }, name => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3111 | paths => [ | ||||||||||||||||||||
| 3112 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 3113 | [ { name => 1 }, "_alias", "{name}" ] | ||||||||||||||||||||
| 3114 | ], | ||||||||||||||||||||
| 3115 | qs => { | ||||||||||||||||||||
| 3116 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3117 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3118 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3119 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3120 | 'local' => 'boolean', | ||||||||||||||||||||
| 3121 | # Common API query parameters | ||||||||||||||||||||
| 3122 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3123 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3124 | 'human' => 'boolean', | ||||||||||||||||||||
| 3125 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3126 | 'source' => 'string', | ||||||||||||||||||||
| 3127 | }, | ||||||||||||||||||||
| 3128 | os_version => 1.000000, | ||||||||||||||||||||
| 3129 | }, | ||||||||||||||||||||
| 3130 | |||||||||||||||||||||
| 3131 | 'indices.exists_index_template' => { | ||||||||||||||||||||
| 3132 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/', | ||||||||||||||||||||
| 3133 | method => 'HEAD', | ||||||||||||||||||||
| 3134 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3135 | paths => [[ { name => 1 }, "_index_template", "{name}" ]], | ||||||||||||||||||||
| 3136 | qs => { | ||||||||||||||||||||
| 3137 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3138 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3139 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3140 | 'local' => 'boolean', | ||||||||||||||||||||
| 3141 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3142 | # Common API query parameters | ||||||||||||||||||||
| 3143 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3144 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3145 | 'human' => 'boolean', | ||||||||||||||||||||
| 3146 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3147 | 'source' => 'string', | ||||||||||||||||||||
| 3148 | }, | ||||||||||||||||||||
| 3149 | os_version => 1.000000, | ||||||||||||||||||||
| 3150 | }, | ||||||||||||||||||||
| 3151 | |||||||||||||||||||||
| 3152 | 'indices.exists_template' => { | ||||||||||||||||||||
| 3153 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3154 | method => 'HEAD', | ||||||||||||||||||||
| 3155 | parts => { name => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3156 | paths => [[ { name => 1 }, "_template", "{name}" ]], | ||||||||||||||||||||
| 3157 | qs => { | ||||||||||||||||||||
| 3158 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3159 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3160 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3161 | 'local' => 'boolean', | ||||||||||||||||||||
| 3162 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3163 | # Common API query parameters | ||||||||||||||||||||
| 3164 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3165 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3166 | 'human' => 'boolean', | ||||||||||||||||||||
| 3167 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3168 | 'source' => 'string', | ||||||||||||||||||||
| 3169 | }, | ||||||||||||||||||||
| 3170 | os_version => 1.000000, | ||||||||||||||||||||
| 3171 | }, | ||||||||||||||||||||
| 3172 | |||||||||||||||||||||
| 3173 | 'indices.flush' => { | ||||||||||||||||||||
| 3174 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3175 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 3176 | method => 'detect', | ||||||||||||||||||||
| 3177 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 3178 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3179 | paths => [ | ||||||||||||||||||||
| 3180 | [ { index => 0 }, "{index}", "_flush" ], | ||||||||||||||||||||
| 3181 | [ {}, "_flush" ] | ||||||||||||||||||||
| 3182 | ], | ||||||||||||||||||||
| 3183 | qs => { | ||||||||||||||||||||
| 3184 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3185 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3186 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3187 | 'force' => 'boolean', | ||||||||||||||||||||
| 3188 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3189 | 'wait_if_ongoing' => 'boolean', | ||||||||||||||||||||
| 3190 | # Common API query parameters | ||||||||||||||||||||
| 3191 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3192 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3193 | 'human' => 'boolean', | ||||||||||||||||||||
| 3194 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3195 | 'source' => 'string', | ||||||||||||||||||||
| 3196 | }, | ||||||||||||||||||||
| 3197 | os_version => 1.000000, | ||||||||||||||||||||
| 3198 | }, | ||||||||||||||||||||
| 3199 | |||||||||||||||||||||
| 3200 | 'indices.forcemerge' => { | ||||||||||||||||||||
| 3201 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3202 | method => 'POST', | ||||||||||||||||||||
| 3203 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3204 | paths => [ | ||||||||||||||||||||
| 3205 | [ { index => 0 }, "{index}", "_forcemerge" ], | ||||||||||||||||||||
| 3206 | [ {}, "_forcemerge" ] | ||||||||||||||||||||
| 3207 | ], | ||||||||||||||||||||
| 3208 | qs => { | ||||||||||||||||||||
| 3209 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3210 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3211 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3212 | 'flush' => 'boolean', | ||||||||||||||||||||
| 3213 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3214 | 'max_num_segments' => 'number', | ||||||||||||||||||||
| 3215 | 'only_expunge_deletes' => 'boolean', | ||||||||||||||||||||
| 3216 | 'primary_only' => 'boolean', | ||||||||||||||||||||
| 3217 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 3218 | # Common API query parameters | ||||||||||||||||||||
| 3219 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3220 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3221 | 'human' => 'boolean', | ||||||||||||||||||||
| 3222 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3223 | 'source' => 'string', | ||||||||||||||||||||
| 3224 | }, | ||||||||||||||||||||
| 3225 | os_version => 1.000000, | ||||||||||||||||||||
| 3226 | }, | ||||||||||||||||||||
| 3227 | |||||||||||||||||||||
| 3228 | 'indices.get' => { | ||||||||||||||||||||
| 3229 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/get-index/', | ||||||||||||||||||||
| 3230 | method => 'GET', | ||||||||||||||||||||
| 3231 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3232 | paths => [[ { index => 0 }, "{index}" ]], | ||||||||||||||||||||
| 3233 | qs => { | ||||||||||||||||||||
| 3234 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3235 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3236 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3237 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3238 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3239 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3240 | 'include_defaults' => 'boolean', | ||||||||||||||||||||
| 3241 | 'local' => 'boolean', | ||||||||||||||||||||
| 3242 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3243 | # Common API query parameters | ||||||||||||||||||||
| 3244 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3245 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3246 | 'human' => 'boolean', | ||||||||||||||||||||
| 3247 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3248 | 'source' => 'string', | ||||||||||||||||||||
| 3249 | }, | ||||||||||||||||||||
| 3250 | os_version => 1.000000, | ||||||||||||||||||||
| 3251 | }, | ||||||||||||||||||||
| 3252 | |||||||||||||||||||||
| 3253 | 'indices.get_alias' => { | ||||||||||||||||||||
| 3254 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-alias/', | ||||||||||||||||||||
| 3255 | method => 'GET', | ||||||||||||||||||||
| 3256 | parts => { index => { multi => 1 }, name => { multi => 1 }}, | ||||||||||||||||||||
| 3257 | paths => [ | ||||||||||||||||||||
| 3258 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 3259 | [ { name => 1 }, "_alias", "{name}" ], | ||||||||||||||||||||
| 3260 | [ { index => 0 }, "{index}", "_alias" ], | ||||||||||||||||||||
| 3261 | [ {}, "_alias" ] | ||||||||||||||||||||
| 3262 | ], | ||||||||||||||||||||
| 3263 | qs => { | ||||||||||||||||||||
| 3264 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3265 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3266 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3267 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3268 | 'local' => 'boolean', | ||||||||||||||||||||
| 3269 | # Common API query parameters | ||||||||||||||||||||
| 3270 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3271 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3272 | 'human' => 'boolean', | ||||||||||||||||||||
| 3273 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3274 | 'source' => 'string', | ||||||||||||||||||||
| 3275 | }, | ||||||||||||||||||||
| 3276 | os_version => 1.000000, | ||||||||||||||||||||
| 3277 | }, | ||||||||||||||||||||
| 3278 | |||||||||||||||||||||
| 3279 | 'indices.get_data_stream' => { | ||||||||||||||||||||
| 3280 | doc => 'https://opensearch.org/docs/latest/im-plugin/data-streams/', | ||||||||||||||||||||
| 3281 | method => 'GET', | ||||||||||||||||||||
| 3282 | parts => { name => { multi => 1 }}, | ||||||||||||||||||||
| 3283 | paths => [ | ||||||||||||||||||||
| 3284 | [ { name => 1 }, "_data_stream", "{name}" ], | ||||||||||||||||||||
| 3285 | [ {}, "_data_stream" ] | ||||||||||||||||||||
| 3286 | ], | ||||||||||||||||||||
| 3287 | qs => { | ||||||||||||||||||||
| 3288 | # Common API query parameters | ||||||||||||||||||||
| 3289 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3290 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3291 | 'human' => 'boolean', | ||||||||||||||||||||
| 3292 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3293 | 'source' => 'string', | ||||||||||||||||||||
| 3294 | }, | ||||||||||||||||||||
| 3295 | os_version => 1.000000, | ||||||||||||||||||||
| 3296 | }, | ||||||||||||||||||||
| 3297 | |||||||||||||||||||||
| 3298 | 'indices.get_field_mapping' => { | ||||||||||||||||||||
| 3299 | doc => 'https://opensearch.org/docs/latest/field-types/index/', | ||||||||||||||||||||
| 3300 | method => 'GET', | ||||||||||||||||||||
| 3301 | parts => { fields => { multi => 1, required => 1 }, index => { multi => 1 }}, | ||||||||||||||||||||
| 3302 | paths => [ | ||||||||||||||||||||
| 3303 | [ { index => 0, fields => 3 }, "{index}", "_mapping", "field", "{fields}" ], | ||||||||||||||||||||
| 3304 | [ { fields => 2 }, "_mapping", "field", "{fields}" ] | ||||||||||||||||||||
| 3305 | ], | ||||||||||||||||||||
| 3306 | qs => { | ||||||||||||||||||||
| 3307 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3308 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3309 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3310 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3311 | 'include_defaults' => 'boolean', | ||||||||||||||||||||
| 3312 | 'local' => 'boolean', | ||||||||||||||||||||
| 3313 | # Common API query parameters | ||||||||||||||||||||
| 3314 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3315 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3316 | 'human' => 'boolean', | ||||||||||||||||||||
| 3317 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3318 | 'source' => 'string', | ||||||||||||||||||||
| 3319 | }, | ||||||||||||||||||||
| 3320 | os_version => 1.000000, | ||||||||||||||||||||
| 3321 | }, | ||||||||||||||||||||
| 3322 | |||||||||||||||||||||
| 3323 | 'indices.get_index_template' => { | ||||||||||||||||||||
| 3324 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/', | ||||||||||||||||||||
| 3325 | method => 'GET', | ||||||||||||||||||||
| 3326 | parts => { name => {}}, | ||||||||||||||||||||
| 3327 | paths => [ | ||||||||||||||||||||
| 3328 | [ { name => 1 }, "_index_template", "{name}" ], | ||||||||||||||||||||
| 3329 | [ {}, "_index_template" ] | ||||||||||||||||||||
| 3330 | ], | ||||||||||||||||||||
| 3331 | qs => { | ||||||||||||||||||||
| 3332 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3333 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3334 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3335 | 'local' => 'boolean', | ||||||||||||||||||||
| 3336 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3337 | # Common API query parameters | ||||||||||||||||||||
| 3338 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3339 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3340 | 'human' => 'boolean', | ||||||||||||||||||||
| 3341 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3342 | 'source' => 'string', | ||||||||||||||||||||
| 3343 | }, | ||||||||||||||||||||
| 3344 | os_version => 1.000000, | ||||||||||||||||||||
| 3345 | }, | ||||||||||||||||||||
| 3346 | |||||||||||||||||||||
| 3347 | 'indices.get_mapping' => { | ||||||||||||||||||||
| 3348 | doc => 'https://opensearch.org/docs/latest/field-types/index/#get-a-mapping', | ||||||||||||||||||||
| 3349 | method => 'GET', | ||||||||||||||||||||
| 3350 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3351 | paths => [ | ||||||||||||||||||||
| 3352 | [ { index => 0 }, "{index}", "_mapping" ], | ||||||||||||||||||||
| 3353 | [ {}, "_mapping" ] | ||||||||||||||||||||
| 3354 | ], | ||||||||||||||||||||
| 3355 | qs => { | ||||||||||||||||||||
| 3356 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3357 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3358 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3359 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3360 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3361 | 'index' => 'list', | ||||||||||||||||||||
| 3362 | 'local' => 'boolean', | ||||||||||||||||||||
| 3363 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3364 | # Common API query parameters | ||||||||||||||||||||
| 3365 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3366 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3367 | 'human' => 'boolean', | ||||||||||||||||||||
| 3368 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3369 | 'source' => 'string', | ||||||||||||||||||||
| 3370 | }, | ||||||||||||||||||||
| 3371 | os_version => 1.000000, | ||||||||||||||||||||
| 3372 | }, | ||||||||||||||||||||
| 3373 | |||||||||||||||||||||
| 3374 | 'indices.get_settings' => { | ||||||||||||||||||||
| 3375 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/get-settings/', | ||||||||||||||||||||
| 3376 | method => 'GET', | ||||||||||||||||||||
| 3377 | parts => { index => { multi => 1 }, name => { multi => 1 }}, | ||||||||||||||||||||
| 3378 | paths => [ | ||||||||||||||||||||
| 3379 | [ { index => 0, name => 2 }, "{index}", "_settings", "{name}" ], | ||||||||||||||||||||
| 3380 | [ { name => 1 }, "_settings", "{name}" ], | ||||||||||||||||||||
| 3381 | [ { index => 0 }, "{index}", "_settings" ], | ||||||||||||||||||||
| 3382 | [ {}, "_settings" ] | ||||||||||||||||||||
| 3383 | ], | ||||||||||||||||||||
| 3384 | qs => { | ||||||||||||||||||||
| 3385 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3386 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3387 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3388 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3389 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3390 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3391 | 'include_defaults' => 'boolean', | ||||||||||||||||||||
| 3392 | 'local' => 'boolean', | ||||||||||||||||||||
| 3393 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3394 | # Common API query parameters | ||||||||||||||||||||
| 3395 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3396 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3397 | 'human' => 'boolean', | ||||||||||||||||||||
| 3398 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3399 | 'source' => 'string', | ||||||||||||||||||||
| 3400 | }, | ||||||||||||||||||||
| 3401 | os_version => 1.000000, | ||||||||||||||||||||
| 3402 | }, | ||||||||||||||||||||
| 3403 | |||||||||||||||||||||
| 3404 | 'indices.get_template' => { | ||||||||||||||||||||
| 3405 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3406 | method => 'GET', | ||||||||||||||||||||
| 3407 | parts => { name => { multi => 1 }}, | ||||||||||||||||||||
| 3408 | paths => [ | ||||||||||||||||||||
| 3409 | [ { name => 1 }, "_template", "{name}" ], | ||||||||||||||||||||
| 3410 | [ {}, "_template" ] | ||||||||||||||||||||
| 3411 | ], | ||||||||||||||||||||
| 3412 | qs => { | ||||||||||||||||||||
| 3413 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3414 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3415 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3416 | 'local' => 'boolean', | ||||||||||||||||||||
| 3417 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3418 | # Common API query parameters | ||||||||||||||||||||
| 3419 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3420 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3421 | 'human' => 'boolean', | ||||||||||||||||||||
| 3422 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3423 | 'source' => 'string', | ||||||||||||||||||||
| 3424 | }, | ||||||||||||||||||||
| 3425 | os_version => 1.000000, | ||||||||||||||||||||
| 3426 | }, | ||||||||||||||||||||
| 3427 | |||||||||||||||||||||
| 3428 | 'indices.get_upgrade' => { | ||||||||||||||||||||
| 3429 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3430 | method => 'GET', | ||||||||||||||||||||
| 3431 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3432 | paths => [ | ||||||||||||||||||||
| 3433 | [ { index => 0 }, "{index}", "_upgrade" ], | ||||||||||||||||||||
| 3434 | [ {}, "_upgrade" ] | ||||||||||||||||||||
| 3435 | ], | ||||||||||||||||||||
| 3436 | qs => { | ||||||||||||||||||||
| 3437 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3438 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3439 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3440 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3441 | # Common API query parameters | ||||||||||||||||||||
| 3442 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3443 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3444 | 'human' => 'boolean', | ||||||||||||||||||||
| 3445 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3446 | 'source' => 'string', | ||||||||||||||||||||
| 3447 | }, | ||||||||||||||||||||
| 3448 | os_version => 1.000000, | ||||||||||||||||||||
| 3449 | }, | ||||||||||||||||||||
| 3450 | |||||||||||||||||||||
| 3451 | 'indices.open' => { | ||||||||||||||||||||
| 3452 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/open-index/', | ||||||||||||||||||||
| 3453 | method => 'POST', | ||||||||||||||||||||
| 3454 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3455 | paths => [[ { index => 0 }, "{index}", "_open" ]], | ||||||||||||||||||||
| 3456 | qs => { | ||||||||||||||||||||
| 3457 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3458 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3459 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3460 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3461 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3462 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3463 | 'task_execution_timeout' => 'string', | ||||||||||||||||||||
| 3464 | 'timeout' => 'string', | ||||||||||||||||||||
| 3465 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 3466 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 3467 | # Common API query parameters | ||||||||||||||||||||
| 3468 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3469 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3470 | 'human' => 'boolean', | ||||||||||||||||||||
| 3471 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3472 | 'source' => 'string', | ||||||||||||||||||||
| 3473 | }, | ||||||||||||||||||||
| 3474 | os_version => 1.000000, | ||||||||||||||||||||
| 3475 | }, | ||||||||||||||||||||
| 3476 | |||||||||||||||||||||
| 3477 | 'indices.put_alias' => { | ||||||||||||||||||||
| 3478 | body => {}, | ||||||||||||||||||||
| 3479 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/update-alias/', | ||||||||||||||||||||
| 3480 | method => 'PUT', | ||||||||||||||||||||
| 3481 | parts => { index => { multi => 1 }, name => {}}, | ||||||||||||||||||||
| 3482 | paths => [ | ||||||||||||||||||||
| 3483 | [ { index => 0, name => 2 }, "{index}", "_alias", "{name}" ], | ||||||||||||||||||||
| 3484 | [ { index => 0, name => 2 }, "{index}", "_aliases", "{name}" ], | ||||||||||||||||||||
| 3485 | [ { name => 1 }, "_alias", "{name}" ], | ||||||||||||||||||||
| 3486 | [ { name => 1 }, "_aliases", "{name}" ], | ||||||||||||||||||||
| 3487 | [ { index => 0 }, "{index}", "_alias" ], | ||||||||||||||||||||
| 3488 | [ { index => 0 }, "{index}", "_aliases" ], | ||||||||||||||||||||
| 3489 | [ {}, "_alias" ] | ||||||||||||||||||||
| 3490 | ], | ||||||||||||||||||||
| 3491 | qs => { | ||||||||||||||||||||
| 3492 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3493 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3494 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3495 | 'timeout' => 'string', | ||||||||||||||||||||
| 3496 | # Common API query parameters | ||||||||||||||||||||
| 3497 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3498 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3499 | 'human' => 'boolean', | ||||||||||||||||||||
| 3500 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3501 | 'source' => 'string', | ||||||||||||||||||||
| 3502 | }, | ||||||||||||||||||||
| 3503 | os_version => 1.000000, | ||||||||||||||||||||
| 3504 | }, | ||||||||||||||||||||
| 3505 | |||||||||||||||||||||
| 3506 | 'indices.put_index_template' => { | ||||||||||||||||||||
| 3507 | body => { required => 1 }, | ||||||||||||||||||||
| 3508 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/', | ||||||||||||||||||||
| 3509 | method => 'PUT', | ||||||||||||||||||||
| 3510 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3511 | paths => [[ { name => 1 }, "_index_template", "{name}" ]], | ||||||||||||||||||||
| 3512 | qs => { | ||||||||||||||||||||
| 3513 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3514 | 'cause' => 'string', | ||||||||||||||||||||
| 3515 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3516 | 'create' => 'boolean', | ||||||||||||||||||||
| 3517 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3518 | # Common API query parameters | ||||||||||||||||||||
| 3519 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3520 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3521 | 'human' => 'boolean', | ||||||||||||||||||||
| 3522 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3523 | 'source' => 'string', | ||||||||||||||||||||
| 3524 | }, | ||||||||||||||||||||
| 3525 | os_version => 1.000000, | ||||||||||||||||||||
| 3526 | }, | ||||||||||||||||||||
| 3527 | |||||||||||||||||||||
| 3528 | 'indices.put_mapping' => { | ||||||||||||||||||||
| 3529 | body => { required => 1 }, | ||||||||||||||||||||
| 3530 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/put-mapping/', | ||||||||||||||||||||
| 3531 | method => 'PUT', | ||||||||||||||||||||
| 3532 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3533 | paths => [[ { index => 0 }, "{index}", "_mapping" ]], | ||||||||||||||||||||
| 3534 | qs => { | ||||||||||||||||||||
| 3535 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3536 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3537 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3538 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3539 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3540 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3541 | 'timeout' => 'string', | ||||||||||||||||||||
| 3542 | 'write_index_only' => 'boolean', | ||||||||||||||||||||
| 3543 | # Common API query parameters | ||||||||||||||||||||
| 3544 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3545 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3546 | 'human' => 'boolean', | ||||||||||||||||||||
| 3547 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3548 | 'source' => 'string', | ||||||||||||||||||||
| 3549 | }, | ||||||||||||||||||||
| 3550 | os_version => 1.000000, | ||||||||||||||||||||
| 3551 | }, | ||||||||||||||||||||
| 3552 | |||||||||||||||||||||
| 3553 | 'indices.put_settings' => { | ||||||||||||||||||||
| 3554 | body => {}, | ||||||||||||||||||||
| 3555 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/update-settings/', | ||||||||||||||||||||
| 3556 | method => 'PUT', | ||||||||||||||||||||
| 3557 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3558 | paths => [ | ||||||||||||||||||||
| 3559 | [ { index => 0 }, "{index}", "_settings" ], | ||||||||||||||||||||
| 3560 | [ {}, "_settings" ] | ||||||||||||||||||||
| 3561 | ], | ||||||||||||||||||||
| 3562 | qs => { | ||||||||||||||||||||
| 3563 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3564 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3565 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3566 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3567 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 3568 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3569 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3570 | 'preserve_existing' => 'boolean', | ||||||||||||||||||||
| 3571 | 'timeout' => 'string', | ||||||||||||||||||||
| 3572 | # Common API query parameters | ||||||||||||||||||||
| 3573 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3574 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3575 | 'human' => 'boolean', | ||||||||||||||||||||
| 3576 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3577 | 'source' => 'string', | ||||||||||||||||||||
| 3578 | }, | ||||||||||||||||||||
| 3579 | os_version => 1.000000, | ||||||||||||||||||||
| 3580 | }, | ||||||||||||||||||||
| 3581 | |||||||||||||||||||||
| 3582 | 'indices.put_template' => { | ||||||||||||||||||||
| 3583 | body => { required => 1 }, | ||||||||||||||||||||
| 3584 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-templates/', | ||||||||||||||||||||
| 3585 | method => 'PUT', | ||||||||||||||||||||
| 3586 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3587 | paths => [[ { name => 1 }, "_template", "{name}" ]], | ||||||||||||||||||||
| 3588 | qs => { | ||||||||||||||||||||
| 3589 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3590 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3591 | 'create' => 'boolean', | ||||||||||||||||||||
| 3592 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3593 | 'order' => 'number', | ||||||||||||||||||||
| 3594 | # Common API query parameters | ||||||||||||||||||||
| 3595 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3596 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3597 | 'human' => 'boolean', | ||||||||||||||||||||
| 3598 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3599 | 'source' => 'string', | ||||||||||||||||||||
| 3600 | }, | ||||||||||||||||||||
| 3601 | os_version => 1.000000, | ||||||||||||||||||||
| 3602 | }, | ||||||||||||||||||||
| 3603 | |||||||||||||||||||||
| 3604 | 'indices.recovery' => { | ||||||||||||||||||||
| 3605 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3606 | method => 'GET', | ||||||||||||||||||||
| 3607 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3608 | paths => [ | ||||||||||||||||||||
| 3609 | [ { index => 0 }, "{index}", "_recovery" ], | ||||||||||||||||||||
| 3610 | [ {}, "_recovery" ] | ||||||||||||||||||||
| 3611 | ], | ||||||||||||||||||||
| 3612 | qs => { | ||||||||||||||||||||
| 3613 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3614 | 'active_only' => 'boolean', | ||||||||||||||||||||
| 3615 | 'detailed' => 'boolean', | ||||||||||||||||||||
| 3616 | # Common API query parameters | ||||||||||||||||||||
| 3617 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3618 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3619 | 'human' => 'boolean', | ||||||||||||||||||||
| 3620 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3621 | 'source' => 'string', | ||||||||||||||||||||
| 3622 | }, | ||||||||||||||||||||
| 3623 | os_version => 1.000000, | ||||||||||||||||||||
| 3624 | }, | ||||||||||||||||||||
| 3625 | |||||||||||||||||||||
| 3626 | 'indices.refresh' => { | ||||||||||||||||||||
| 3627 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote-store/index/#refresh-level-and-request-level-durability', | ||||||||||||||||||||
| 3628 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 3629 | method => 'detect', | ||||||||||||||||||||
| 3630 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 3631 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3632 | paths => [ | ||||||||||||||||||||
| 3633 | [ { index => 0 }, "{index}", "_refresh" ], | ||||||||||||||||||||
| 3634 | [ {}, "_refresh" ] | ||||||||||||||||||||
| 3635 | ], | ||||||||||||||||||||
| 3636 | qs => { | ||||||||||||||||||||
| 3637 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3638 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3639 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3640 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3641 | # Common API query parameters | ||||||||||||||||||||
| 3642 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3643 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3644 | 'human' => 'boolean', | ||||||||||||||||||||
| 3645 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3646 | 'source' => 'string', | ||||||||||||||||||||
| 3647 | }, | ||||||||||||||||||||
| 3648 | os_version => 1.000000, | ||||||||||||||||||||
| 3649 | }, | ||||||||||||||||||||
| 3650 | |||||||||||||||||||||
| 3651 | 'indices.resolve_index' => { | ||||||||||||||||||||
| 3652 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3653 | method => 'GET', | ||||||||||||||||||||
| 3654 | parts => { name => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 3655 | paths => [[ { name => 2 }, "_resolve", "index", "{name}" ]], | ||||||||||||||||||||
| 3656 | qs => { | ||||||||||||||||||||
| 3657 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3658 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3659 | # Common API query parameters | ||||||||||||||||||||
| 3660 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3661 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3662 | 'human' => 'boolean', | ||||||||||||||||||||
| 3663 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3664 | 'source' => 'string', | ||||||||||||||||||||
| 3665 | }, | ||||||||||||||||||||
| 3666 | os_version => 1.000000, | ||||||||||||||||||||
| 3667 | }, | ||||||||||||||||||||
| 3668 | |||||||||||||||||||||
| 3669 | 'indices.rollover' => { | ||||||||||||||||||||
| 3670 | body => {}, | ||||||||||||||||||||
| 3671 | doc => 'https://opensearch.org/docs/latest/dashboards/im-dashboards/rollover/', | ||||||||||||||||||||
| 3672 | method => 'POST', | ||||||||||||||||||||
| 3673 | parts => { alias => { required => 1 }, new_index => {}}, | ||||||||||||||||||||
| 3674 | paths => [ | ||||||||||||||||||||
| 3675 | [ { alias => 0, new_index => 2 }, "{alias}", "_rollover", "{new_index}" ], | ||||||||||||||||||||
| 3676 | [ { alias => 0 }, "{alias}", "_rollover" ] | ||||||||||||||||||||
| 3677 | ], | ||||||||||||||||||||
| 3678 | qs => { | ||||||||||||||||||||
| 3679 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3680 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3681 | 'dry_run' => 'boolean', | ||||||||||||||||||||
| 3682 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3683 | 'timeout' => 'string', | ||||||||||||||||||||
| 3684 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 3685 | # Common API query parameters | ||||||||||||||||||||
| 3686 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3687 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3688 | 'human' => 'boolean', | ||||||||||||||||||||
| 3689 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3690 | 'source' => 'string', | ||||||||||||||||||||
| 3691 | }, | ||||||||||||||||||||
| 3692 | os_version => 1.000000, | ||||||||||||||||||||
| 3693 | }, | ||||||||||||||||||||
| 3694 | |||||||||||||||||||||
| 3695 | 'indices.segments' => { | ||||||||||||||||||||
| 3696 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3697 | method => 'GET', | ||||||||||||||||||||
| 3698 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3699 | paths => [ | ||||||||||||||||||||
| 3700 | [ { index => 0 }, "{index}", "_segments" ], | ||||||||||||||||||||
| 3701 | [ {}, "_segments" ] | ||||||||||||||||||||
| 3702 | ], | ||||||||||||||||||||
| 3703 | qs => { | ||||||||||||||||||||
| 3704 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3705 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3706 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3707 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3708 | 'verbose' => 'boolean', | ||||||||||||||||||||
| 3709 | # Common API query parameters | ||||||||||||||||||||
| 3710 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3711 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3712 | 'human' => 'boolean', | ||||||||||||||||||||
| 3713 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3714 | 'source' => 'string', | ||||||||||||||||||||
| 3715 | }, | ||||||||||||||||||||
| 3716 | os_version => 1.000000, | ||||||||||||||||||||
| 3717 | }, | ||||||||||||||||||||
| 3718 | |||||||||||||||||||||
| 3719 | 'indices.shard_stores' => { | ||||||||||||||||||||
| 3720 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3721 | method => 'GET', | ||||||||||||||||||||
| 3722 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3723 | paths => [ | ||||||||||||||||||||
| 3724 | [ { index => 0 }, "{index}", "_shard_stores" ], | ||||||||||||||||||||
| 3725 | [ {}, "_shard_stores" ] | ||||||||||||||||||||
| 3726 | ], | ||||||||||||||||||||
| 3727 | qs => { | ||||||||||||||||||||
| 3728 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3729 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3730 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3731 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3732 | 'status' => 'list', | ||||||||||||||||||||
| 3733 | # Common API query parameters | ||||||||||||||||||||
| 3734 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3735 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3736 | 'human' => 'boolean', | ||||||||||||||||||||
| 3737 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3738 | 'source' => 'string', | ||||||||||||||||||||
| 3739 | }, | ||||||||||||||||||||
| 3740 | os_version => 1.000000, | ||||||||||||||||||||
| 3741 | }, | ||||||||||||||||||||
| 3742 | |||||||||||||||||||||
| 3743 | 'indices.shrink' => { | ||||||||||||||||||||
| 3744 | body => {}, | ||||||||||||||||||||
| 3745 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/shrink-index/', | ||||||||||||||||||||
| 3746 | method => 'POST', | ||||||||||||||||||||
| 3747 | parts => { index => { required => 1 }, target => { required => 1 }}, | ||||||||||||||||||||
| 3748 | paths => [[ { index => 0, target => 2 }, "{index}", "_shrink", "{target}" ]], | ||||||||||||||||||||
| 3749 | qs => { | ||||||||||||||||||||
| 3750 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3751 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3752 | 'copy_settings' => 'boolean', | ||||||||||||||||||||
| 3753 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3754 | 'task_execution_timeout' => 'string', | ||||||||||||||||||||
| 3755 | 'timeout' => 'string', | ||||||||||||||||||||
| 3756 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 3757 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 3758 | # Common API query parameters | ||||||||||||||||||||
| 3759 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3760 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3761 | 'human' => 'boolean', | ||||||||||||||||||||
| 3762 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3763 | 'source' => 'string', | ||||||||||||||||||||
| 3764 | }, | ||||||||||||||||||||
| 3765 | os_version => 1.000000, | ||||||||||||||||||||
| 3766 | }, | ||||||||||||||||||||
| 3767 | |||||||||||||||||||||
| 3768 | 'indices.simulate_index_template' => { | ||||||||||||||||||||
| 3769 | body => {}, | ||||||||||||||||||||
| 3770 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3771 | method => 'POST', | ||||||||||||||||||||
| 3772 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 3773 | paths => [[ { name => 2 }, "_index_template", "_simulate_index", "{name}" ]], | ||||||||||||||||||||
| 3774 | qs => { | ||||||||||||||||||||
| 3775 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3776 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3777 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3778 | # Common API query parameters | ||||||||||||||||||||
| 3779 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3780 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3781 | 'human' => 'boolean', | ||||||||||||||||||||
| 3782 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3783 | 'source' => 'string', | ||||||||||||||||||||
| 3784 | }, | ||||||||||||||||||||
| 3785 | os_version => 1.000000, | ||||||||||||||||||||
| 3786 | }, | ||||||||||||||||||||
| 3787 | |||||||||||||||||||||
| 3788 | 'indices.simulate_template' => { | ||||||||||||||||||||
| 3789 | body => {}, | ||||||||||||||||||||
| 3790 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3791 | method => 'POST', | ||||||||||||||||||||
| 3792 | parts => { name => {}}, | ||||||||||||||||||||
| 3793 | paths => [ | ||||||||||||||||||||
| 3794 | [ { name => 2 }, "_index_template", "_simulate", "{name}" ], | ||||||||||||||||||||
| 3795 | [ {}, "_index_template", "_simulate" ] | ||||||||||||||||||||
| 3796 | ], | ||||||||||||||||||||
| 3797 | qs => { | ||||||||||||||||||||
| 3798 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3799 | 'cause' => 'string', | ||||||||||||||||||||
| 3800 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3801 | 'create' => 'boolean', | ||||||||||||||||||||
| 3802 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3803 | # Common API query parameters | ||||||||||||||||||||
| 3804 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3805 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3806 | 'human' => 'boolean', | ||||||||||||||||||||
| 3807 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3808 | 'source' => 'string', | ||||||||||||||||||||
| 3809 | }, | ||||||||||||||||||||
| 3810 | os_version => 1.000000, | ||||||||||||||||||||
| 3811 | }, | ||||||||||||||||||||
| 3812 | |||||||||||||||||||||
| 3813 | 'indices.split' => { | ||||||||||||||||||||
| 3814 | body => {}, | ||||||||||||||||||||
| 3815 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/split/', | ||||||||||||||||||||
| 3816 | method => 'POST', | ||||||||||||||||||||
| 3817 | parts => { index => { required => 1 }, target => { required => 1 }}, | ||||||||||||||||||||
| 3818 | paths => [[ { index => 0, target => 2 }, "{index}", "_split", "{target}" ]], | ||||||||||||||||||||
| 3819 | qs => { | ||||||||||||||||||||
| 3820 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3821 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3822 | 'copy_settings' => 'boolean', | ||||||||||||||||||||
| 3823 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3824 | 'task_execution_timeout' => 'string', | ||||||||||||||||||||
| 3825 | 'timeout' => 'string', | ||||||||||||||||||||
| 3826 | 'wait_for_active_shards' => 'string', | ||||||||||||||||||||
| 3827 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 3828 | # Common API query parameters | ||||||||||||||||||||
| 3829 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3830 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3831 | 'human' => 'boolean', | ||||||||||||||||||||
| 3832 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3833 | 'source' => 'string', | ||||||||||||||||||||
| 3834 | }, | ||||||||||||||||||||
| 3835 | os_version => 1.000000, | ||||||||||||||||||||
| 3836 | }, | ||||||||||||||||||||
| 3837 | |||||||||||||||||||||
| 3838 | 'indices.stats' => { | ||||||||||||||||||||
| 3839 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3840 | method => 'GET', | ||||||||||||||||||||
| 3841 | parts => { index => { multi => 1 }, metric => { multi => 1 }}, | ||||||||||||||||||||
| 3842 | paths => [ | ||||||||||||||||||||
| 3843 | [ { index => 0, metric => 2 }, "{index}", "_stats", "{metric}" ], | ||||||||||||||||||||
| 3844 | [ { metric => 1 }, "_stats", "{metric}" ], | ||||||||||||||||||||
| 3845 | [ { index => 0 }, "{index}", "_stats" ], | ||||||||||||||||||||
| 3846 | [ {}, "_stats" ] | ||||||||||||||||||||
| 3847 | ], | ||||||||||||||||||||
| 3848 | qs => { | ||||||||||||||||||||
| 3849 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3850 | 'completion_fields' => 'list', | ||||||||||||||||||||
| 3851 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3852 | 'fielddata_fields' => 'list', | ||||||||||||||||||||
| 3853 | 'fields' => 'list', | ||||||||||||||||||||
| 3854 | 'forbid_closed_indices' => 'boolean', | ||||||||||||||||||||
| 3855 | 'groups' => 'list', | ||||||||||||||||||||
| 3856 | 'include_segment_file_sizes' => 'boolean', | ||||||||||||||||||||
| 3857 | 'include_unloaded_segments' => 'boolean', | ||||||||||||||||||||
| 3858 | 'level' => 'string', | ||||||||||||||||||||
| 3859 | # Common API query parameters | ||||||||||||||||||||
| 3860 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3861 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3862 | 'human' => 'boolean', | ||||||||||||||||||||
| 3863 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3864 | 'source' => 'string', | ||||||||||||||||||||
| 3865 | }, | ||||||||||||||||||||
| 3866 | os_version => 1.000000, | ||||||||||||||||||||
| 3867 | }, | ||||||||||||||||||||
| 3868 | |||||||||||||||||||||
| 3869 | 'indices.update_aliases' => { | ||||||||||||||||||||
| 3870 | body => {}, | ||||||||||||||||||||
| 3871 | doc => 'https://opensearch.org/docs/latest/api-reference/index-apis/alias/', | ||||||||||||||||||||
| 3872 | method => 'POST', | ||||||||||||||||||||
| 3873 | parts => {}, | ||||||||||||||||||||
| 3874 | paths => [[ {}, "_aliases" ]], | ||||||||||||||||||||
| 3875 | qs => { | ||||||||||||||||||||
| 3876 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3877 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3878 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3879 | 'timeout' => 'string', | ||||||||||||||||||||
| 3880 | # Common API query parameters | ||||||||||||||||||||
| 3881 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3882 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3883 | 'human' => 'boolean', | ||||||||||||||||||||
| 3884 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3885 | 'source' => 'string', | ||||||||||||||||||||
| 3886 | }, | ||||||||||||||||||||
| 3887 | os_version => 1.000000, | ||||||||||||||||||||
| 3888 | }, | ||||||||||||||||||||
| 3889 | |||||||||||||||||||||
| 3890 | 'indices.upgrade' => { | ||||||||||||||||||||
| 3891 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3892 | method => 'POST', | ||||||||||||||||||||
| 3893 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3894 | paths => [ | ||||||||||||||||||||
| 3895 | [ { index => 0 }, "{index}", "_upgrade" ], | ||||||||||||||||||||
| 3896 | [ {}, "_upgrade" ] | ||||||||||||||||||||
| 3897 | ], | ||||||||||||||||||||
| 3898 | qs => { | ||||||||||||||||||||
| 3899 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3900 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3901 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3902 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3903 | 'only_ancient_segments' => 'boolean', | ||||||||||||||||||||
| 3904 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 3905 | # Common API query parameters | ||||||||||||||||||||
| 3906 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3907 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3908 | 'human' => 'boolean', | ||||||||||||||||||||
| 3909 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3910 | 'source' => 'string', | ||||||||||||||||||||
| 3911 | }, | ||||||||||||||||||||
| 3912 | os_version => 1.000000, | ||||||||||||||||||||
| 3913 | }, | ||||||||||||||||||||
| 3914 | |||||||||||||||||||||
| 3915 | 'indices.validate_query' => { | ||||||||||||||||||||
| 3916 | body => {}, | ||||||||||||||||||||
| 3917 | doc => 'https://docs.opensearch.org/latest/api-reference/index-apis/index/', | ||||||||||||||||||||
| 3918 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 3919 | method => 'detect', | ||||||||||||||||||||
| 3920 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 3921 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 3922 | paths => [ | ||||||||||||||||||||
| 3923 | [ { index => 0 }, "{index}", "_validate", "query" ], | ||||||||||||||||||||
| 3924 | [ {}, "_validate", "query" ] | ||||||||||||||||||||
| 3925 | ], | ||||||||||||||||||||
| 3926 | qs => { | ||||||||||||||||||||
| 3927 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3928 | 'all_shards' => 'boolean', | ||||||||||||||||||||
| 3929 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 3930 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 3931 | 'analyzer' => 'string', | ||||||||||||||||||||
| 3932 | 'default_operator' => 'string', | ||||||||||||||||||||
| 3933 | 'df' => 'string', | ||||||||||||||||||||
| 3934 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 3935 | 'explain' => 'boolean', | ||||||||||||||||||||
| 3936 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 3937 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 3938 | 'q' => 'string', | ||||||||||||||||||||
| 3939 | 'rewrite' => 'boolean', | ||||||||||||||||||||
| 3940 | # Common API query parameters | ||||||||||||||||||||
| 3941 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3942 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3943 | 'human' => 'boolean', | ||||||||||||||||||||
| 3944 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3945 | 'source' => 'string', | ||||||||||||||||||||
| 3946 | }, | ||||||||||||||||||||
| 3947 | os_version => 1.000000, | ||||||||||||||||||||
| 3948 | }, | ||||||||||||||||||||
| 3949 | |||||||||||||||||||||
| 3950 | 'ingest.delete_pipeline' => { | ||||||||||||||||||||
| 3951 | doc => 'https://opensearch.org/docs/latest/api-reference/ingest-apis/delete-ingest/', | ||||||||||||||||||||
| 3952 | method => 'DELETE', | ||||||||||||||||||||
| 3953 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 3954 | paths => [[ { id => 2 }, "_ingest", "pipeline", "{id}" ]], | ||||||||||||||||||||
| 3955 | qs => { | ||||||||||||||||||||
| 3956 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3957 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3958 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3959 | 'timeout' => 'string', | ||||||||||||||||||||
| 3960 | # Common API query parameters | ||||||||||||||||||||
| 3961 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3962 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3963 | 'human' => 'boolean', | ||||||||||||||||||||
| 3964 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3965 | 'source' => 'string', | ||||||||||||||||||||
| 3966 | }, | ||||||||||||||||||||
| 3967 | os_version => 1.000000, | ||||||||||||||||||||
| 3968 | }, | ||||||||||||||||||||
| 3969 | |||||||||||||||||||||
| 3970 | 'ingest.get_pipeline' => { | ||||||||||||||||||||
| 3971 | doc => 'https://opensearch.org/docs/latest/api-reference/ingest-apis/get-ingest/', | ||||||||||||||||||||
| 3972 | method => 'GET', | ||||||||||||||||||||
| 3973 | parts => { id => {}}, | ||||||||||||||||||||
| 3974 | paths => [ | ||||||||||||||||||||
| 3975 | [ { id => 2 }, "_ingest", "pipeline", "{id}" ], | ||||||||||||||||||||
| 3976 | [ {}, "_ingest", "pipeline" ] | ||||||||||||||||||||
| 3977 | ], | ||||||||||||||||||||
| 3978 | qs => { | ||||||||||||||||||||
| 3979 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3980 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 3981 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 3982 | # Common API query parameters | ||||||||||||||||||||
| 3983 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 3984 | 'filter_path' => 'list', | ||||||||||||||||||||
| 3985 | 'human' => 'boolean', | ||||||||||||||||||||
| 3986 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 3987 | 'source' => 'string', | ||||||||||||||||||||
| 3988 | }, | ||||||||||||||||||||
| 3989 | os_version => 1.000000, | ||||||||||||||||||||
| 3990 | }, | ||||||||||||||||||||
| 3991 | |||||||||||||||||||||
| 3992 | 'ingest.processor_grok' => { | ||||||||||||||||||||
| 3993 | doc => 'https://docs.opensearch.org/latest/api-reference/ingest-apis/index/', | ||||||||||||||||||||
| 3994 | method => 'GET', | ||||||||||||||||||||
| 3995 | parts => {}, | ||||||||||||||||||||
| 3996 | paths => [[ {}, "_ingest", "processor", "grok" ]], | ||||||||||||||||||||
| 3997 | qs => { | ||||||||||||||||||||
| 3998 | # Endpoint specific query parameters | ||||||||||||||||||||
| 3999 | 's' => 'boolean', | ||||||||||||||||||||
| 4000 | # Common API query parameters | ||||||||||||||||||||
| 4001 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4002 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4003 | 'human' => 'boolean', | ||||||||||||||||||||
| 4004 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4005 | 'source' => 'string', | ||||||||||||||||||||
| 4006 | }, | ||||||||||||||||||||
| 4007 | os_version => 1.000000, | ||||||||||||||||||||
| 4008 | }, | ||||||||||||||||||||
| 4009 | |||||||||||||||||||||
| 4010 | 'ingest.put_pipeline' => { | ||||||||||||||||||||
| 4011 | body => {}, | ||||||||||||||||||||
| 4012 | doc => 'https://docs.opensearch.org/latest/ingest-pipelines/create-ingest/', | ||||||||||||||||||||
| 4013 | method => 'PUT', | ||||||||||||||||||||
| 4014 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 4015 | paths => [[ { id => 2 }, "_ingest", "pipeline", "{id}" ]], | ||||||||||||||||||||
| 4016 | qs => { | ||||||||||||||||||||
| 4017 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4018 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 4019 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 4020 | 'timeout' => 'string', | ||||||||||||||||||||
| 4021 | # Common API query parameters | ||||||||||||||||||||
| 4022 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4023 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4024 | 'human' => 'boolean', | ||||||||||||||||||||
| 4025 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4026 | 'source' => 'string', | ||||||||||||||||||||
| 4027 | }, | ||||||||||||||||||||
| 4028 | os_version => 1.000000, | ||||||||||||||||||||
| 4029 | }, | ||||||||||||||||||||
| 4030 | |||||||||||||||||||||
| 4031 | 'ingest.simulate' => { | ||||||||||||||||||||
| 4032 | body => { required => 1 }, | ||||||||||||||||||||
| 4033 | doc => 'https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/', | ||||||||||||||||||||
| 4034 | method => 'POST', | ||||||||||||||||||||
| 4035 | parts => { id => {}}, | ||||||||||||||||||||
| 4036 | paths => [ | ||||||||||||||||||||
| 4037 | [ { id => 2 }, "_ingest", "pipeline", "{id}", "_simulate" ], | ||||||||||||||||||||
| 4038 | [ {}, "_ingest", "pipeline", "_simulate" ] | ||||||||||||||||||||
| 4039 | ], | ||||||||||||||||||||
| 4040 | qs => { | ||||||||||||||||||||
| 4041 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4042 | 'verbose' => 'boolean', | ||||||||||||||||||||
| 4043 | # Common API query parameters | ||||||||||||||||||||
| 4044 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4045 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4046 | 'human' => 'boolean', | ||||||||||||||||||||
| 4047 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4048 | 'source' => 'string', | ||||||||||||||||||||
| 4049 | }, | ||||||||||||||||||||
| 4050 | os_version => 1.000000, | ||||||||||||||||||||
| 4051 | }, | ||||||||||||||||||||
| 4052 | |||||||||||||||||||||
| 4053 | 'ingestion.get_state' => { | ||||||||||||||||||||
| 4054 | doc => 'https://docs.opensearch.org/docs/latest/api-reference/document-apis/pull-based-ingestion-management/', | ||||||||||||||||||||
| 4055 | method => 'GET', | ||||||||||||||||||||
| 4056 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 4057 | paths => [[ { index => 0 }, "{index}", "ingestion", "_state" ]], | ||||||||||||||||||||
| 4058 | qs => { | ||||||||||||||||||||
| 4059 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4060 | 'next_token' => 'string', | ||||||||||||||||||||
| 4061 | 'size' => 'number', | ||||||||||||||||||||
| 4062 | 'timeout' => 'string', | ||||||||||||||||||||
| 4063 | # Common API query parameters | ||||||||||||||||||||
| 4064 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4065 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4066 | 'human' => 'boolean', | ||||||||||||||||||||
| 4067 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4068 | 'source' => 'string', | ||||||||||||||||||||
| 4069 | }, | ||||||||||||||||||||
| 4070 | os_version => 3.001000, | ||||||||||||||||||||
| 4071 | }, | ||||||||||||||||||||
| 4072 | |||||||||||||||||||||
| 4073 | 'ingestion.pause' => { | ||||||||||||||||||||
| 4074 | doc => 'https://docs.opensearch.org/docs/latest/api-reference/document-apis/pull-based-ingestion-management/', | ||||||||||||||||||||
| 4075 | method => 'POST', | ||||||||||||||||||||
| 4076 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 4077 | paths => [[ { index => 0 }, "{index}", "ingestion", "_pause" ]], | ||||||||||||||||||||
| 4078 | qs => { | ||||||||||||||||||||
| 4079 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4080 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 4081 | 'timeout' => 'string', | ||||||||||||||||||||
| 4082 | # Common API query parameters | ||||||||||||||||||||
| 4083 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4084 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4085 | 'human' => 'boolean', | ||||||||||||||||||||
| 4086 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4087 | 'source' => 'string', | ||||||||||||||||||||
| 4088 | }, | ||||||||||||||||||||
| 4089 | os_version => 3.001000, | ||||||||||||||||||||
| 4090 | }, | ||||||||||||||||||||
| 4091 | |||||||||||||||||||||
| 4092 | 'ingestion.resume' => { | ||||||||||||||||||||
| 4093 | body => {}, | ||||||||||||||||||||
| 4094 | doc => 'https://docs.opensearch.org/docs/latest/api-reference/document-apis/pull-based-ingestion-management/', | ||||||||||||||||||||
| 4095 | method => 'POST', | ||||||||||||||||||||
| 4096 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 4097 | paths => [[ { index => 0 }, "{index}", "ingestion", "_resume" ]], | ||||||||||||||||||||
| 4098 | qs => { | ||||||||||||||||||||
| 4099 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4100 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 4101 | 'timeout' => 'string', | ||||||||||||||||||||
| 4102 | # Common API query parameters | ||||||||||||||||||||
| 4103 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4104 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4105 | 'human' => 'boolean', | ||||||||||||||||||||
| 4106 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4107 | 'source' => 'string', | ||||||||||||||||||||
| 4108 | }, | ||||||||||||||||||||
| 4109 | os_version => 3.001000, | ||||||||||||||||||||
| 4110 | }, | ||||||||||||||||||||
| 4111 | |||||||||||||||||||||
| 4112 | 'insights.top_queries' => { | ||||||||||||||||||||
| 4113 | doc => 'https://docs.opensearch.org/latest/observing-your-data/query-insights/index/', | ||||||||||||||||||||
| 4114 | method => 'GET', | ||||||||||||||||||||
| 4115 | parts => {}, | ||||||||||||||||||||
| 4116 | paths => [[ {}, "_insights", "top_queries" ]], | ||||||||||||||||||||
| 4117 | qs => { | ||||||||||||||||||||
| 4118 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4119 | 'type' => 'string', | ||||||||||||||||||||
| 4120 | # Common API query parameters | ||||||||||||||||||||
| 4121 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4122 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4123 | 'human' => 'boolean', | ||||||||||||||||||||
| 4124 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4125 | 'source' => 'string', | ||||||||||||||||||||
| 4126 | }, | ||||||||||||||||||||
| 4127 | os_version => 1.000000, | ||||||||||||||||||||
| 4128 | }, | ||||||||||||||||||||
| 4129 | |||||||||||||||||||||
| 4130 | 'ism.add_policy' => { | ||||||||||||||||||||
| 4131 | body => {}, | ||||||||||||||||||||
| 4132 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#add-policy', | ||||||||||||||||||||
| 4133 | method => 'POST', | ||||||||||||||||||||
| 4134 | parts => { index => {}}, | ||||||||||||||||||||
| 4135 | paths => [ | ||||||||||||||||||||
| 4136 | [ { index => 3 }, "_plugins", "_ism", "add", "{index}" ], | ||||||||||||||||||||
| 4137 | [ {}, "_plugins", "_ism", "add" ] | ||||||||||||||||||||
| 4138 | ], | ||||||||||||||||||||
| 4139 | qs => { | ||||||||||||||||||||
| 4140 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4141 | 'index' => 'string', | ||||||||||||||||||||
| 4142 | # Common API query parameters | ||||||||||||||||||||
| 4143 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4144 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4145 | 'human' => 'boolean', | ||||||||||||||||||||
| 4146 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4147 | 'source' => 'string', | ||||||||||||||||||||
| 4148 | }, | ||||||||||||||||||||
| 4149 | os_version => 1.000000, | ||||||||||||||||||||
| 4150 | }, | ||||||||||||||||||||
| 4151 | |||||||||||||||||||||
| 4152 | 'ism.change_policy' => { | ||||||||||||||||||||
| 4153 | body => {}, | ||||||||||||||||||||
| 4154 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#update-managed-index-policy', | ||||||||||||||||||||
| 4155 | method => 'POST', | ||||||||||||||||||||
| 4156 | parts => { index => {}}, | ||||||||||||||||||||
| 4157 | paths => [ | ||||||||||||||||||||
| 4158 | [ { index => 3 }, "_plugins", "_ism", "change_policy", "{index}" ], | ||||||||||||||||||||
| 4159 | [ {}, "_plugins", "_ism", "change_policy" ] | ||||||||||||||||||||
| 4160 | ], | ||||||||||||||||||||
| 4161 | qs => { | ||||||||||||||||||||
| 4162 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4163 | 'index' => 'string', | ||||||||||||||||||||
| 4164 | # Common API query parameters | ||||||||||||||||||||
| 4165 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4166 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4167 | 'human' => 'boolean', | ||||||||||||||||||||
| 4168 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4169 | 'source' => 'string', | ||||||||||||||||||||
| 4170 | }, | ||||||||||||||||||||
| 4171 | os_version => 1.000000, | ||||||||||||||||||||
| 4172 | }, | ||||||||||||||||||||
| 4173 | |||||||||||||||||||||
| 4174 | 'ism.delete_policy' => { | ||||||||||||||||||||
| 4175 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#delete-policy', | ||||||||||||||||||||
| 4176 | method => 'DELETE', | ||||||||||||||||||||
| 4177 | parts => { policy_id => { required => 1 }}, | ||||||||||||||||||||
| 4178 | paths => [[ { policy_id => 3 }, "_plugins", "_ism", "policies", "{policy_id}" ]], | ||||||||||||||||||||
| 4179 | qs => { | ||||||||||||||||||||
| 4180 | # Common API query parameters | ||||||||||||||||||||
| 4181 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4182 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4183 | 'human' => 'boolean', | ||||||||||||||||||||
| 4184 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4185 | 'source' => 'string', | ||||||||||||||||||||
| 4186 | }, | ||||||||||||||||||||
| 4187 | os_version => 1.000000, | ||||||||||||||||||||
| 4188 | }, | ||||||||||||||||||||
| 4189 | |||||||||||||||||||||
| 4190 | 'ism.exists_policy' => { | ||||||||||||||||||||
| 4191 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#get-policy', | ||||||||||||||||||||
| 4192 | method => 'HEAD', | ||||||||||||||||||||
| 4193 | parts => { policy_id => { required => 1 }}, | ||||||||||||||||||||
| 4194 | paths => [[ { policy_id => 3 }, "_plugins", "_ism", "policies", "{policy_id}" ]], | ||||||||||||||||||||
| 4195 | qs => { | ||||||||||||||||||||
| 4196 | # Common API query parameters | ||||||||||||||||||||
| 4197 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4198 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4199 | 'human' => 'boolean', | ||||||||||||||||||||
| 4200 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4201 | 'source' => 'string', | ||||||||||||||||||||
| 4202 | }, | ||||||||||||||||||||
| 4203 | os_version => 1.000000, | ||||||||||||||||||||
| 4204 | }, | ||||||||||||||||||||
| 4205 | |||||||||||||||||||||
| 4206 | 'ism.explain_policy' => { | ||||||||||||||||||||
| 4207 | body => {}, | ||||||||||||||||||||
| 4208 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#explain-index', | ||||||||||||||||||||
| 4209 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 4210 | method => 'detect', | ||||||||||||||||||||
| 4211 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 4212 | parts => { index => {}}, | ||||||||||||||||||||
| 4213 | paths => [ | ||||||||||||||||||||
| 4214 | [ { index => 3 }, "_plugins", "_ism", "explain", "{index}" ], | ||||||||||||||||||||
| 4215 | [ {}, "_plugins", "_ism", "explain" ] | ||||||||||||||||||||
| 4216 | ], | ||||||||||||||||||||
| 4217 | qs => { | ||||||||||||||||||||
| 4218 | # Common API query parameters | ||||||||||||||||||||
| 4219 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4220 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4221 | 'human' => 'boolean', | ||||||||||||||||||||
| 4222 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4223 | 'source' => 'string', | ||||||||||||||||||||
| 4224 | }, | ||||||||||||||||||||
| 4225 | os_version => 1.000000, | ||||||||||||||||||||
| 4226 | }, | ||||||||||||||||||||
| 4227 | |||||||||||||||||||||
| 4228 | 'ism.get_policies' => { | ||||||||||||||||||||
| 4229 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#get-policy', | ||||||||||||||||||||
| 4230 | method => 'GET', | ||||||||||||||||||||
| 4231 | parts => {}, | ||||||||||||||||||||
| 4232 | paths => [[ {}, "_plugins", "_ism", "policies" ]], | ||||||||||||||||||||
| 4233 | qs => { | ||||||||||||||||||||
| 4234 | # Common API query parameters | ||||||||||||||||||||
| 4235 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4236 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4237 | 'human' => 'boolean', | ||||||||||||||||||||
| 4238 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4239 | 'source' => 'string', | ||||||||||||||||||||
| 4240 | }, | ||||||||||||||||||||
| 4241 | os_version => 1.000000, | ||||||||||||||||||||
| 4242 | }, | ||||||||||||||||||||
| 4243 | |||||||||||||||||||||
| 4244 | 'ism.get_policy' => { | ||||||||||||||||||||
| 4245 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#put-policy', | ||||||||||||||||||||
| 4246 | method => 'GET', | ||||||||||||||||||||
| 4247 | parts => { policy_id => { required => 1 }}, | ||||||||||||||||||||
| 4248 | paths => [[ { policy_id => 3 }, "_plugins", "_ism", "policies", "{policy_id}" ]], | ||||||||||||||||||||
| 4249 | qs => { | ||||||||||||||||||||
| 4250 | # Common API query parameters | ||||||||||||||||||||
| 4251 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4252 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4253 | 'human' => 'boolean', | ||||||||||||||||||||
| 4254 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4255 | 'source' => 'string', | ||||||||||||||||||||
| 4256 | }, | ||||||||||||||||||||
| 4257 | os_version => 1.000000, | ||||||||||||||||||||
| 4258 | }, | ||||||||||||||||||||
| 4259 | |||||||||||||||||||||
| 4260 | 'ism.put_policies' => { | ||||||||||||||||||||
| 4261 | body => {}, | ||||||||||||||||||||
| 4262 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#create-policy', | ||||||||||||||||||||
| 4263 | method => 'PUT', | ||||||||||||||||||||
| 4264 | parts => {}, | ||||||||||||||||||||
| 4265 | paths => [[ {}, "_plugins", "_ism", "policies" ]], | ||||||||||||||||||||
| 4266 | qs => { | ||||||||||||||||||||
| 4267 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4268 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 4269 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 4270 | 'policyID' => 'string', | ||||||||||||||||||||
| 4271 | # Common API query parameters | ||||||||||||||||||||
| 4272 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4273 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4274 | 'human' => 'boolean', | ||||||||||||||||||||
| 4275 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4276 | 'source' => 'string', | ||||||||||||||||||||
| 4277 | }, | ||||||||||||||||||||
| 4278 | os_version => 1.000000, | ||||||||||||||||||||
| 4279 | }, | ||||||||||||||||||||
| 4280 | |||||||||||||||||||||
| 4281 | 'ism.put_policy' => { | ||||||||||||||||||||
| 4282 | body => {}, | ||||||||||||||||||||
| 4283 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#create-policy', | ||||||||||||||||||||
| 4284 | method => 'PUT', | ||||||||||||||||||||
| 4285 | parts => { policy_id => { required => 1 }}, | ||||||||||||||||||||
| 4286 | paths => [[ { policy_id => 3 }, "_plugins", "_ism", "policies", "{policy_id}" ]], | ||||||||||||||||||||
| 4287 | qs => { | ||||||||||||||||||||
| 4288 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4289 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 4290 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 4291 | # Common API query parameters | ||||||||||||||||||||
| 4292 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4293 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4294 | 'human' => 'boolean', | ||||||||||||||||||||
| 4295 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4296 | 'source' => 'string', | ||||||||||||||||||||
| 4297 | }, | ||||||||||||||||||||
| 4298 | os_version => 1.000000, | ||||||||||||||||||||
| 4299 | }, | ||||||||||||||||||||
| 4300 | |||||||||||||||||||||
| 4301 | 'ism.refresh_search_analyzers' => { | ||||||||||||||||||||
| 4302 | doc => 'https://opensearch.org/docs/latest/im-plugin/refresh-analyzer/', | ||||||||||||||||||||
| 4303 | method => 'POST', | ||||||||||||||||||||
| 4304 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 4305 | paths => [[ { index => 2 }, "_plugins", "_refresh_search_analyzers", "{index}" ]], | ||||||||||||||||||||
| 4306 | qs => { | ||||||||||||||||||||
| 4307 | # Common API query parameters | ||||||||||||||||||||
| 4308 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4309 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4310 | 'human' => 'boolean', | ||||||||||||||||||||
| 4311 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4312 | 'source' => 'string', | ||||||||||||||||||||
| 4313 | }, | ||||||||||||||||||||
| 4314 | os_version => 1.000000, | ||||||||||||||||||||
| 4315 | }, | ||||||||||||||||||||
| 4316 | |||||||||||||||||||||
| 4317 | 'ism.remove_policy' => { | ||||||||||||||||||||
| 4318 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#remove-policy', | ||||||||||||||||||||
| 4319 | method => 'POST', | ||||||||||||||||||||
| 4320 | parts => { index => {}}, | ||||||||||||||||||||
| 4321 | paths => [ | ||||||||||||||||||||
| 4322 | [ { index => 3 }, "_plugins", "_ism", "remove", "{index}" ], | ||||||||||||||||||||
| 4323 | [ {}, "_plugins", "_ism", "remove" ] | ||||||||||||||||||||
| 4324 | ], | ||||||||||||||||||||
| 4325 | qs => { | ||||||||||||||||||||
| 4326 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4327 | 'index' => 'string', | ||||||||||||||||||||
| 4328 | # Common API query parameters | ||||||||||||||||||||
| 4329 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4330 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4331 | 'human' => 'boolean', | ||||||||||||||||||||
| 4332 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4333 | 'source' => 'string', | ||||||||||||||||||||
| 4334 | }, | ||||||||||||||||||||
| 4335 | os_version => 1.000000, | ||||||||||||||||||||
| 4336 | }, | ||||||||||||||||||||
| 4337 | |||||||||||||||||||||
| 4338 | 'ism.retry_index' => { | ||||||||||||||||||||
| 4339 | body => {}, | ||||||||||||||||||||
| 4340 | doc => 'https://opensearch.org/docs/latest/im-plugin/ism/api/#retry-failed-index', | ||||||||||||||||||||
| 4341 | method => 'POST', | ||||||||||||||||||||
| 4342 | parts => { index => {}}, | ||||||||||||||||||||
| 4343 | paths => [ | ||||||||||||||||||||
| 4344 | [ { index => 3 }, "_plugins", "_ism", "retry", "{index}" ], | ||||||||||||||||||||
| 4345 | [ {}, "_plugins", "_ism", "retry" ] | ||||||||||||||||||||
| 4346 | ], | ||||||||||||||||||||
| 4347 | qs => { | ||||||||||||||||||||
| 4348 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4349 | 'index' => 'string', | ||||||||||||||||||||
| 4350 | # Common API query parameters | ||||||||||||||||||||
| 4351 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4352 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4353 | 'human' => 'boolean', | ||||||||||||||||||||
| 4354 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4355 | 'source' => 'string', | ||||||||||||||||||||
| 4356 | }, | ||||||||||||||||||||
| 4357 | os_version => 1.000000, | ||||||||||||||||||||
| 4358 | }, | ||||||||||||||||||||
| 4359 | |||||||||||||||||||||
| 4360 | 'knn.delete_model' => { | ||||||||||||||||||||
| 4361 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#delete-a-model', | ||||||||||||||||||||
| 4362 | method => 'DELETE', | ||||||||||||||||||||
| 4363 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 4364 | paths => [[ { model_id => 3 }, "_plugins", "_knn", "models", "{model_id}" ]], | ||||||||||||||||||||
| 4365 | qs => { | ||||||||||||||||||||
| 4366 | # Common API query parameters | ||||||||||||||||||||
| 4367 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4368 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4369 | 'human' => 'boolean', | ||||||||||||||||||||
| 4370 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4371 | 'source' => 'string', | ||||||||||||||||||||
| 4372 | }, | ||||||||||||||||||||
| 4373 | os_version => 1.000000, | ||||||||||||||||||||
| 4374 | }, | ||||||||||||||||||||
| 4375 | |||||||||||||||||||||
| 4376 | 'knn.get_model' => { | ||||||||||||||||||||
| 4377 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#get-a-model', | ||||||||||||||||||||
| 4378 | method => 'GET', | ||||||||||||||||||||
| 4379 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 4380 | paths => [[ { model_id => 3 }, "_plugins", "_knn", "models", "{model_id}" ]], | ||||||||||||||||||||
| 4381 | qs => { | ||||||||||||||||||||
| 4382 | # Common API query parameters | ||||||||||||||||||||
| 4383 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4384 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4385 | 'human' => 'boolean', | ||||||||||||||||||||
| 4386 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4387 | 'source' => 'string', | ||||||||||||||||||||
| 4388 | }, | ||||||||||||||||||||
| 4389 | os_version => 1.000000, | ||||||||||||||||||||
| 4390 | }, | ||||||||||||||||||||
| 4391 | |||||||||||||||||||||
| 4392 | 'knn.search_models' => { | ||||||||||||||||||||
| 4393 | body => {}, | ||||||||||||||||||||
| 4394 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#search-for-a-model', | ||||||||||||||||||||
| 4395 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 4396 | method => 'detect', | ||||||||||||||||||||
| 4397 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 4398 | parts => {}, | ||||||||||||||||||||
| 4399 | paths => [[ {}, "_plugins", "_knn", "models", "_search" ]], | ||||||||||||||||||||
| 4400 | qs => { | ||||||||||||||||||||
| 4401 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4402 | '_source' => 'list', | ||||||||||||||||||||
| 4403 | '_source_excludes' => 'list', | ||||||||||||||||||||
| 4404 | '_source_includes' => 'list', | ||||||||||||||||||||
| 4405 | 'allow_no_indices' => 'boolean', | ||||||||||||||||||||
| 4406 | 'allow_partial_search_results' => 'boolean', | ||||||||||||||||||||
| 4407 | 'analyze_wildcard' => 'boolean', | ||||||||||||||||||||
| 4408 | 'analyzer' => 'string', | ||||||||||||||||||||
| 4409 | 'batched_reduce_size' => 'number', | ||||||||||||||||||||
| 4410 | 'ccs_minimize_roundtrips' => 'boolean', | ||||||||||||||||||||
| 4411 | 'default_operator' => 'string', | ||||||||||||||||||||
| 4412 | 'df' => 'string', | ||||||||||||||||||||
| 4413 | 'docvalue_fields' => 'list', | ||||||||||||||||||||
| 4414 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 4415 | 'explain' => 'boolean', | ||||||||||||||||||||
| 4416 | 'from' => 'number', | ||||||||||||||||||||
| 4417 | 'ignore_throttled' => 'boolean', | ||||||||||||||||||||
| 4418 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 4419 | 'lenient' => 'boolean', | ||||||||||||||||||||
| 4420 | 'max_concurrent_shard_requests' => 'number', | ||||||||||||||||||||
| 4421 | 'pre_filter_shard_size' => 'number', | ||||||||||||||||||||
| 4422 | 'preference' => 'string', | ||||||||||||||||||||
| 4423 | 'q' => 'string', | ||||||||||||||||||||
| 4424 | 'request_cache' => 'boolean', | ||||||||||||||||||||
| 4425 | 'rest_total_hits_as_int' => 'boolean', | ||||||||||||||||||||
| 4426 | 'routing' => 'list', | ||||||||||||||||||||
| 4427 | 'scroll' => 'string', | ||||||||||||||||||||
| 4428 | 'search_type' => 'string', | ||||||||||||||||||||
| 4429 | 'seq_no_primary_term' => 'boolean', | ||||||||||||||||||||
| 4430 | 'size' => 'number', | ||||||||||||||||||||
| 4431 | 'sort' => 'list', | ||||||||||||||||||||
| 4432 | 'stats' => 'list', | ||||||||||||||||||||
| 4433 | 'stored_fields' => 'list', | ||||||||||||||||||||
| 4434 | 'suggest_field' => 'string', | ||||||||||||||||||||
| 4435 | 'suggest_mode' => 'string', | ||||||||||||||||||||
| 4436 | 'suggest_size' => 'number', | ||||||||||||||||||||
| 4437 | 'suggest_text' => 'string', | ||||||||||||||||||||
| 4438 | 'terminate_after' => 'number', | ||||||||||||||||||||
| 4439 | 'timeout' => 'string', | ||||||||||||||||||||
| 4440 | 'track_scores' => 'boolean', | ||||||||||||||||||||
| 4441 | 'track_total_hits' => 'boolean', | ||||||||||||||||||||
| 4442 | 'typed_keys' => 'boolean', | ||||||||||||||||||||
| 4443 | 'version' => 'boolean', | ||||||||||||||||||||
| 4444 | # Common API query parameters | ||||||||||||||||||||
| 4445 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4446 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4447 | 'human' => 'boolean', | ||||||||||||||||||||
| 4448 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4449 | 'source' => 'string', | ||||||||||||||||||||
| 4450 | }, | ||||||||||||||||||||
| 4451 | os_version => 1.000000, | ||||||||||||||||||||
| 4452 | }, | ||||||||||||||||||||
| 4453 | |||||||||||||||||||||
| 4454 | 'knn.stats' => { | ||||||||||||||||||||
| 4455 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#stats', | ||||||||||||||||||||
| 4456 | method => 'GET', | ||||||||||||||||||||
| 4457 | parts => { node_id => { multi => 1 }, stat => { multi => 1 }}, | ||||||||||||||||||||
| 4458 | paths => [ | ||||||||||||||||||||
| 4459 | [ { node_id => 2, stat => 4 }, "_plugins", "_knn", "{node_id}", "stats", "{stat}" ], | ||||||||||||||||||||
| 4460 | [ { stat => 3 }, "_plugins", "_knn", "stats", "{stat}" ], | ||||||||||||||||||||
| 4461 | [ { node_id => 2 }, "_plugins", "_knn", "{node_id}", "stats" ], | ||||||||||||||||||||
| 4462 | [ {}, "_plugins", "_knn", "stats" ] | ||||||||||||||||||||
| 4463 | ], | ||||||||||||||||||||
| 4464 | qs => { | ||||||||||||||||||||
| 4465 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4466 | 'timeout' => 'string', | ||||||||||||||||||||
| 4467 | # Common API query parameters | ||||||||||||||||||||
| 4468 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4469 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4470 | 'human' => 'boolean', | ||||||||||||||||||||
| 4471 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4472 | 'source' => 'string', | ||||||||||||||||||||
| 4473 | }, | ||||||||||||||||||||
| 4474 | os_version => 1.000000, | ||||||||||||||||||||
| 4475 | }, | ||||||||||||||||||||
| 4476 | |||||||||||||||||||||
| 4477 | 'knn.train_model' => { | ||||||||||||||||||||
| 4478 | body => {}, | ||||||||||||||||||||
| 4479 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#train-a-model', | ||||||||||||||||||||
| 4480 | method => 'POST', | ||||||||||||||||||||
| 4481 | parts => { model_id => {}}, | ||||||||||||||||||||
| 4482 | paths => [ | ||||||||||||||||||||
| 4483 | [ { model_id => 3 }, "_plugins", "_knn", "models", "{model_id}", "_train" ], | ||||||||||||||||||||
| 4484 | [ {}, "_plugins", "_knn", "models", "_train" ] | ||||||||||||||||||||
| 4485 | ], | ||||||||||||||||||||
| 4486 | qs => { | ||||||||||||||||||||
| 4487 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4488 | 'preference' => 'string', | ||||||||||||||||||||
| 4489 | # Common API query parameters | ||||||||||||||||||||
| 4490 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4491 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4492 | 'human' => 'boolean', | ||||||||||||||||||||
| 4493 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4494 | 'source' => 'string', | ||||||||||||||||||||
| 4495 | }, | ||||||||||||||||||||
| 4496 | os_version => 1.000000, | ||||||||||||||||||||
| 4497 | }, | ||||||||||||||||||||
| 4498 | |||||||||||||||||||||
| 4499 | 'knn.warmup' => { | ||||||||||||||||||||
| 4500 | doc => 'https://docs.opensearch.org/latest/vector-search/api/knn/#warmup-operation', | ||||||||||||||||||||
| 4501 | method => 'GET', | ||||||||||||||||||||
| 4502 | parts => { index => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 4503 | paths => [[ { index => 3 }, "_plugins", "_knn", "warmup", "{index}" ]], | ||||||||||||||||||||
| 4504 | qs => { | ||||||||||||||||||||
| 4505 | # Common API query parameters | ||||||||||||||||||||
| 4506 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4507 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4508 | 'human' => 'boolean', | ||||||||||||||||||||
| 4509 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4510 | 'source' => 'string', | ||||||||||||||||||||
| 4511 | }, | ||||||||||||||||||||
| 4512 | os_version => 1.000000, | ||||||||||||||||||||
| 4513 | }, | ||||||||||||||||||||
| 4514 | |||||||||||||||||||||
| 4515 | 'list.help' => { | ||||||||||||||||||||
| 4516 | doc => 'https://opensearch.org/docs/latest/api-reference/list/index/', | ||||||||||||||||||||
| 4517 | method => 'GET', | ||||||||||||||||||||
| 4518 | parts => {}, | ||||||||||||||||||||
| 4519 | paths => [[ {}, "_list" ]], | ||||||||||||||||||||
| 4520 | qs => { | ||||||||||||||||||||
| 4521 | # Common API query parameters | ||||||||||||||||||||
| 4522 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4523 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4524 | 'human' => 'boolean', | ||||||||||||||||||||
| 4525 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4526 | 'source' => 'string', | ||||||||||||||||||||
| 4527 | }, | ||||||||||||||||||||
| 4528 | os_version => 2.018000, | ||||||||||||||||||||
| 4529 | }, | ||||||||||||||||||||
| 4530 | |||||||||||||||||||||
| 4531 | 'list.indices' => { | ||||||||||||||||||||
| 4532 | doc => 'https://opensearch.org/docs/latest/api-reference/list/list-indices/', | ||||||||||||||||||||
| 4533 | method => 'GET', | ||||||||||||||||||||
| 4534 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 4535 | paths => [ | ||||||||||||||||||||
| 4536 | [ { index => 2 }, "_list", "indices", "{index}" ], | ||||||||||||||||||||
| 4537 | [ {}, "_list", "indices" ] | ||||||||||||||||||||
| 4538 | ], | ||||||||||||||||||||
| 4539 | qs => { | ||||||||||||||||||||
| 4540 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4541 | 'bytes' => 'string', | ||||||||||||||||||||
| 4542 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 4543 | 'expand_wildcards' => 'list', | ||||||||||||||||||||
| 4544 | 'format' => 'string', | ||||||||||||||||||||
| 4545 | 'h' => 'list', | ||||||||||||||||||||
| 4546 | 'health' => 'string', | ||||||||||||||||||||
| 4547 | 'help' => 'boolean', | ||||||||||||||||||||
| 4548 | 'include_unloaded_segments' => 'boolean', | ||||||||||||||||||||
| 4549 | 'local' => 'boolean', | ||||||||||||||||||||
| 4550 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 4551 | 'next_token' => 'string', | ||||||||||||||||||||
| 4552 | 'pri' => 'boolean', | ||||||||||||||||||||
| 4553 | 's' => 'list', | ||||||||||||||||||||
| 4554 | 'size' => 'number', | ||||||||||||||||||||
| 4555 | 'sort' => 'string', | ||||||||||||||||||||
| 4556 | 'time' => 'string', | ||||||||||||||||||||
| 4557 | 'v' => 'boolean', | ||||||||||||||||||||
| 4558 | # Common API query parameters | ||||||||||||||||||||
| 4559 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4560 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4561 | 'human' => 'boolean', | ||||||||||||||||||||
| 4562 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4563 | 'source' => 'string', | ||||||||||||||||||||
| 4564 | }, | ||||||||||||||||||||
| 4565 | os_version => 2.018000, | ||||||||||||||||||||
| 4566 | }, | ||||||||||||||||||||
| 4567 | |||||||||||||||||||||
| 4568 | 'list.shards' => { | ||||||||||||||||||||
| 4569 | doc => 'https://opensearch.org/docs/latest/api-reference/list/list-shards/', | ||||||||||||||||||||
| 4570 | method => 'GET', | ||||||||||||||||||||
| 4571 | parts => { index => { multi => 1 }}, | ||||||||||||||||||||
| 4572 | paths => [ | ||||||||||||||||||||
| 4573 | [ { index => 2 }, "_list", "shards", "{index}" ], | ||||||||||||||||||||
| 4574 | [ {}, "_list", "shards" ] | ||||||||||||||||||||
| 4575 | ], | ||||||||||||||||||||
| 4576 | qs => { | ||||||||||||||||||||
| 4577 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4578 | 'bytes' => 'string', | ||||||||||||||||||||
| 4579 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 4580 | 'format' => 'string', | ||||||||||||||||||||
| 4581 | 'h' => 'list', | ||||||||||||||||||||
| 4582 | 'help' => 'boolean', | ||||||||||||||||||||
| 4583 | 'local' => 'boolean', | ||||||||||||||||||||
| 4584 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 4585 | 'next_token' => 'string', | ||||||||||||||||||||
| 4586 | 's' => 'list', | ||||||||||||||||||||
| 4587 | 'size' => 'number', | ||||||||||||||||||||
| 4588 | 'sort' => 'string', | ||||||||||||||||||||
| 4589 | 'time' => 'string', | ||||||||||||||||||||
| 4590 | 'v' => 'boolean', | ||||||||||||||||||||
| 4591 | # Common API query parameters | ||||||||||||||||||||
| 4592 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4593 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4594 | 'human' => 'boolean', | ||||||||||||||||||||
| 4595 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4596 | 'source' => 'string', | ||||||||||||||||||||
| 4597 | }, | ||||||||||||||||||||
| 4598 | os_version => 2.018000, | ||||||||||||||||||||
| 4599 | }, | ||||||||||||||||||||
| 4600 | |||||||||||||||||||||
| 4601 | 'ltr.add_features_to_set' => { | ||||||||||||||||||||
| 4602 | body => {}, | ||||||||||||||||||||
| 4603 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4604 | method => 'POST', | ||||||||||||||||||||
| 4605 | parts => { name => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4606 | paths => [ | ||||||||||||||||||||
| 4607 | [ { store => 1, name => 3 }, "_ltr", "{store}", "_featureset", "{name}", "_addfeatures" ], | ||||||||||||||||||||
| 4608 | [ { name => 2 }, "_ltr", "_featureset", "{name}", "_addfeatures" ] | ||||||||||||||||||||
| 4609 | ], | ||||||||||||||||||||
| 4610 | qs => { | ||||||||||||||||||||
| 4611 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4612 | 'merge' => 'boolean', | ||||||||||||||||||||
| 4613 | 'routing' => 'string', | ||||||||||||||||||||
| 4614 | 'version' => 'number', | ||||||||||||||||||||
| 4615 | # Common API query parameters | ||||||||||||||||||||
| 4616 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4617 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4618 | 'human' => 'boolean', | ||||||||||||||||||||
| 4619 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4620 | 'source' => 'string', | ||||||||||||||||||||
| 4621 | }, | ||||||||||||||||||||
| 4622 | os_version => 2.019000, | ||||||||||||||||||||
| 4623 | }, | ||||||||||||||||||||
| 4624 | |||||||||||||||||||||
| 4625 | 'ltr.add_features_to_set_by_query' => { | ||||||||||||||||||||
| 4626 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4627 | method => 'POST', | ||||||||||||||||||||
| 4628 | parts => { name => { required => 1 }, query => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4629 | paths => [ | ||||||||||||||||||||
| 4630 | [ { store => 1, name => 3, query => 5 }, "_ltr", "{store}", "_featureset", "{name}", "_addfeatures", "{query}" ], | ||||||||||||||||||||
| 4631 | [ { name => 2, query => 4 }, "_ltr", "_featureset", "{name}", "_addfeatures", "{query}" ] | ||||||||||||||||||||
| 4632 | ], | ||||||||||||||||||||
| 4633 | qs => { | ||||||||||||||||||||
| 4634 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4635 | 'merge' => 'boolean', | ||||||||||||||||||||
| 4636 | 'routing' => 'string', | ||||||||||||||||||||
| 4637 | 'version' => 'number', | ||||||||||||||||||||
| 4638 | # Common API query parameters | ||||||||||||||||||||
| 4639 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4640 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4641 | 'human' => 'boolean', | ||||||||||||||||||||
| 4642 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4643 | 'source' => 'string', | ||||||||||||||||||||
| 4644 | }, | ||||||||||||||||||||
| 4645 | os_version => 2.019000, | ||||||||||||||||||||
| 4646 | }, | ||||||||||||||||||||
| 4647 | |||||||||||||||||||||
| 4648 | 'ltr.cache_stats' => { | ||||||||||||||||||||
| 4649 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4650 | method => 'GET', | ||||||||||||||||||||
| 4651 | parts => {}, | ||||||||||||||||||||
| 4652 | paths => [[ {}, "_ltr", "_cachestats" ]], | ||||||||||||||||||||
| 4653 | qs => { | ||||||||||||||||||||
| 4654 | # Common API query parameters | ||||||||||||||||||||
| 4655 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4656 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4657 | 'human' => 'boolean', | ||||||||||||||||||||
| 4658 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4659 | 'source' => 'string', | ||||||||||||||||||||
| 4660 | }, | ||||||||||||||||||||
| 4661 | os_version => 2.019000, | ||||||||||||||||||||
| 4662 | }, | ||||||||||||||||||||
| 4663 | |||||||||||||||||||||
| 4664 | 'ltr.clear_cache' => { | ||||||||||||||||||||
| 4665 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4666 | method => 'POST', | ||||||||||||||||||||
| 4667 | parts => { store => {}}, | ||||||||||||||||||||
| 4668 | paths => [ | ||||||||||||||||||||
| 4669 | [ { store => 1 }, "_ltr", "{store}", "_clearcache" ], | ||||||||||||||||||||
| 4670 | [ {}, "_ltr", "_clearcache" ] | ||||||||||||||||||||
| 4671 | ], | ||||||||||||||||||||
| 4672 | qs => { | ||||||||||||||||||||
| 4673 | # Common API query parameters | ||||||||||||||||||||
| 4674 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4675 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4676 | 'human' => 'boolean', | ||||||||||||||||||||
| 4677 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4678 | 'source' => 'string', | ||||||||||||||||||||
| 4679 | }, | ||||||||||||||||||||
| 4680 | os_version => 2.019000, | ||||||||||||||||||||
| 4681 | }, | ||||||||||||||||||||
| 4682 | |||||||||||||||||||||
| 4683 | 'ltr.create_default_store' => { | ||||||||||||||||||||
| 4684 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4685 | method => 'PUT', | ||||||||||||||||||||
| 4686 | parts => {}, | ||||||||||||||||||||
| 4687 | paths => [[ {}, "_ltr" ]], | ||||||||||||||||||||
| 4688 | qs => { | ||||||||||||||||||||
| 4689 | # Common API query parameters | ||||||||||||||||||||
| 4690 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4691 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4692 | 'human' => 'boolean', | ||||||||||||||||||||
| 4693 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4694 | 'source' => 'string', | ||||||||||||||||||||
| 4695 | }, | ||||||||||||||||||||
| 4696 | os_version => 2.017001, | ||||||||||||||||||||
| 4697 | }, | ||||||||||||||||||||
| 4698 | |||||||||||||||||||||
| 4699 | 'ltr.create_feature' => { | ||||||||||||||||||||
| 4700 | body => {}, | ||||||||||||||||||||
| 4701 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4702 | method => 'PUT', | ||||||||||||||||||||
| 4703 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4704 | paths => [ | ||||||||||||||||||||
| 4705 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_feature", "{id}" ], | ||||||||||||||||||||
| 4706 | [ { id => 2 }, "_ltr", "_feature", "{id}" ] | ||||||||||||||||||||
| 4707 | ], | ||||||||||||||||||||
| 4708 | qs => { | ||||||||||||||||||||
| 4709 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4710 | 'routing' => 'string', | ||||||||||||||||||||
| 4711 | # Common API query parameters | ||||||||||||||||||||
| 4712 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4713 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4714 | 'human' => 'boolean', | ||||||||||||||||||||
| 4715 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4716 | 'source' => 'string', | ||||||||||||||||||||
| 4717 | }, | ||||||||||||||||||||
| 4718 | os_version => 2.019000, | ||||||||||||||||||||
| 4719 | }, | ||||||||||||||||||||
| 4720 | |||||||||||||||||||||
| 4721 | 'ltr.create_featureset' => { | ||||||||||||||||||||
| 4722 | body => {}, | ||||||||||||||||||||
| 4723 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4724 | method => 'PUT', | ||||||||||||||||||||
| 4725 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4726 | paths => [ | ||||||||||||||||||||
| 4727 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_featureset", "{id}" ], | ||||||||||||||||||||
| 4728 | [ { id => 2 }, "_ltr", "_featureset", "{id}" ] | ||||||||||||||||||||
| 4729 | ], | ||||||||||||||||||||
| 4730 | qs => { | ||||||||||||||||||||
| 4731 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4732 | 'routing' => 'string', | ||||||||||||||||||||
| 4733 | # Common API query parameters | ||||||||||||||||||||
| 4734 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4735 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4736 | 'human' => 'boolean', | ||||||||||||||||||||
| 4737 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4738 | 'source' => 'string', | ||||||||||||||||||||
| 4739 | }, | ||||||||||||||||||||
| 4740 | os_version => 2.019000, | ||||||||||||||||||||
| 4741 | }, | ||||||||||||||||||||
| 4742 | |||||||||||||||||||||
| 4743 | 'ltr.create_model' => { | ||||||||||||||||||||
| 4744 | body => {}, | ||||||||||||||||||||
| 4745 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4746 | method => 'PUT', | ||||||||||||||||||||
| 4747 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4748 | paths => [ | ||||||||||||||||||||
| 4749 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_model", "{id}" ], | ||||||||||||||||||||
| 4750 | [ { id => 2 }, "_ltr", "_model", "{id}" ] | ||||||||||||||||||||
| 4751 | ], | ||||||||||||||||||||
| 4752 | qs => { | ||||||||||||||||||||
| 4753 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4754 | 'routing' => 'string', | ||||||||||||||||||||
| 4755 | # Common API query parameters | ||||||||||||||||||||
| 4756 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4757 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4758 | 'human' => 'boolean', | ||||||||||||||||||||
| 4759 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4760 | 'source' => 'string', | ||||||||||||||||||||
| 4761 | }, | ||||||||||||||||||||
| 4762 | os_version => 2.019000, | ||||||||||||||||||||
| 4763 | }, | ||||||||||||||||||||
| 4764 | |||||||||||||||||||||
| 4765 | 'ltr.create_model_from_set' => { | ||||||||||||||||||||
| 4766 | body => {}, | ||||||||||||||||||||
| 4767 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4768 | method => 'POST', | ||||||||||||||||||||
| 4769 | parts => { name => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4770 | paths => [ | ||||||||||||||||||||
| 4771 | [ { store => 1, name => 3 }, "_ltr", "{store}", "_featureset", "{name}", "_createmodel" ], | ||||||||||||||||||||
| 4772 | [ { name => 2 }, "_ltr", "_featureset", "{name}", "_createmodel" ] | ||||||||||||||||||||
| 4773 | ], | ||||||||||||||||||||
| 4774 | qs => { | ||||||||||||||||||||
| 4775 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4776 | 'routing' => 'string', | ||||||||||||||||||||
| 4777 | # Common API query parameters | ||||||||||||||||||||
| 4778 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4779 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4780 | 'human' => 'boolean', | ||||||||||||||||||||
| 4781 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4782 | 'source' => 'string', | ||||||||||||||||||||
| 4783 | }, | ||||||||||||||||||||
| 4784 | os_version => 2.019000, | ||||||||||||||||||||
| 4785 | }, | ||||||||||||||||||||
| 4786 | |||||||||||||||||||||
| 4787 | 'ltr.create_store' => { | ||||||||||||||||||||
| 4788 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4789 | method => 'PUT', | ||||||||||||||||||||
| 4790 | parts => { store => { required => 1 }}, | ||||||||||||||||||||
| 4791 | paths => [[ { store => 1 }, "_ltr", "{store}" ]], | ||||||||||||||||||||
| 4792 | qs => { | ||||||||||||||||||||
| 4793 | # Common API query parameters | ||||||||||||||||||||
| 4794 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4795 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4796 | 'human' => 'boolean', | ||||||||||||||||||||
| 4797 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4798 | 'source' => 'string', | ||||||||||||||||||||
| 4799 | }, | ||||||||||||||||||||
| 4800 | os_version => 2.017001, | ||||||||||||||||||||
| 4801 | }, | ||||||||||||||||||||
| 4802 | |||||||||||||||||||||
| 4803 | 'ltr.delete_default_store' => { | ||||||||||||||||||||
| 4804 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4805 | method => 'DELETE', | ||||||||||||||||||||
| 4806 | parts => {}, | ||||||||||||||||||||
| 4807 | paths => [[ {}, "_ltr" ]], | ||||||||||||||||||||
| 4808 | qs => { | ||||||||||||||||||||
| 4809 | # Common API query parameters | ||||||||||||||||||||
| 4810 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4811 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4812 | 'human' => 'boolean', | ||||||||||||||||||||
| 4813 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4814 | 'source' => 'string', | ||||||||||||||||||||
| 4815 | }, | ||||||||||||||||||||
| 4816 | os_version => 2.017001, | ||||||||||||||||||||
| 4817 | }, | ||||||||||||||||||||
| 4818 | |||||||||||||||||||||
| 4819 | 'ltr.delete_feature' => { | ||||||||||||||||||||
| 4820 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4821 | method => 'DELETE', | ||||||||||||||||||||
| 4822 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4823 | paths => [ | ||||||||||||||||||||
| 4824 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_feature", "{id}" ], | ||||||||||||||||||||
| 4825 | [ { id => 2 }, "_ltr", "_feature", "{id}" ] | ||||||||||||||||||||
| 4826 | ], | ||||||||||||||||||||
| 4827 | qs => { | ||||||||||||||||||||
| 4828 | # Common API query parameters | ||||||||||||||||||||
| 4829 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4830 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4831 | 'human' => 'boolean', | ||||||||||||||||||||
| 4832 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4833 | 'source' => 'string', | ||||||||||||||||||||
| 4834 | }, | ||||||||||||||||||||
| 4835 | os_version => 2.019000, | ||||||||||||||||||||
| 4836 | }, | ||||||||||||||||||||
| 4837 | |||||||||||||||||||||
| 4838 | 'ltr.delete_featureset' => { | ||||||||||||||||||||
| 4839 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4840 | method => 'DELETE', | ||||||||||||||||||||
| 4841 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4842 | paths => [ | ||||||||||||||||||||
| 4843 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_featureset", "{id}" ], | ||||||||||||||||||||
| 4844 | [ { id => 2 }, "_ltr", "_featureset", "{id}" ] | ||||||||||||||||||||
| 4845 | ], | ||||||||||||||||||||
| 4846 | qs => { | ||||||||||||||||||||
| 4847 | # Common API query parameters | ||||||||||||||||||||
| 4848 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4849 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4850 | 'human' => 'boolean', | ||||||||||||||||||||
| 4851 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4852 | 'source' => 'string', | ||||||||||||||||||||
| 4853 | }, | ||||||||||||||||||||
| 4854 | os_version => 2.019000, | ||||||||||||||||||||
| 4855 | }, | ||||||||||||||||||||
| 4856 | |||||||||||||||||||||
| 4857 | 'ltr.delete_model' => { | ||||||||||||||||||||
| 4858 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4859 | method => 'DELETE', | ||||||||||||||||||||
| 4860 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4861 | paths => [ | ||||||||||||||||||||
| 4862 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_model", "{id}" ], | ||||||||||||||||||||
| 4863 | [ { id => 2 }, "_ltr", "_model", "{id}" ] | ||||||||||||||||||||
| 4864 | ], | ||||||||||||||||||||
| 4865 | qs => { | ||||||||||||||||||||
| 4866 | # Common API query parameters | ||||||||||||||||||||
| 4867 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4868 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4869 | 'human' => 'boolean', | ||||||||||||||||||||
| 4870 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4871 | 'source' => 'string', | ||||||||||||||||||||
| 4872 | }, | ||||||||||||||||||||
| 4873 | os_version => 2.019000, | ||||||||||||||||||||
| 4874 | }, | ||||||||||||||||||||
| 4875 | |||||||||||||||||||||
| 4876 | 'ltr.delete_store' => { | ||||||||||||||||||||
| 4877 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4878 | method => 'DELETE', | ||||||||||||||||||||
| 4879 | parts => { store => { required => 1 }}, | ||||||||||||||||||||
| 4880 | paths => [[ { store => 1 }, "_ltr", "{store}" ]], | ||||||||||||||||||||
| 4881 | qs => { | ||||||||||||||||||||
| 4882 | # Common API query parameters | ||||||||||||||||||||
| 4883 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4884 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4885 | 'human' => 'boolean', | ||||||||||||||||||||
| 4886 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4887 | 'source' => 'string', | ||||||||||||||||||||
| 4888 | }, | ||||||||||||||||||||
| 4889 | os_version => 2.017001, | ||||||||||||||||||||
| 4890 | }, | ||||||||||||||||||||
| 4891 | |||||||||||||||||||||
| 4892 | 'ltr.get_feature' => { | ||||||||||||||||||||
| 4893 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4894 | method => 'GET', | ||||||||||||||||||||
| 4895 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4896 | paths => [ | ||||||||||||||||||||
| 4897 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_feature", "{id}" ], | ||||||||||||||||||||
| 4898 | [ { id => 2 }, "_ltr", "_feature", "{id}" ] | ||||||||||||||||||||
| 4899 | ], | ||||||||||||||||||||
| 4900 | qs => { | ||||||||||||||||||||
| 4901 | # Common API query parameters | ||||||||||||||||||||
| 4902 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4903 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4904 | 'human' => 'boolean', | ||||||||||||||||||||
| 4905 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4906 | 'source' => 'string', | ||||||||||||||||||||
| 4907 | }, | ||||||||||||||||||||
| 4908 | os_version => 2.019000, | ||||||||||||||||||||
| 4909 | }, | ||||||||||||||||||||
| 4910 | |||||||||||||||||||||
| 4911 | 'ltr.get_featureset' => { | ||||||||||||||||||||
| 4912 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4913 | method => 'GET', | ||||||||||||||||||||
| 4914 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4915 | paths => [ | ||||||||||||||||||||
| 4916 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_featureset", "{id}" ], | ||||||||||||||||||||
| 4917 | [ { id => 2 }, "_ltr", "_featureset", "{id}" ] | ||||||||||||||||||||
| 4918 | ], | ||||||||||||||||||||
| 4919 | qs => { | ||||||||||||||||||||
| 4920 | # Common API query parameters | ||||||||||||||||||||
| 4921 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4922 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4923 | 'human' => 'boolean', | ||||||||||||||||||||
| 4924 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4925 | 'source' => 'string', | ||||||||||||||||||||
| 4926 | }, | ||||||||||||||||||||
| 4927 | os_version => 2.019000, | ||||||||||||||||||||
| 4928 | }, | ||||||||||||||||||||
| 4929 | |||||||||||||||||||||
| 4930 | 'ltr.get_model' => { | ||||||||||||||||||||
| 4931 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4932 | method => 'GET', | ||||||||||||||||||||
| 4933 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 4934 | paths => [ | ||||||||||||||||||||
| 4935 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_model", "{id}" ], | ||||||||||||||||||||
| 4936 | [ { id => 2 }, "_ltr", "_model", "{id}" ] | ||||||||||||||||||||
| 4937 | ], | ||||||||||||||||||||
| 4938 | qs => { | ||||||||||||||||||||
| 4939 | # Common API query parameters | ||||||||||||||||||||
| 4940 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4941 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4942 | 'human' => 'boolean', | ||||||||||||||||||||
| 4943 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4944 | 'source' => 'string', | ||||||||||||||||||||
| 4945 | }, | ||||||||||||||||||||
| 4946 | os_version => 2.019000, | ||||||||||||||||||||
| 4947 | }, | ||||||||||||||||||||
| 4948 | |||||||||||||||||||||
| 4949 | 'ltr.get_store' => { | ||||||||||||||||||||
| 4950 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4951 | method => 'GET', | ||||||||||||||||||||
| 4952 | parts => { store => { required => 1 }}, | ||||||||||||||||||||
| 4953 | paths => [[ { store => 1 }, "_ltr", "{store}" ]], | ||||||||||||||||||||
| 4954 | qs => { | ||||||||||||||||||||
| 4955 | # Common API query parameters | ||||||||||||||||||||
| 4956 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4957 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4958 | 'human' => 'boolean', | ||||||||||||||||||||
| 4959 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4960 | 'source' => 'string', | ||||||||||||||||||||
| 4961 | }, | ||||||||||||||||||||
| 4962 | os_version => 2.017001, | ||||||||||||||||||||
| 4963 | }, | ||||||||||||||||||||
| 4964 | |||||||||||||||||||||
| 4965 | 'ltr.list_stores' => { | ||||||||||||||||||||
| 4966 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4967 | method => 'GET', | ||||||||||||||||||||
| 4968 | parts => {}, | ||||||||||||||||||||
| 4969 | paths => [[ {}, "_ltr" ]], | ||||||||||||||||||||
| 4970 | qs => { | ||||||||||||||||||||
| 4971 | # Common API query parameters | ||||||||||||||||||||
| 4972 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4973 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4974 | 'human' => 'boolean', | ||||||||||||||||||||
| 4975 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4976 | 'source' => 'string', | ||||||||||||||||||||
| 4977 | }, | ||||||||||||||||||||
| 4978 | os_version => 2.017001, | ||||||||||||||||||||
| 4979 | }, | ||||||||||||||||||||
| 4980 | |||||||||||||||||||||
| 4981 | 'ltr.search_features' => { | ||||||||||||||||||||
| 4982 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 4983 | method => 'GET', | ||||||||||||||||||||
| 4984 | parts => { store => {}}, | ||||||||||||||||||||
| 4985 | paths => [ | ||||||||||||||||||||
| 4986 | [ { store => 1 }, "_ltr", "{store}", "_feature" ], | ||||||||||||||||||||
| 4987 | [ {}, "_ltr", "_feature" ] | ||||||||||||||||||||
| 4988 | ], | ||||||||||||||||||||
| 4989 | qs => { | ||||||||||||||||||||
| 4990 | # Endpoint specific query parameters | ||||||||||||||||||||
| 4991 | 'from' => 'number', | ||||||||||||||||||||
| 4992 | 'prefix' => 'string', | ||||||||||||||||||||
| 4993 | 'size' => 'number', | ||||||||||||||||||||
| 4994 | # Common API query parameters | ||||||||||||||||||||
| 4995 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 4996 | 'filter_path' => 'list', | ||||||||||||||||||||
| 4997 | 'human' => 'boolean', | ||||||||||||||||||||
| 4998 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 4999 | 'source' => 'string', | ||||||||||||||||||||
| 5000 | }, | ||||||||||||||||||||
| 5001 | os_version => 2.019000, | ||||||||||||||||||||
| 5002 | }, | ||||||||||||||||||||
| 5003 | |||||||||||||||||||||
| 5004 | 'ltr.search_featuresets' => { | ||||||||||||||||||||
| 5005 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 5006 | method => 'GET', | ||||||||||||||||||||
| 5007 | parts => { store => {}}, | ||||||||||||||||||||
| 5008 | paths => [ | ||||||||||||||||||||
| 5009 | [ { store => 1 }, "_ltr", "{store}", "_featureset" ], | ||||||||||||||||||||
| 5010 | [ {}, "_ltr", "_featureset" ] | ||||||||||||||||||||
| 5011 | ], | ||||||||||||||||||||
| 5012 | qs => { | ||||||||||||||||||||
| 5013 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5014 | 'from' => 'number', | ||||||||||||||||||||
| 5015 | 'prefix' => 'string', | ||||||||||||||||||||
| 5016 | 'size' => 'number', | ||||||||||||||||||||
| 5017 | # Common API query parameters | ||||||||||||||||||||
| 5018 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5019 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5020 | 'human' => 'boolean', | ||||||||||||||||||||
| 5021 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5022 | 'source' => 'string', | ||||||||||||||||||||
| 5023 | }, | ||||||||||||||||||||
| 5024 | os_version => 2.019000, | ||||||||||||||||||||
| 5025 | }, | ||||||||||||||||||||
| 5026 | |||||||||||||||||||||
| 5027 | 'ltr.search_models' => { | ||||||||||||||||||||
| 5028 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 5029 | method => 'GET', | ||||||||||||||||||||
| 5030 | parts => { store => {}}, | ||||||||||||||||||||
| 5031 | paths => [ | ||||||||||||||||||||
| 5032 | [ { store => 1 }, "_ltr", "{store}", "_model" ], | ||||||||||||||||||||
| 5033 | [ {}, "_ltr", "_model" ] | ||||||||||||||||||||
| 5034 | ], | ||||||||||||||||||||
| 5035 | qs => { | ||||||||||||||||||||
| 5036 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5037 | 'from' => 'number', | ||||||||||||||||||||
| 5038 | 'prefix' => 'string', | ||||||||||||||||||||
| 5039 | 'size' => 'number', | ||||||||||||||||||||
| 5040 | # Common API query parameters | ||||||||||||||||||||
| 5041 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5042 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5043 | 'human' => 'boolean', | ||||||||||||||||||||
| 5044 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5045 | 'source' => 'string', | ||||||||||||||||||||
| 5046 | }, | ||||||||||||||||||||
| 5047 | os_version => 2.019000, | ||||||||||||||||||||
| 5048 | }, | ||||||||||||||||||||
| 5049 | |||||||||||||||||||||
| 5050 | 'ltr.stats' => { | ||||||||||||||||||||
| 5051 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 5052 | method => 'GET', | ||||||||||||||||||||
| 5053 | parts => { node_id => { multi => 1 }, stat => { multi => 1 }}, | ||||||||||||||||||||
| 5054 | paths => [ | ||||||||||||||||||||
| 5055 | [ { node_id => 2, stat => 4 }, "_plugins", "_ltr", "{node_id}", "stats", "{stat}" ], | ||||||||||||||||||||
| 5056 | [ { stat => 3 }, "_plugins", "_ltr", "stats", "{stat}" ], | ||||||||||||||||||||
| 5057 | [ { node_id => 2 }, "_plugins", "_ltr", "{node_id}", "stats" ], | ||||||||||||||||||||
| 5058 | [ {}, "_plugins", "_ltr", "stats" ] | ||||||||||||||||||||
| 5059 | ], | ||||||||||||||||||||
| 5060 | qs => { | ||||||||||||||||||||
| 5061 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5062 | 'timeout' => 'string', | ||||||||||||||||||||
| 5063 | # Common API query parameters | ||||||||||||||||||||
| 5064 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5065 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5066 | 'human' => 'boolean', | ||||||||||||||||||||
| 5067 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5068 | 'source' => 'string', | ||||||||||||||||||||
| 5069 | }, | ||||||||||||||||||||
| 5070 | os_version => 2.019000, | ||||||||||||||||||||
| 5071 | }, | ||||||||||||||||||||
| 5072 | |||||||||||||||||||||
| 5073 | 'ltr.update_feature' => { | ||||||||||||||||||||
| 5074 | body => {}, | ||||||||||||||||||||
| 5075 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 5076 | method => 'POST', | ||||||||||||||||||||
| 5077 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 5078 | paths => [ | ||||||||||||||||||||
| 5079 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_feature", "{id}" ], | ||||||||||||||||||||
| 5080 | [ { id => 2 }, "_ltr", "_feature", "{id}" ] | ||||||||||||||||||||
| 5081 | ], | ||||||||||||||||||||
| 5082 | qs => { | ||||||||||||||||||||
| 5083 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5084 | 'routing' => 'string', | ||||||||||||||||||||
| 5085 | # Common API query parameters | ||||||||||||||||||||
| 5086 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5087 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5088 | 'human' => 'boolean', | ||||||||||||||||||||
| 5089 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5090 | 'source' => 'string', | ||||||||||||||||||||
| 5091 | }, | ||||||||||||||||||||
| 5092 | os_version => 2.019000, | ||||||||||||||||||||
| 5093 | }, | ||||||||||||||||||||
| 5094 | |||||||||||||||||||||
| 5095 | 'ltr.update_featureset' => { | ||||||||||||||||||||
| 5096 | body => {}, | ||||||||||||||||||||
| 5097 | doc => 'https://docs.opensearch.org/latest/search-plugins/ltr/index/', | ||||||||||||||||||||
| 5098 | method => 'POST', | ||||||||||||||||||||
| 5099 | parts => { id => { required => 1 }, store => {}}, | ||||||||||||||||||||
| 5100 | paths => [ | ||||||||||||||||||||
| 5101 | [ { store => 1, id => 3 }, "_ltr", "{store}", "_featureset", "{id}" ], | ||||||||||||||||||||
| 5102 | [ { id => 2 }, "_ltr", "_featureset", "{id}" ] | ||||||||||||||||||||
| 5103 | ], | ||||||||||||||||||||
| 5104 | qs => { | ||||||||||||||||||||
| 5105 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5106 | 'routing' => 'string', | ||||||||||||||||||||
| 5107 | # Common API query parameters | ||||||||||||||||||||
| 5108 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5109 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5110 | 'human' => 'boolean', | ||||||||||||||||||||
| 5111 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5112 | 'source' => 'string', | ||||||||||||||||||||
| 5113 | }, | ||||||||||||||||||||
| 5114 | os_version => 2.019000, | ||||||||||||||||||||
| 5115 | }, | ||||||||||||||||||||
| 5116 | |||||||||||||||||||||
| 5117 | 'ml.add_agentic_memory' => { | ||||||||||||||||||||
| 5118 | body => {}, | ||||||||||||||||||||
| 5119 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5120 | method => 'POST', | ||||||||||||||||||||
| 5121 | parts => { memory_container_id => { required => 1 }}, | ||||||||||||||||||||
| 5122 | paths => [[ { memory_container_id => 3 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories" ]], | ||||||||||||||||||||
| 5123 | qs => { | ||||||||||||||||||||
| 5124 | # Common API query parameters | ||||||||||||||||||||
| 5125 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5126 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5127 | 'human' => 'boolean', | ||||||||||||||||||||
| 5128 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5129 | 'source' => 'string', | ||||||||||||||||||||
| 5130 | }, | ||||||||||||||||||||
| 5131 | os_version => 3.003000, | ||||||||||||||||||||
| 5132 | }, | ||||||||||||||||||||
| 5133 | |||||||||||||||||||||
| 5134 | 'ml.chunk_model' => { | ||||||||||||||||||||
| 5135 | body => {}, | ||||||||||||||||||||
| 5136 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5137 | method => 'POST', | ||||||||||||||||||||
| 5138 | parts => { chunk_number => { required => 1 }, model_id => { required => 1 }}, | ||||||||||||||||||||
| 5139 | paths => [[ { model_id => 3, chunk_number => 5 }, "_plugins", "_ml", "models", "{model_id}", "chunk", "{chunk_number}" ]], | ||||||||||||||||||||
| 5140 | qs => { | ||||||||||||||||||||
| 5141 | # Common API query parameters | ||||||||||||||||||||
| 5142 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5143 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5144 | 'human' => 'boolean', | ||||||||||||||||||||
| 5145 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5146 | 'source' => 'string', | ||||||||||||||||||||
| 5147 | }, | ||||||||||||||||||||
| 5148 | os_version => 1.000000, | ||||||||||||||||||||
| 5149 | }, | ||||||||||||||||||||
| 5150 | |||||||||||||||||||||
| 5151 | 'ml.create_connector' => { | ||||||||||||||||||||
| 5152 | body => {}, | ||||||||||||||||||||
| 5153 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5154 | method => 'POST', | ||||||||||||||||||||
| 5155 | parts => {}, | ||||||||||||||||||||
| 5156 | paths => [[ {}, "_plugins", "_ml", "connectors", "_create" ]], | ||||||||||||||||||||
| 5157 | qs => { | ||||||||||||||||||||
| 5158 | # Common API query parameters | ||||||||||||||||||||
| 5159 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5160 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5161 | 'human' => 'boolean', | ||||||||||||||||||||
| 5162 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5163 | 'source' => 'string', | ||||||||||||||||||||
| 5164 | }, | ||||||||||||||||||||
| 5165 | os_version => 1.000000, | ||||||||||||||||||||
| 5166 | }, | ||||||||||||||||||||
| 5167 | |||||||||||||||||||||
| 5168 | 'ml.create_controller' => { | ||||||||||||||||||||
| 5169 | body => {}, | ||||||||||||||||||||
| 5170 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5171 | method => 'POST', | ||||||||||||||||||||
| 5172 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5173 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "controllers", "{model_id}" ]], | ||||||||||||||||||||
| 5174 | qs => { | ||||||||||||||||||||
| 5175 | # Common API query parameters | ||||||||||||||||||||
| 5176 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5177 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5178 | 'human' => 'boolean', | ||||||||||||||||||||
| 5179 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5180 | 'source' => 'string', | ||||||||||||||||||||
| 5181 | }, | ||||||||||||||||||||
| 5182 | os_version => 2.012000, | ||||||||||||||||||||
| 5183 | }, | ||||||||||||||||||||
| 5184 | |||||||||||||||||||||
| 5185 | 'ml.create_memory' => { | ||||||||||||||||||||
| 5186 | body => {}, | ||||||||||||||||||||
| 5187 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5188 | method => 'POST', | ||||||||||||||||||||
| 5189 | parts => {}, | ||||||||||||||||||||
| 5190 | paths => [[ {}, "_plugins", "_ml", "memory" ]], | ||||||||||||||||||||
| 5191 | qs => { | ||||||||||||||||||||
| 5192 | # Common API query parameters | ||||||||||||||||||||
| 5193 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5194 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5195 | 'human' => 'boolean', | ||||||||||||||||||||
| 5196 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5197 | 'source' => 'string', | ||||||||||||||||||||
| 5198 | }, | ||||||||||||||||||||
| 5199 | os_version => 2.012000, | ||||||||||||||||||||
| 5200 | }, | ||||||||||||||||||||
| 5201 | |||||||||||||||||||||
| 5202 | 'ml.create_memory_container' => { | ||||||||||||||||||||
| 5203 | body => {}, | ||||||||||||||||||||
| 5204 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5205 | method => 'POST', | ||||||||||||||||||||
| 5206 | parts => {}, | ||||||||||||||||||||
| 5207 | paths => [[ {}, "_plugins", "_ml", "memory_containers", "_create" ]], | ||||||||||||||||||||
| 5208 | qs => { | ||||||||||||||||||||
| 5209 | # Common API query parameters | ||||||||||||||||||||
| 5210 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5211 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5212 | 'human' => 'boolean', | ||||||||||||||||||||
| 5213 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5214 | 'source' => 'string', | ||||||||||||||||||||
| 5215 | }, | ||||||||||||||||||||
| 5216 | os_version => 3.003000, | ||||||||||||||||||||
| 5217 | }, | ||||||||||||||||||||
| 5218 | |||||||||||||||||||||
| 5219 | 'ml.create_memory_container_session' => { | ||||||||||||||||||||
| 5220 | body => {}, | ||||||||||||||||||||
| 5221 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5222 | method => 'POST', | ||||||||||||||||||||
| 5223 | parts => { memory_container_id => { required => 1 }}, | ||||||||||||||||||||
| 5224 | paths => [[ { memory_container_id => 3 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "sessions" ]], | ||||||||||||||||||||
| 5225 | qs => { | ||||||||||||||||||||
| 5226 | # Common API query parameters | ||||||||||||||||||||
| 5227 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5228 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5229 | 'human' => 'boolean', | ||||||||||||||||||||
| 5230 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5231 | 'source' => 'string', | ||||||||||||||||||||
| 5232 | }, | ||||||||||||||||||||
| 5233 | os_version => 3.003000, | ||||||||||||||||||||
| 5234 | }, | ||||||||||||||||||||
| 5235 | |||||||||||||||||||||
| 5236 | 'ml.create_message' => { | ||||||||||||||||||||
| 5237 | body => {}, | ||||||||||||||||||||
| 5238 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5239 | method => 'POST', | ||||||||||||||||||||
| 5240 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 5241 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}", "messages" ]], | ||||||||||||||||||||
| 5242 | qs => { | ||||||||||||||||||||
| 5243 | # Common API query parameters | ||||||||||||||||||||
| 5244 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5245 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5246 | 'human' => 'boolean', | ||||||||||||||||||||
| 5247 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5248 | 'source' => 'string', | ||||||||||||||||||||
| 5249 | }, | ||||||||||||||||||||
| 5250 | os_version => 2.012000, | ||||||||||||||||||||
| 5251 | }, | ||||||||||||||||||||
| 5252 | |||||||||||||||||||||
| 5253 | 'ml.create_model_meta' => { | ||||||||||||||||||||
| 5254 | body => {}, | ||||||||||||||||||||
| 5255 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5256 | method => 'POST', | ||||||||||||||||||||
| 5257 | parts => {}, | ||||||||||||||||||||
| 5258 | paths => [[ {}, "_plugins", "_ml", "models", "meta" ]], | ||||||||||||||||||||
| 5259 | qs => { | ||||||||||||||||||||
| 5260 | # Common API query parameters | ||||||||||||||||||||
| 5261 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5262 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5263 | 'human' => 'boolean', | ||||||||||||||||||||
| 5264 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5265 | 'source' => 'string', | ||||||||||||||||||||
| 5266 | }, | ||||||||||||||||||||
| 5267 | os_version => 1.000000, | ||||||||||||||||||||
| 5268 | }, | ||||||||||||||||||||
| 5269 | |||||||||||||||||||||
| 5270 | 'ml.delete_agent' => { | ||||||||||||||||||||
| 5271 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5272 | method => 'DELETE', | ||||||||||||||||||||
| 5273 | parts => { agent_id => { required => 1 }}, | ||||||||||||||||||||
| 5274 | paths => [[ { agent_id => 3 }, "_plugins", "_ml", "agents", "{agent_id}" ]], | ||||||||||||||||||||
| 5275 | qs => { | ||||||||||||||||||||
| 5276 | # Common API query parameters | ||||||||||||||||||||
| 5277 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5278 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5279 | 'human' => 'boolean', | ||||||||||||||||||||
| 5280 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5281 | 'source' => 'string', | ||||||||||||||||||||
| 5282 | }, | ||||||||||||||||||||
| 5283 | os_version => 2.013000, | ||||||||||||||||||||
| 5284 | }, | ||||||||||||||||||||
| 5285 | |||||||||||||||||||||
| 5286 | 'ml.delete_agentic_memory' => { | ||||||||||||||||||||
| 5287 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5288 | method => 'DELETE', | ||||||||||||||||||||
| 5289 | parts => { id => { required => 1 }, memory_container_id => { required => 1 }, type => { required => 1 }}, | ||||||||||||||||||||
| 5290 | paths => [[ { memory_container_id => 3, type => 5, id => 6 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "{type}", "{id}" ]], | ||||||||||||||||||||
| 5291 | qs => { | ||||||||||||||||||||
| 5292 | # Common API query parameters | ||||||||||||||||||||
| 5293 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5294 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5295 | 'human' => 'boolean', | ||||||||||||||||||||
| 5296 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5297 | 'source' => 'string', | ||||||||||||||||||||
| 5298 | }, | ||||||||||||||||||||
| 5299 | os_version => 3.003000, | ||||||||||||||||||||
| 5300 | }, | ||||||||||||||||||||
| 5301 | |||||||||||||||||||||
| 5302 | 'ml.delete_agentic_memory_query' => { | ||||||||||||||||||||
| 5303 | body => {}, | ||||||||||||||||||||
| 5304 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5305 | method => 'POST', | ||||||||||||||||||||
| 5306 | parts => { memory_container_id => { required => 1 }, type => { required => 1 }}, | ||||||||||||||||||||
| 5307 | paths => [[ { memory_container_id => 3, type => 5 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "{type}", "_delete_by_query" ]], | ||||||||||||||||||||
| 5308 | qs => { | ||||||||||||||||||||
| 5309 | # Common API query parameters | ||||||||||||||||||||
| 5310 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5311 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5312 | 'human' => 'boolean', | ||||||||||||||||||||
| 5313 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5314 | 'source' => 'string', | ||||||||||||||||||||
| 5315 | }, | ||||||||||||||||||||
| 5316 | os_version => 3.003000, | ||||||||||||||||||||
| 5317 | }, | ||||||||||||||||||||
| 5318 | |||||||||||||||||||||
| 5319 | 'ml.delete_connector' => { | ||||||||||||||||||||
| 5320 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5321 | method => 'DELETE', | ||||||||||||||||||||
| 5322 | parts => { connector_id => { required => 1 }}, | ||||||||||||||||||||
| 5323 | paths => [[ { connector_id => 3 }, "_plugins", "_ml", "connectors", "{connector_id}" ]], | ||||||||||||||||||||
| 5324 | qs => { | ||||||||||||||||||||
| 5325 | # Common API query parameters | ||||||||||||||||||||
| 5326 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5327 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5328 | 'human' => 'boolean', | ||||||||||||||||||||
| 5329 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5330 | 'source' => 'string', | ||||||||||||||||||||
| 5331 | }, | ||||||||||||||||||||
| 5332 | os_version => 1.000000, | ||||||||||||||||||||
| 5333 | }, | ||||||||||||||||||||
| 5334 | |||||||||||||||||||||
| 5335 | 'ml.delete_controller' => { | ||||||||||||||||||||
| 5336 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5337 | method => 'DELETE', | ||||||||||||||||||||
| 5338 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5339 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "controllers", "{model_id}" ]], | ||||||||||||||||||||
| 5340 | qs => { | ||||||||||||||||||||
| 5341 | # Common API query parameters | ||||||||||||||||||||
| 5342 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5343 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5344 | 'human' => 'boolean', | ||||||||||||||||||||
| 5345 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5346 | 'source' => 'string', | ||||||||||||||||||||
| 5347 | }, | ||||||||||||||||||||
| 5348 | os_version => 2.012000, | ||||||||||||||||||||
| 5349 | }, | ||||||||||||||||||||
| 5350 | |||||||||||||||||||||
| 5351 | 'ml.delete_memory' => { | ||||||||||||||||||||
| 5352 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5353 | method => 'DELETE', | ||||||||||||||||||||
| 5354 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 5355 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}" ]], | ||||||||||||||||||||
| 5356 | qs => { | ||||||||||||||||||||
| 5357 | # Common API query parameters | ||||||||||||||||||||
| 5358 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5359 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5360 | 'human' => 'boolean', | ||||||||||||||||||||
| 5361 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5362 | 'source' => 'string', | ||||||||||||||||||||
| 5363 | }, | ||||||||||||||||||||
| 5364 | os_version => 2.012000, | ||||||||||||||||||||
| 5365 | }, | ||||||||||||||||||||
| 5366 | |||||||||||||||||||||
| 5367 | 'ml.delete_memory_container' => { | ||||||||||||||||||||
| 5368 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5369 | method => 'DELETE', | ||||||||||||||||||||
| 5370 | parts => { memory_container_id => { required => 1 }}, | ||||||||||||||||||||
| 5371 | paths => [[ { memory_container_id => 3 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}" ]], | ||||||||||||||||||||
| 5372 | qs => { | ||||||||||||||||||||
| 5373 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5374 | 'delete_all_memories' => 'boolean', | ||||||||||||||||||||
| 5375 | 'delete_memories' => 'list', | ||||||||||||||||||||
| 5376 | # Common API query parameters | ||||||||||||||||||||
| 5377 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5378 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5379 | 'human' => 'boolean', | ||||||||||||||||||||
| 5380 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5381 | 'source' => 'string', | ||||||||||||||||||||
| 5382 | }, | ||||||||||||||||||||
| 5383 | os_version => 3.003000, | ||||||||||||||||||||
| 5384 | }, | ||||||||||||||||||||
| 5385 | |||||||||||||||||||||
| 5386 | 'ml.delete_model' => { | ||||||||||||||||||||
| 5387 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5388 | method => 'DELETE', | ||||||||||||||||||||
| 5389 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5390 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}" ]], | ||||||||||||||||||||
| 5391 | qs => { | ||||||||||||||||||||
| 5392 | # Common API query parameters | ||||||||||||||||||||
| 5393 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5394 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5395 | 'human' => 'boolean', | ||||||||||||||||||||
| 5396 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5397 | 'source' => 'string', | ||||||||||||||||||||
| 5398 | }, | ||||||||||||||||||||
| 5399 | os_version => 1.003000, | ||||||||||||||||||||
| 5400 | }, | ||||||||||||||||||||
| 5401 | |||||||||||||||||||||
| 5402 | 'ml.delete_model_group' => { | ||||||||||||||||||||
| 5403 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5404 | method => 'DELETE', | ||||||||||||||||||||
| 5405 | parts => { model_group_id => { required => 1 }}, | ||||||||||||||||||||
| 5406 | paths => [[ { model_group_id => 3 }, "_plugins", "_ml", "model_groups", "{model_group_id}" ]], | ||||||||||||||||||||
| 5407 | qs => { | ||||||||||||||||||||
| 5408 | # Common API query parameters | ||||||||||||||||||||
| 5409 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5410 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5411 | 'human' => 'boolean', | ||||||||||||||||||||
| 5412 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5413 | 'source' => 'string', | ||||||||||||||||||||
| 5414 | }, | ||||||||||||||||||||
| 5415 | os_version => 1.000000, | ||||||||||||||||||||
| 5416 | }, | ||||||||||||||||||||
| 5417 | |||||||||||||||||||||
| 5418 | 'ml.delete_task' => { | ||||||||||||||||||||
| 5419 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5420 | method => 'DELETE', | ||||||||||||||||||||
| 5421 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 5422 | paths => [[ { task_id => 3 }, "_plugins", "_ml", "tasks", "{task_id}" ]], | ||||||||||||||||||||
| 5423 | qs => { | ||||||||||||||||||||
| 5424 | # Common API query parameters | ||||||||||||||||||||
| 5425 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5426 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5427 | 'human' => 'boolean', | ||||||||||||||||||||
| 5428 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5429 | 'source' => 'string', | ||||||||||||||||||||
| 5430 | }, | ||||||||||||||||||||
| 5431 | os_version => 1.003000, | ||||||||||||||||||||
| 5432 | }, | ||||||||||||||||||||
| 5433 | |||||||||||||||||||||
| 5434 | 'ml.deploy_model' => { | ||||||||||||||||||||
| 5435 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5436 | method => 'POST', | ||||||||||||||||||||
| 5437 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5438 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_deploy" ]], | ||||||||||||||||||||
| 5439 | qs => { | ||||||||||||||||||||
| 5440 | # Common API query parameters | ||||||||||||||||||||
| 5441 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5442 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5443 | 'human' => 'boolean', | ||||||||||||||||||||
| 5444 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5445 | 'source' => 'string', | ||||||||||||||||||||
| 5446 | }, | ||||||||||||||||||||
| 5447 | os_version => 2.007000, | ||||||||||||||||||||
| 5448 | }, | ||||||||||||||||||||
| 5449 | |||||||||||||||||||||
| 5450 | 'ml.execute_agent' => { | ||||||||||||||||||||
| 5451 | body => {}, | ||||||||||||||||||||
| 5452 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5453 | method => 'POST', | ||||||||||||||||||||
| 5454 | parts => { agent_id => { required => 1 }}, | ||||||||||||||||||||
| 5455 | paths => [[ { agent_id => 3 }, "_plugins", "_ml", "agents", "{agent_id}", "_execute" ]], | ||||||||||||||||||||
| 5456 | qs => { | ||||||||||||||||||||
| 5457 | # Common API query parameters | ||||||||||||||||||||
| 5458 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5459 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5460 | 'human' => 'boolean', | ||||||||||||||||||||
| 5461 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5462 | 'source' => 'string', | ||||||||||||||||||||
| 5463 | }, | ||||||||||||||||||||
| 5464 | os_version => 2.013000, | ||||||||||||||||||||
| 5465 | }, | ||||||||||||||||||||
| 5466 | |||||||||||||||||||||
| 5467 | 'ml.execute_agent_stream' => { | ||||||||||||||||||||
| 5468 | body => {}, | ||||||||||||||||||||
| 5469 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5470 | method => 'POST', | ||||||||||||||||||||
| 5471 | parts => { agent_id => { required => 1 }}, | ||||||||||||||||||||
| 5472 | paths => [[ { agent_id => 3 }, "_plugins", "_ml", "agents", "{agent_id}", "_execute", "stream" ]], | ||||||||||||||||||||
| 5473 | qs => { | ||||||||||||||||||||
| 5474 | # Common API query parameters | ||||||||||||||||||||
| 5475 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5476 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5477 | 'human' => 'boolean', | ||||||||||||||||||||
| 5478 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5479 | 'source' => 'string', | ||||||||||||||||||||
| 5480 | }, | ||||||||||||||||||||
| 5481 | os_version => 3.003000, | ||||||||||||||||||||
| 5482 | }, | ||||||||||||||||||||
| 5483 | |||||||||||||||||||||
| 5484 | 'ml.execute_algorithm' => { | ||||||||||||||||||||
| 5485 | body => {}, | ||||||||||||||||||||
| 5486 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5487 | method => 'POST', | ||||||||||||||||||||
| 5488 | parts => { algorithm_name => { required => 1 }}, | ||||||||||||||||||||
| 5489 | paths => [[ { algorithm_name => 3 }, "_plugins", "_ml", "_execute", "{algorithm_name}" ]], | ||||||||||||||||||||
| 5490 | qs => { | ||||||||||||||||||||
| 5491 | # Common API query parameters | ||||||||||||||||||||
| 5492 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5493 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5494 | 'human' => 'boolean', | ||||||||||||||||||||
| 5495 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5496 | 'source' => 'string', | ||||||||||||||||||||
| 5497 | }, | ||||||||||||||||||||
| 5498 | os_version => 2.000000, | ||||||||||||||||||||
| 5499 | }, | ||||||||||||||||||||
| 5500 | |||||||||||||||||||||
| 5501 | 'ml.execute_tool' => { | ||||||||||||||||||||
| 5502 | body => {}, | ||||||||||||||||||||
| 5503 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5504 | method => 'POST', | ||||||||||||||||||||
| 5505 | parts => { tool_name => { required => 1 }}, | ||||||||||||||||||||
| 5506 | paths => [[ { tool_name => 4 }, "_plugins", "_ml", "tools", "_execute", "{tool_name}" ]], | ||||||||||||||||||||
| 5507 | qs => { | ||||||||||||||||||||
| 5508 | # Common API query parameters | ||||||||||||||||||||
| 5509 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5510 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5511 | 'human' => 'boolean', | ||||||||||||||||||||
| 5512 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5513 | 'source' => 'string', | ||||||||||||||||||||
| 5514 | }, | ||||||||||||||||||||
| 5515 | os_version => 3.003000, | ||||||||||||||||||||
| 5516 | }, | ||||||||||||||||||||
| 5517 | |||||||||||||||||||||
| 5518 | 'ml.get_agent' => { | ||||||||||||||||||||
| 5519 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5520 | method => 'GET', | ||||||||||||||||||||
| 5521 | parts => { agent_id => { required => 1 }}, | ||||||||||||||||||||
| 5522 | paths => [[ { agent_id => 3 }, "_plugins", "_ml", "agents", "{agent_id}" ]], | ||||||||||||||||||||
| 5523 | qs => { | ||||||||||||||||||||
| 5524 | # Common API query parameters | ||||||||||||||||||||
| 5525 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5526 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5527 | 'human' => 'boolean', | ||||||||||||||||||||
| 5528 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5529 | 'source' => 'string', | ||||||||||||||||||||
| 5530 | }, | ||||||||||||||||||||
| 5531 | os_version => 2.013000, | ||||||||||||||||||||
| 5532 | }, | ||||||||||||||||||||
| 5533 | |||||||||||||||||||||
| 5534 | 'ml.get_agentic_memory' => { | ||||||||||||||||||||
| 5535 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5536 | method => 'GET', | ||||||||||||||||||||
| 5537 | parts => { id => { required => 1 }, memory_container_id => { required => 1 }, type => { required => 1 }}, | ||||||||||||||||||||
| 5538 | paths => [[ { memory_container_id => 3, type => 5, id => 6 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "{type}", "{id}" ]], | ||||||||||||||||||||
| 5539 | qs => { | ||||||||||||||||||||
| 5540 | # Common API query parameters | ||||||||||||||||||||
| 5541 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5542 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5543 | 'human' => 'boolean', | ||||||||||||||||||||
| 5544 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5545 | 'source' => 'string', | ||||||||||||||||||||
| 5546 | }, | ||||||||||||||||||||
| 5547 | os_version => 3.003000, | ||||||||||||||||||||
| 5548 | }, | ||||||||||||||||||||
| 5549 | |||||||||||||||||||||
| 5550 | 'ml.get_all_memories' => { | ||||||||||||||||||||
| 5551 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5552 | method => 'GET', | ||||||||||||||||||||
| 5553 | parts => {}, | ||||||||||||||||||||
| 5554 | paths => [[ {}, "_plugins", "_ml", "memory" ]], | ||||||||||||||||||||
| 5555 | qs => { | ||||||||||||||||||||
| 5556 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5557 | 'max_results' => 'number', | ||||||||||||||||||||
| 5558 | 'next_token' => 'number', | ||||||||||||||||||||
| 5559 | # Common API query parameters | ||||||||||||||||||||
| 5560 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5561 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5562 | 'human' => 'boolean', | ||||||||||||||||||||
| 5563 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5564 | 'source' => 'string', | ||||||||||||||||||||
| 5565 | }, | ||||||||||||||||||||
| 5566 | os_version => 2.012000, | ||||||||||||||||||||
| 5567 | }, | ||||||||||||||||||||
| 5568 | |||||||||||||||||||||
| 5569 | 'ml.get_all_messages' => { | ||||||||||||||||||||
| 5570 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5571 | method => 'GET', | ||||||||||||||||||||
| 5572 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 5573 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}", "messages" ]], | ||||||||||||||||||||
| 5574 | qs => { | ||||||||||||||||||||
| 5575 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5576 | 'max_results' => 'number', | ||||||||||||||||||||
| 5577 | 'next_token' => 'number', | ||||||||||||||||||||
| 5578 | # Common API query parameters | ||||||||||||||||||||
| 5579 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5580 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5581 | 'human' => 'boolean', | ||||||||||||||||||||
| 5582 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5583 | 'source' => 'string', | ||||||||||||||||||||
| 5584 | }, | ||||||||||||||||||||
| 5585 | os_version => 2.012000, | ||||||||||||||||||||
| 5586 | }, | ||||||||||||||||||||
| 5587 | |||||||||||||||||||||
| 5588 | 'ml.get_all_tools' => { | ||||||||||||||||||||
| 5589 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5590 | method => 'GET', | ||||||||||||||||||||
| 5591 | parts => {}, | ||||||||||||||||||||
| 5592 | paths => [[ {}, "_plugins", "_ml", "tools" ]], | ||||||||||||||||||||
| 5593 | qs => { | ||||||||||||||||||||
| 5594 | # Common API query parameters | ||||||||||||||||||||
| 5595 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5596 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5597 | 'human' => 'boolean', | ||||||||||||||||||||
| 5598 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5599 | 'source' => 'string', | ||||||||||||||||||||
| 5600 | }, | ||||||||||||||||||||
| 5601 | os_version => 2.012000, | ||||||||||||||||||||
| 5602 | }, | ||||||||||||||||||||
| 5603 | |||||||||||||||||||||
| 5604 | 'ml.get_connector' => { | ||||||||||||||||||||
| 5605 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5606 | method => 'GET', | ||||||||||||||||||||
| 5607 | parts => { connector_id => { required => 1 }}, | ||||||||||||||||||||
| 5608 | paths => [[ { connector_id => 3 }, "_plugins", "_ml", "connectors", "{connector_id}" ]], | ||||||||||||||||||||
| 5609 | qs => { | ||||||||||||||||||||
| 5610 | # Common API query parameters | ||||||||||||||||||||
| 5611 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5612 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5613 | 'human' => 'boolean', | ||||||||||||||||||||
| 5614 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5615 | 'source' => 'string', | ||||||||||||||||||||
| 5616 | }, | ||||||||||||||||||||
| 5617 | os_version => 2.011000, | ||||||||||||||||||||
| 5618 | }, | ||||||||||||||||||||
| 5619 | |||||||||||||||||||||
| 5620 | 'ml.get_controller' => { | ||||||||||||||||||||
| 5621 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5622 | method => 'GET', | ||||||||||||||||||||
| 5623 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5624 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "controllers", "{model_id}" ]], | ||||||||||||||||||||
| 5625 | qs => { | ||||||||||||||||||||
| 5626 | # Common API query parameters | ||||||||||||||||||||
| 5627 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5628 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5629 | 'human' => 'boolean', | ||||||||||||||||||||
| 5630 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5631 | 'source' => 'string', | ||||||||||||||||||||
| 5632 | }, | ||||||||||||||||||||
| 5633 | os_version => 2.012000, | ||||||||||||||||||||
| 5634 | }, | ||||||||||||||||||||
| 5635 | |||||||||||||||||||||
| 5636 | 'ml.get_memory' => { | ||||||||||||||||||||
| 5637 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5638 | method => 'GET', | ||||||||||||||||||||
| 5639 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 5640 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}" ]], | ||||||||||||||||||||
| 5641 | qs => { | ||||||||||||||||||||
| 5642 | # Common API query parameters | ||||||||||||||||||||
| 5643 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5644 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5645 | 'human' => 'boolean', | ||||||||||||||||||||
| 5646 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5647 | 'source' => 'string', | ||||||||||||||||||||
| 5648 | }, | ||||||||||||||||||||
| 5649 | os_version => 2.012000, | ||||||||||||||||||||
| 5650 | }, | ||||||||||||||||||||
| 5651 | |||||||||||||||||||||
| 5652 | 'ml.get_memory_container' => { | ||||||||||||||||||||
| 5653 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5654 | method => 'GET', | ||||||||||||||||||||
| 5655 | parts => { memory_container_id => { required => 1 }}, | ||||||||||||||||||||
| 5656 | paths => [[ { memory_container_id => 3 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}" ]], | ||||||||||||||||||||
| 5657 | qs => { | ||||||||||||||||||||
| 5658 | # Common API query parameters | ||||||||||||||||||||
| 5659 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5660 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5661 | 'human' => 'boolean', | ||||||||||||||||||||
| 5662 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5663 | 'source' => 'string', | ||||||||||||||||||||
| 5664 | }, | ||||||||||||||||||||
| 5665 | os_version => 3.003000, | ||||||||||||||||||||
| 5666 | }, | ||||||||||||||||||||
| 5667 | |||||||||||||||||||||
| 5668 | 'ml.get_message' => { | ||||||||||||||||||||
| 5669 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5670 | method => 'GET', | ||||||||||||||||||||
| 5671 | parts => { message_id => { required => 1 }}, | ||||||||||||||||||||
| 5672 | paths => [[ { message_id => 4 }, "_plugins", "_ml", "memory", "message", "{message_id}" ]], | ||||||||||||||||||||
| 5673 | qs => { | ||||||||||||||||||||
| 5674 | # Common API query parameters | ||||||||||||||||||||
| 5675 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5676 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5677 | 'human' => 'boolean', | ||||||||||||||||||||
| 5678 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5679 | 'source' => 'string', | ||||||||||||||||||||
| 5680 | }, | ||||||||||||||||||||
| 5681 | os_version => 2.012000, | ||||||||||||||||||||
| 5682 | }, | ||||||||||||||||||||
| 5683 | |||||||||||||||||||||
| 5684 | 'ml.get_message_traces' => { | ||||||||||||||||||||
| 5685 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5686 | method => 'GET', | ||||||||||||||||||||
| 5687 | parts => { message_id => { required => 1 }}, | ||||||||||||||||||||
| 5688 | paths => [[ { message_id => 4 }, "_plugins", "_ml", "memory", "message", "{message_id}", "traces" ]], | ||||||||||||||||||||
| 5689 | qs => { | ||||||||||||||||||||
| 5690 | # Endpoint specific query parameters | ||||||||||||||||||||
| 5691 | 'max_results' => 'number', | ||||||||||||||||||||
| 5692 | 'next_token' => 'number', | ||||||||||||||||||||
| 5693 | # Common API query parameters | ||||||||||||||||||||
| 5694 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5695 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5696 | 'human' => 'boolean', | ||||||||||||||||||||
| 5697 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5698 | 'source' => 'string', | ||||||||||||||||||||
| 5699 | }, | ||||||||||||||||||||
| 5700 | os_version => 2.012000, | ||||||||||||||||||||
| 5701 | }, | ||||||||||||||||||||
| 5702 | |||||||||||||||||||||
| 5703 | 'ml.get_model' => { | ||||||||||||||||||||
| 5704 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5705 | method => 'GET', | ||||||||||||||||||||
| 5706 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5707 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}" ]], | ||||||||||||||||||||
| 5708 | qs => { | ||||||||||||||||||||
| 5709 | # Common API query parameters | ||||||||||||||||||||
| 5710 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5711 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5712 | 'human' => 'boolean', | ||||||||||||||||||||
| 5713 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5714 | 'source' => 'string', | ||||||||||||||||||||
| 5715 | }, | ||||||||||||||||||||
| 5716 | os_version => 1.003000, | ||||||||||||||||||||
| 5717 | }, | ||||||||||||||||||||
| 5718 | |||||||||||||||||||||
| 5719 | 'ml.get_model_group' => { | ||||||||||||||||||||
| 5720 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5721 | method => 'GET', | ||||||||||||||||||||
| 5722 | parts => { model_group_id => { required => 1 }}, | ||||||||||||||||||||
| 5723 | paths => [[ { model_group_id => 3 }, "_plugins", "_ml", "model_groups", "{model_group_id}" ]], | ||||||||||||||||||||
| 5724 | qs => { | ||||||||||||||||||||
| 5725 | # Common API query parameters | ||||||||||||||||||||
| 5726 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5727 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5728 | 'human' => 'boolean', | ||||||||||||||||||||
| 5729 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5730 | 'source' => 'string', | ||||||||||||||||||||
| 5731 | }, | ||||||||||||||||||||
| 5732 | os_version => 1.000000, | ||||||||||||||||||||
| 5733 | }, | ||||||||||||||||||||
| 5734 | |||||||||||||||||||||
| 5735 | 'ml.get_profile' => { | ||||||||||||||||||||
| 5736 | body => {}, | ||||||||||||||||||||
| 5737 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5738 | method => 'GET', | ||||||||||||||||||||
| 5739 | parts => {}, | ||||||||||||||||||||
| 5740 | paths => [[ {}, "_plugins", "_ml", "profile" ]], | ||||||||||||||||||||
| 5741 | qs => { | ||||||||||||||||||||
| 5742 | # Common API query parameters | ||||||||||||||||||||
| 5743 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5744 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5745 | 'human' => 'boolean', | ||||||||||||||||||||
| 5746 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5747 | 'source' => 'string', | ||||||||||||||||||||
| 5748 | }, | ||||||||||||||||||||
| 5749 | os_version => 2.004000, | ||||||||||||||||||||
| 5750 | }, | ||||||||||||||||||||
| 5751 | |||||||||||||||||||||
| 5752 | 'ml.get_profile_models' => { | ||||||||||||||||||||
| 5753 | body => {}, | ||||||||||||||||||||
| 5754 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5755 | method => 'GET', | ||||||||||||||||||||
| 5756 | parts => { model_id => {}}, | ||||||||||||||||||||
| 5757 | paths => [ | ||||||||||||||||||||
| 5758 | [ { model_id => 4 }, "_plugins", "_ml", "profile", "models", "{model_id}" ], | ||||||||||||||||||||
| 5759 | [ {}, "_plugins", "_ml", "profile", "models" ] | ||||||||||||||||||||
| 5760 | ], | ||||||||||||||||||||
| 5761 | qs => { | ||||||||||||||||||||
| 5762 | # Common API query parameters | ||||||||||||||||||||
| 5763 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5764 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5765 | 'human' => 'boolean', | ||||||||||||||||||||
| 5766 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5767 | 'source' => 'string', | ||||||||||||||||||||
| 5768 | }, | ||||||||||||||||||||
| 5769 | os_version => 2.004000, | ||||||||||||||||||||
| 5770 | }, | ||||||||||||||||||||
| 5771 | |||||||||||||||||||||
| 5772 | 'ml.get_profile_tasks' => { | ||||||||||||||||||||
| 5773 | body => {}, | ||||||||||||||||||||
| 5774 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5775 | method => 'GET', | ||||||||||||||||||||
| 5776 | parts => { task_id => {}}, | ||||||||||||||||||||
| 5777 | paths => [ | ||||||||||||||||||||
| 5778 | [ { task_id => 4 }, "_plugins", "_ml", "profile", "tasks", "{task_id}" ], | ||||||||||||||||||||
| 5779 | [ {}, "_plugins", "_ml", "profile", "tasks" ] | ||||||||||||||||||||
| 5780 | ], | ||||||||||||||||||||
| 5781 | qs => { | ||||||||||||||||||||
| 5782 | # Common API query parameters | ||||||||||||||||||||
| 5783 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5784 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5785 | 'human' => 'boolean', | ||||||||||||||||||||
| 5786 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5787 | 'source' => 'string', | ||||||||||||||||||||
| 5788 | }, | ||||||||||||||||||||
| 5789 | os_version => 2.004000, | ||||||||||||||||||||
| 5790 | }, | ||||||||||||||||||||
| 5791 | |||||||||||||||||||||
| 5792 | 'ml.get_stats' => { | ||||||||||||||||||||
| 5793 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5794 | method => 'GET', | ||||||||||||||||||||
| 5795 | parts => { node_id => {}, stat => { multi => 1 }}, | ||||||||||||||||||||
| 5796 | paths => [ | ||||||||||||||||||||
| 5797 | [ { node_id => 2, stat => 4 }, "_plugins", "_ml", "{node_id}", "stats", "{stat}" ], | ||||||||||||||||||||
| 5798 | [ { stat => 3 }, "_plugins", "_ml", "stats", "{stat}" ], | ||||||||||||||||||||
| 5799 | [ { node_id => 2 }, "_plugins", "_ml", "{node_id}", "stats" ], | ||||||||||||||||||||
| 5800 | [ {}, "_plugins", "_ml", "stats" ] | ||||||||||||||||||||
| 5801 | ], | ||||||||||||||||||||
| 5802 | qs => { | ||||||||||||||||||||
| 5803 | # Common API query parameters | ||||||||||||||||||||
| 5804 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5805 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5806 | 'human' => 'boolean', | ||||||||||||||||||||
| 5807 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5808 | 'source' => 'string', | ||||||||||||||||||||
| 5809 | }, | ||||||||||||||||||||
| 5810 | os_version => 1.003000, | ||||||||||||||||||||
| 5811 | }, | ||||||||||||||||||||
| 5812 | |||||||||||||||||||||
| 5813 | 'ml.get_task' => { | ||||||||||||||||||||
| 5814 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5815 | method => 'GET', | ||||||||||||||||||||
| 5816 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 5817 | paths => [[ { task_id => 3 }, "_plugins", "_ml", "tasks", "{task_id}" ]], | ||||||||||||||||||||
| 5818 | qs => { | ||||||||||||||||||||
| 5819 | # Common API query parameters | ||||||||||||||||||||
| 5820 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5821 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5822 | 'human' => 'boolean', | ||||||||||||||||||||
| 5823 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5824 | 'source' => 'string', | ||||||||||||||||||||
| 5825 | }, | ||||||||||||||||||||
| 5826 | os_version => 1.003000, | ||||||||||||||||||||
| 5827 | }, | ||||||||||||||||||||
| 5828 | |||||||||||||||||||||
| 5829 | 'ml.get_tool' => { | ||||||||||||||||||||
| 5830 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5831 | method => 'GET', | ||||||||||||||||||||
| 5832 | parts => { tool_name => { required => 1 }}, | ||||||||||||||||||||
| 5833 | paths => [[ { tool_name => 3 }, "_plugins", "_ml", "tools", "{tool_name}" ]], | ||||||||||||||||||||
| 5834 | qs => { | ||||||||||||||||||||
| 5835 | # Common API query parameters | ||||||||||||||||||||
| 5836 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5837 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5838 | 'human' => 'boolean', | ||||||||||||||||||||
| 5839 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5840 | 'source' => 'string', | ||||||||||||||||||||
| 5841 | }, | ||||||||||||||||||||
| 5842 | os_version => 2.012000, | ||||||||||||||||||||
| 5843 | }, | ||||||||||||||||||||
| 5844 | |||||||||||||||||||||
| 5845 | 'ml.load_model' => { | ||||||||||||||||||||
| 5846 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5847 | method => 'POST', | ||||||||||||||||||||
| 5848 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5849 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_load" ]], | ||||||||||||||||||||
| 5850 | qs => { | ||||||||||||||||||||
| 5851 | # Common API query parameters | ||||||||||||||||||||
| 5852 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5853 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5854 | 'human' => 'boolean', | ||||||||||||||||||||
| 5855 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5856 | 'source' => 'string', | ||||||||||||||||||||
| 5857 | }, | ||||||||||||||||||||
| 5858 | os_version => 1.000000, | ||||||||||||||||||||
| 5859 | }, | ||||||||||||||||||||
| 5860 | |||||||||||||||||||||
| 5861 | 'ml.predict' => { | ||||||||||||||||||||
| 5862 | body => {}, | ||||||||||||||||||||
| 5863 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5864 | method => 'POST', | ||||||||||||||||||||
| 5865 | parts => { algorithm_name => { required => 1 }, model_id => { required => 1 }}, | ||||||||||||||||||||
| 5866 | paths => [[ { algorithm_name => 3, model_id => 4 }, "_plugins", "_ml", "_predict", "{algorithm_name}", "{model_id}" ]], | ||||||||||||||||||||
| 5867 | qs => { | ||||||||||||||||||||
| 5868 | # Common API query parameters | ||||||||||||||||||||
| 5869 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5870 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5871 | 'human' => 'boolean', | ||||||||||||||||||||
| 5872 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5873 | 'source' => 'string', | ||||||||||||||||||||
| 5874 | }, | ||||||||||||||||||||
| 5875 | os_version => 1.003000, | ||||||||||||||||||||
| 5876 | }, | ||||||||||||||||||||
| 5877 | |||||||||||||||||||||
| 5878 | 'ml.predict_model' => { | ||||||||||||||||||||
| 5879 | body => {}, | ||||||||||||||||||||
| 5880 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5881 | method => 'POST', | ||||||||||||||||||||
| 5882 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5883 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_predict" ]], | ||||||||||||||||||||
| 5884 | qs => { | ||||||||||||||||||||
| 5885 | # Common API query parameters | ||||||||||||||||||||
| 5886 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5887 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5888 | 'human' => 'boolean', | ||||||||||||||||||||
| 5889 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5890 | 'source' => 'string', | ||||||||||||||||||||
| 5891 | }, | ||||||||||||||||||||
| 5892 | os_version => 2.012000, | ||||||||||||||||||||
| 5893 | }, | ||||||||||||||||||||
| 5894 | |||||||||||||||||||||
| 5895 | 'ml.predict_model_stream' => { | ||||||||||||||||||||
| 5896 | body => {}, | ||||||||||||||||||||
| 5897 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5898 | method => 'POST', | ||||||||||||||||||||
| 5899 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 5900 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_predict", "stream" ]], | ||||||||||||||||||||
| 5901 | qs => { | ||||||||||||||||||||
| 5902 | # Common API query parameters | ||||||||||||||||||||
| 5903 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5904 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5905 | 'human' => 'boolean', | ||||||||||||||||||||
| 5906 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5907 | 'source' => 'string', | ||||||||||||||||||||
| 5908 | }, | ||||||||||||||||||||
| 5909 | os_version => 3.003000, | ||||||||||||||||||||
| 5910 | }, | ||||||||||||||||||||
| 5911 | |||||||||||||||||||||
| 5912 | 'ml.register_agents' => { | ||||||||||||||||||||
| 5913 | body => {}, | ||||||||||||||||||||
| 5914 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5915 | method => 'POST', | ||||||||||||||||||||
| 5916 | parts => {}, | ||||||||||||||||||||
| 5917 | paths => [[ {}, "_plugins", "_ml", "agents", "_register" ]], | ||||||||||||||||||||
| 5918 | qs => { | ||||||||||||||||||||
| 5919 | # Common API query parameters | ||||||||||||||||||||
| 5920 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5921 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5922 | 'human' => 'boolean', | ||||||||||||||||||||
| 5923 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5924 | 'source' => 'string', | ||||||||||||||||||||
| 5925 | }, | ||||||||||||||||||||
| 5926 | os_version => 2.013000, | ||||||||||||||||||||
| 5927 | }, | ||||||||||||||||||||
| 5928 | |||||||||||||||||||||
| 5929 | 'ml.register_model' => { | ||||||||||||||||||||
| 5930 | body => {}, | ||||||||||||||||||||
| 5931 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5932 | method => 'POST', | ||||||||||||||||||||
| 5933 | parts => {}, | ||||||||||||||||||||
| 5934 | paths => [[ {}, "_plugins", "_ml", "models", "_register" ]], | ||||||||||||||||||||
| 5935 | qs => { | ||||||||||||||||||||
| 5936 | # Common API query parameters | ||||||||||||||||||||
| 5937 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5938 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5939 | 'human' => 'boolean', | ||||||||||||||||||||
| 5940 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5941 | 'source' => 'string', | ||||||||||||||||||||
| 5942 | }, | ||||||||||||||||||||
| 5943 | os_version => 2.007000, | ||||||||||||||||||||
| 5944 | }, | ||||||||||||||||||||
| 5945 | |||||||||||||||||||||
| 5946 | 'ml.register_model_group' => { | ||||||||||||||||||||
| 5947 | body => {}, | ||||||||||||||||||||
| 5948 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5949 | method => 'POST', | ||||||||||||||||||||
| 5950 | parts => {}, | ||||||||||||||||||||
| 5951 | paths => [[ {}, "_plugins", "_ml", "model_groups", "_register" ]], | ||||||||||||||||||||
| 5952 | qs => { | ||||||||||||||||||||
| 5953 | # Common API query parameters | ||||||||||||||||||||
| 5954 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5955 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5956 | 'human' => 'boolean', | ||||||||||||||||||||
| 5957 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5958 | 'source' => 'string', | ||||||||||||||||||||
| 5959 | }, | ||||||||||||||||||||
| 5960 | os_version => 1.000000, | ||||||||||||||||||||
| 5961 | }, | ||||||||||||||||||||
| 5962 | |||||||||||||||||||||
| 5963 | 'ml.register_model_meta' => { | ||||||||||||||||||||
| 5964 | body => {}, | ||||||||||||||||||||
| 5965 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5966 | method => 'POST', | ||||||||||||||||||||
| 5967 | parts => {}, | ||||||||||||||||||||
| 5968 | paths => [[ {}, "_plugins", "_ml", "models", "_register_meta" ]], | ||||||||||||||||||||
| 5969 | qs => { | ||||||||||||||||||||
| 5970 | # Common API query parameters | ||||||||||||||||||||
| 5971 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5972 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5973 | 'human' => 'boolean', | ||||||||||||||||||||
| 5974 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5975 | 'source' => 'string', | ||||||||||||||||||||
| 5976 | }, | ||||||||||||||||||||
| 5977 | os_version => 2.007000, | ||||||||||||||||||||
| 5978 | }, | ||||||||||||||||||||
| 5979 | |||||||||||||||||||||
| 5980 | 'ml.search_agentic_memory' => { | ||||||||||||||||||||
| 5981 | body => {}, | ||||||||||||||||||||
| 5982 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 5983 | method => 'GET', | ||||||||||||||||||||
| 5984 | parts => { memory_container_id => { required => 1 }, type => { required => 1 }}, | ||||||||||||||||||||
| 5985 | paths => [[ { memory_container_id => 3, type => 5 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "{type}", "_search" ]], | ||||||||||||||||||||
| 5986 | qs => { | ||||||||||||||||||||
| 5987 | # Common API query parameters | ||||||||||||||||||||
| 5988 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 5989 | 'filter_path' => 'list', | ||||||||||||||||||||
| 5990 | 'human' => 'boolean', | ||||||||||||||||||||
| 5991 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 5992 | 'source' => 'string', | ||||||||||||||||||||
| 5993 | }, | ||||||||||||||||||||
| 5994 | os_version => 3.003000, | ||||||||||||||||||||
| 5995 | }, | ||||||||||||||||||||
| 5996 | |||||||||||||||||||||
| 5997 | 'ml.search_agents' => { | ||||||||||||||||||||
| 5998 | body => {}, | ||||||||||||||||||||
| 5999 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6000 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6001 | method => 'detect', | ||||||||||||||||||||
| 6002 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6003 | parts => {}, | ||||||||||||||||||||
| 6004 | paths => [[ {}, "_plugins", "_ml", "agents", "_search" ]], | ||||||||||||||||||||
| 6005 | qs => { | ||||||||||||||||||||
| 6006 | # Common API query parameters | ||||||||||||||||||||
| 6007 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6008 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6009 | 'human' => 'boolean', | ||||||||||||||||||||
| 6010 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6011 | 'source' => 'string', | ||||||||||||||||||||
| 6012 | }, | ||||||||||||||||||||
| 6013 | os_version => 2.013000, | ||||||||||||||||||||
| 6014 | }, | ||||||||||||||||||||
| 6015 | |||||||||||||||||||||
| 6016 | 'ml.search_connectors' => { | ||||||||||||||||||||
| 6017 | body => {}, | ||||||||||||||||||||
| 6018 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6019 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6020 | method => 'detect', | ||||||||||||||||||||
| 6021 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6022 | parts => {}, | ||||||||||||||||||||
| 6023 | paths => [[ {}, "_plugins", "_ml", "connectors", "_search" ]], | ||||||||||||||||||||
| 6024 | qs => { | ||||||||||||||||||||
| 6025 | # Common API query parameters | ||||||||||||||||||||
| 6026 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6027 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6028 | 'human' => 'boolean', | ||||||||||||||||||||
| 6029 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6030 | 'source' => 'string', | ||||||||||||||||||||
| 6031 | }, | ||||||||||||||||||||
| 6032 | os_version => 2.011000, | ||||||||||||||||||||
| 6033 | }, | ||||||||||||||||||||
| 6034 | |||||||||||||||||||||
| 6035 | 'ml.search_memory' => { | ||||||||||||||||||||
| 6036 | body => {}, | ||||||||||||||||||||
| 6037 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6038 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6039 | method => 'detect', | ||||||||||||||||||||
| 6040 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6041 | parts => {}, | ||||||||||||||||||||
| 6042 | paths => [[ {}, "_plugins", "_ml", "memory", "_search" ]], | ||||||||||||||||||||
| 6043 | qs => { | ||||||||||||||||||||
| 6044 | # Common API query parameters | ||||||||||||||||||||
| 6045 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6046 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6047 | 'human' => 'boolean', | ||||||||||||||||||||
| 6048 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6049 | 'source' => 'string', | ||||||||||||||||||||
| 6050 | }, | ||||||||||||||||||||
| 6051 | os_version => 2.012000, | ||||||||||||||||||||
| 6052 | }, | ||||||||||||||||||||
| 6053 | |||||||||||||||||||||
| 6054 | 'ml.search_memory_container' => { | ||||||||||||||||||||
| 6055 | body => {}, | ||||||||||||||||||||
| 6056 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6057 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6058 | method => 'detect', | ||||||||||||||||||||
| 6059 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6060 | parts => {}, | ||||||||||||||||||||
| 6061 | paths => [[ {}, "_plugins", "_ml", "memory_containers", "_search" ]], | ||||||||||||||||||||
| 6062 | qs => { | ||||||||||||||||||||
| 6063 | # Common API query parameters | ||||||||||||||||||||
| 6064 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6065 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6066 | 'human' => 'boolean', | ||||||||||||||||||||
| 6067 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6068 | 'source' => 'string', | ||||||||||||||||||||
| 6069 | }, | ||||||||||||||||||||
| 6070 | os_version => 3.003000, | ||||||||||||||||||||
| 6071 | }, | ||||||||||||||||||||
| 6072 | |||||||||||||||||||||
| 6073 | 'ml.search_message' => { | ||||||||||||||||||||
| 6074 | body => {}, | ||||||||||||||||||||
| 6075 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6076 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6077 | method => 'detect', | ||||||||||||||||||||
| 6078 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6079 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 6080 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}", "_search" ]], | ||||||||||||||||||||
| 6081 | qs => { | ||||||||||||||||||||
| 6082 | # Common API query parameters | ||||||||||||||||||||
| 6083 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6084 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6085 | 'human' => 'boolean', | ||||||||||||||||||||
| 6086 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6087 | 'source' => 'string', | ||||||||||||||||||||
| 6088 | }, | ||||||||||||||||||||
| 6089 | os_version => 2.012000, | ||||||||||||||||||||
| 6090 | }, | ||||||||||||||||||||
| 6091 | |||||||||||||||||||||
| 6092 | 'ml.search_model_group' => { | ||||||||||||||||||||
| 6093 | body => {}, | ||||||||||||||||||||
| 6094 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6095 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6096 | method => 'detect', | ||||||||||||||||||||
| 6097 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6098 | parts => {}, | ||||||||||||||||||||
| 6099 | paths => [[ {}, "_plugins", "_ml", "model_groups", "_search" ]], | ||||||||||||||||||||
| 6100 | qs => { | ||||||||||||||||||||
| 6101 | # Common API query parameters | ||||||||||||||||||||
| 6102 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6103 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6104 | 'human' => 'boolean', | ||||||||||||||||||||
| 6105 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6106 | 'source' => 'string', | ||||||||||||||||||||
| 6107 | }, | ||||||||||||||||||||
| 6108 | os_version => 2.009000, | ||||||||||||||||||||
| 6109 | }, | ||||||||||||||||||||
| 6110 | |||||||||||||||||||||
| 6111 | 'ml.search_models' => { | ||||||||||||||||||||
| 6112 | body => {}, | ||||||||||||||||||||
| 6113 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6114 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6115 | method => 'detect', | ||||||||||||||||||||
| 6116 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6117 | parts => {}, | ||||||||||||||||||||
| 6118 | paths => [[ {}, "_plugins", "_ml", "models", "_search" ]], | ||||||||||||||||||||
| 6119 | qs => { | ||||||||||||||||||||
| 6120 | # Common API query parameters | ||||||||||||||||||||
| 6121 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6122 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6123 | 'human' => 'boolean', | ||||||||||||||||||||
| 6124 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6125 | 'source' => 'string', | ||||||||||||||||||||
| 6126 | }, | ||||||||||||||||||||
| 6127 | os_version => 1.003000, | ||||||||||||||||||||
| 6128 | }, | ||||||||||||||||||||
| 6129 | |||||||||||||||||||||
| 6130 | 'ml.search_tasks' => { | ||||||||||||||||||||
| 6131 | body => {}, | ||||||||||||||||||||
| 6132 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6133 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6134 | method => 'detect', | ||||||||||||||||||||
| 6135 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6136 | parts => {}, | ||||||||||||||||||||
| 6137 | paths => [[ {}, "_plugins", "_ml", "tasks", "_search" ]], | ||||||||||||||||||||
| 6138 | qs => { | ||||||||||||||||||||
| 6139 | # Common API query parameters | ||||||||||||||||||||
| 6140 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6141 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6142 | 'human' => 'boolean', | ||||||||||||||||||||
| 6143 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6144 | 'source' => 'string', | ||||||||||||||||||||
| 6145 | }, | ||||||||||||||||||||
| 6146 | os_version => 1.003000, | ||||||||||||||||||||
| 6147 | }, | ||||||||||||||||||||
| 6148 | |||||||||||||||||||||
| 6149 | 'ml.train' => { | ||||||||||||||||||||
| 6150 | body => {}, | ||||||||||||||||||||
| 6151 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6152 | method => 'POST', | ||||||||||||||||||||
| 6153 | parts => { algorithm_name => { required => 1 }}, | ||||||||||||||||||||
| 6154 | paths => [[ { algorithm_name => 3 }, "_plugins", "_ml", "_train", "{algorithm_name}" ]], | ||||||||||||||||||||
| 6155 | qs => { | ||||||||||||||||||||
| 6156 | # Common API query parameters | ||||||||||||||||||||
| 6157 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6158 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6159 | 'human' => 'boolean', | ||||||||||||||||||||
| 6160 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6161 | 'source' => 'string', | ||||||||||||||||||||
| 6162 | }, | ||||||||||||||||||||
| 6163 | os_version => 1.003000, | ||||||||||||||||||||
| 6164 | }, | ||||||||||||||||||||
| 6165 | |||||||||||||||||||||
| 6166 | 'ml.train_predict' => { | ||||||||||||||||||||
| 6167 | body => {}, | ||||||||||||||||||||
| 6168 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6169 | method => 'POST', | ||||||||||||||||||||
| 6170 | parts => { algorithm_name => { required => 1 }}, | ||||||||||||||||||||
| 6171 | paths => [[ { algorithm_name => 3 }, "_plugins", "_ml", "_train_predict", "{algorithm_name}" ]], | ||||||||||||||||||||
| 6172 | qs => { | ||||||||||||||||||||
| 6173 | # Common API query parameters | ||||||||||||||||||||
| 6174 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6175 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6176 | 'human' => 'boolean', | ||||||||||||||||||||
| 6177 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6178 | 'source' => 'string', | ||||||||||||||||||||
| 6179 | }, | ||||||||||||||||||||
| 6180 | os_version => 1.003000, | ||||||||||||||||||||
| 6181 | }, | ||||||||||||||||||||
| 6182 | |||||||||||||||||||||
| 6183 | 'ml.undeploy_model' => { | ||||||||||||||||||||
| 6184 | body => {}, | ||||||||||||||||||||
| 6185 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6186 | method => 'POST', | ||||||||||||||||||||
| 6187 | parts => { model_id => {}}, | ||||||||||||||||||||
| 6188 | paths => [ | ||||||||||||||||||||
| 6189 | [ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_undeploy" ], | ||||||||||||||||||||
| 6190 | [ {}, "_plugins", "_ml", "models", "_undeploy" ] | ||||||||||||||||||||
| 6191 | ], | ||||||||||||||||||||
| 6192 | qs => { | ||||||||||||||||||||
| 6193 | # Common API query parameters | ||||||||||||||||||||
| 6194 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6195 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6196 | 'human' => 'boolean', | ||||||||||||||||||||
| 6197 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6198 | 'source' => 'string', | ||||||||||||||||||||
| 6199 | }, | ||||||||||||||||||||
| 6200 | os_version => 2.007000, | ||||||||||||||||||||
| 6201 | }, | ||||||||||||||||||||
| 6202 | |||||||||||||||||||||
| 6203 | 'ml.unload_model' => { | ||||||||||||||||||||
| 6204 | body => {}, | ||||||||||||||||||||
| 6205 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6206 | method => 'POST', | ||||||||||||||||||||
| 6207 | parts => { model_id => {}}, | ||||||||||||||||||||
| 6208 | paths => [ | ||||||||||||||||||||
| 6209 | [ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}", "_unload" ], | ||||||||||||||||||||
| 6210 | [ {}, "_plugins", "_ml", "models", "_unload" ] | ||||||||||||||||||||
| 6211 | ], | ||||||||||||||||||||
| 6212 | qs => { | ||||||||||||||||||||
| 6213 | # Common API query parameters | ||||||||||||||||||||
| 6214 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6215 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6216 | 'human' => 'boolean', | ||||||||||||||||||||
| 6217 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6218 | 'source' => 'string', | ||||||||||||||||||||
| 6219 | }, | ||||||||||||||||||||
| 6220 | os_version => 1.000000, | ||||||||||||||||||||
| 6221 | }, | ||||||||||||||||||||
| 6222 | |||||||||||||||||||||
| 6223 | 'ml.update_agentic_memory' => { | ||||||||||||||||||||
| 6224 | body => {}, | ||||||||||||||||||||
| 6225 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6226 | method => 'PUT', | ||||||||||||||||||||
| 6227 | parts => { id => { required => 1 }, memory_container_id => { required => 1 }, type => { required => 1 }}, | ||||||||||||||||||||
| 6228 | paths => [[ { memory_container_id => 3, type => 5, id => 6 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}", "memories", "{type}", "{id}" ]], | ||||||||||||||||||||
| 6229 | qs => { | ||||||||||||||||||||
| 6230 | # Common API query parameters | ||||||||||||||||||||
| 6231 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6232 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6233 | 'human' => 'boolean', | ||||||||||||||||||||
| 6234 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6235 | 'source' => 'string', | ||||||||||||||||||||
| 6236 | }, | ||||||||||||||||||||
| 6237 | os_version => 3.003000, | ||||||||||||||||||||
| 6238 | }, | ||||||||||||||||||||
| 6239 | |||||||||||||||||||||
| 6240 | 'ml.update_connector' => { | ||||||||||||||||||||
| 6241 | body => {}, | ||||||||||||||||||||
| 6242 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6243 | method => 'PUT', | ||||||||||||||||||||
| 6244 | parts => { connector_id => { required => 1 }}, | ||||||||||||||||||||
| 6245 | paths => [[ { connector_id => 3 }, "_plugins", "_ml", "connectors", "{connector_id}" ]], | ||||||||||||||||||||
| 6246 | qs => { | ||||||||||||||||||||
| 6247 | # Common API query parameters | ||||||||||||||||||||
| 6248 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6249 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6250 | 'human' => 'boolean', | ||||||||||||||||||||
| 6251 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6252 | 'source' => 'string', | ||||||||||||||||||||
| 6253 | }, | ||||||||||||||||||||
| 6254 | os_version => 2.012000, | ||||||||||||||||||||
| 6255 | }, | ||||||||||||||||||||
| 6256 | |||||||||||||||||||||
| 6257 | 'ml.update_controller' => { | ||||||||||||||||||||
| 6258 | body => {}, | ||||||||||||||||||||
| 6259 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6260 | method => 'PUT', | ||||||||||||||||||||
| 6261 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 6262 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "controllers", "{model_id}" ]], | ||||||||||||||||||||
| 6263 | qs => { | ||||||||||||||||||||
| 6264 | # Common API query parameters | ||||||||||||||||||||
| 6265 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6266 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6267 | 'human' => 'boolean', | ||||||||||||||||||||
| 6268 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6269 | 'source' => 'string', | ||||||||||||||||||||
| 6270 | }, | ||||||||||||||||||||
| 6271 | os_version => 2.012000, | ||||||||||||||||||||
| 6272 | }, | ||||||||||||||||||||
| 6273 | |||||||||||||||||||||
| 6274 | 'ml.update_memory' => { | ||||||||||||||||||||
| 6275 | body => {}, | ||||||||||||||||||||
| 6276 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6277 | method => 'PUT', | ||||||||||||||||||||
| 6278 | parts => { memory_id => { required => 1 }}, | ||||||||||||||||||||
| 6279 | paths => [[ { memory_id => 3 }, "_plugins", "_ml", "memory", "{memory_id}" ]], | ||||||||||||||||||||
| 6280 | qs => { | ||||||||||||||||||||
| 6281 | # Common API query parameters | ||||||||||||||||||||
| 6282 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6283 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6284 | 'human' => 'boolean', | ||||||||||||||||||||
| 6285 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6286 | 'source' => 'string', | ||||||||||||||||||||
| 6287 | }, | ||||||||||||||||||||
| 6288 | os_version => 2.012000, | ||||||||||||||||||||
| 6289 | }, | ||||||||||||||||||||
| 6290 | |||||||||||||||||||||
| 6291 | 'ml.update_memory_container' => { | ||||||||||||||||||||
| 6292 | body => {}, | ||||||||||||||||||||
| 6293 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6294 | method => 'PUT', | ||||||||||||||||||||
| 6295 | parts => { memory_container_id => { required => 1 }}, | ||||||||||||||||||||
| 6296 | paths => [[ { memory_container_id => 3 }, "_plugins", "_ml", "memory_containers", "{memory_container_id}" ]], | ||||||||||||||||||||
| 6297 | qs => { | ||||||||||||||||||||
| 6298 | # Common API query parameters | ||||||||||||||||||||
| 6299 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6300 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6301 | 'human' => 'boolean', | ||||||||||||||||||||
| 6302 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6303 | 'source' => 'string', | ||||||||||||||||||||
| 6304 | }, | ||||||||||||||||||||
| 6305 | os_version => 3.003000, | ||||||||||||||||||||
| 6306 | }, | ||||||||||||||||||||
| 6307 | |||||||||||||||||||||
| 6308 | 'ml.update_message' => { | ||||||||||||||||||||
| 6309 | body => {}, | ||||||||||||||||||||
| 6310 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6311 | method => 'PUT', | ||||||||||||||||||||
| 6312 | parts => { message_id => { required => 1 }}, | ||||||||||||||||||||
| 6313 | paths => [[ { message_id => 4 }, "_plugins", "_ml", "memory", "message", "{message_id}" ]], | ||||||||||||||||||||
| 6314 | qs => { | ||||||||||||||||||||
| 6315 | # Common API query parameters | ||||||||||||||||||||
| 6316 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6317 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6318 | 'human' => 'boolean', | ||||||||||||||||||||
| 6319 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6320 | 'source' => 'string', | ||||||||||||||||||||
| 6321 | }, | ||||||||||||||||||||
| 6322 | os_version => 2.012000, | ||||||||||||||||||||
| 6323 | }, | ||||||||||||||||||||
| 6324 | |||||||||||||||||||||
| 6325 | 'ml.update_model' => { | ||||||||||||||||||||
| 6326 | body => {}, | ||||||||||||||||||||
| 6327 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6328 | method => 'PUT', | ||||||||||||||||||||
| 6329 | parts => { model_id => { required => 1 }}, | ||||||||||||||||||||
| 6330 | paths => [[ { model_id => 3 }, "_plugins", "_ml", "models", "{model_id}" ]], | ||||||||||||||||||||
| 6331 | qs => { | ||||||||||||||||||||
| 6332 | # Common API query parameters | ||||||||||||||||||||
| 6333 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6334 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6335 | 'human' => 'boolean', | ||||||||||||||||||||
| 6336 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6337 | 'source' => 'string', | ||||||||||||||||||||
| 6338 | }, | ||||||||||||||||||||
| 6339 | os_version => 2.012000, | ||||||||||||||||||||
| 6340 | }, | ||||||||||||||||||||
| 6341 | |||||||||||||||||||||
| 6342 | 'ml.update_model_group' => { | ||||||||||||||||||||
| 6343 | body => {}, | ||||||||||||||||||||
| 6344 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6345 | method => 'PUT', | ||||||||||||||||||||
| 6346 | parts => { model_group_id => { required => 1 }}, | ||||||||||||||||||||
| 6347 | paths => [[ { model_group_id => 3 }, "_plugins", "_ml", "model_groups", "{model_group_id}" ]], | ||||||||||||||||||||
| 6348 | qs => { | ||||||||||||||||||||
| 6349 | # Common API query parameters | ||||||||||||||||||||
| 6350 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6351 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6352 | 'human' => 'boolean', | ||||||||||||||||||||
| 6353 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6354 | 'source' => 'string', | ||||||||||||||||||||
| 6355 | }, | ||||||||||||||||||||
| 6356 | os_version => 2.009000, | ||||||||||||||||||||
| 6357 | }, | ||||||||||||||||||||
| 6358 | |||||||||||||||||||||
| 6359 | 'ml.upload_chunk' => { | ||||||||||||||||||||
| 6360 | body => {}, | ||||||||||||||||||||
| 6361 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6362 | method => 'POST', | ||||||||||||||||||||
| 6363 | parts => { chunk_number => { required => 1 }, model_id => { required => 1 }}, | ||||||||||||||||||||
| 6364 | paths => [[ { model_id => 3, chunk_number => 5 }, "_plugins", "_ml", "models", "{model_id}", "upload_chunk", "{chunk_number}" ]], | ||||||||||||||||||||
| 6365 | qs => { | ||||||||||||||||||||
| 6366 | # Common API query parameters | ||||||||||||||||||||
| 6367 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6368 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6369 | 'human' => 'boolean', | ||||||||||||||||||||
| 6370 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6371 | 'source' => 'string', | ||||||||||||||||||||
| 6372 | }, | ||||||||||||||||||||
| 6373 | os_version => 2.007000, | ||||||||||||||||||||
| 6374 | }, | ||||||||||||||||||||
| 6375 | |||||||||||||||||||||
| 6376 | 'ml.upload_model' => { | ||||||||||||||||||||
| 6377 | body => {}, | ||||||||||||||||||||
| 6378 | doc => 'https://docs.opensearch.org/latest/ml-commons-plugin/api/index/', | ||||||||||||||||||||
| 6379 | method => 'POST', | ||||||||||||||||||||
| 6380 | parts => {}, | ||||||||||||||||||||
| 6381 | paths => [[ {}, "_plugins", "_ml", "models", "_upload" ]], | ||||||||||||||||||||
| 6382 | qs => { | ||||||||||||||||||||
| 6383 | # Common API query parameters | ||||||||||||||||||||
| 6384 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6385 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6386 | 'human' => 'boolean', | ||||||||||||||||||||
| 6387 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6388 | 'source' => 'string', | ||||||||||||||||||||
| 6389 | }, | ||||||||||||||||||||
| 6390 | os_version => 1.000000, | ||||||||||||||||||||
| 6391 | }, | ||||||||||||||||||||
| 6392 | |||||||||||||||||||||
| 6393 | 'neural.stats' => { | ||||||||||||||||||||
| 6394 | doc => 'https://docs.opensearch.org/latest/vector-search/api/neural/', | ||||||||||||||||||||
| 6395 | method => 'GET', | ||||||||||||||||||||
| 6396 | parts => { node_id => {}, stat => { multi => 1 }}, | ||||||||||||||||||||
| 6397 | paths => [ | ||||||||||||||||||||
| 6398 | [ { node_id => 2, stat => 4 }, "_plugins", "_neural", "{node_id}", "stats", "{stat}" ], | ||||||||||||||||||||
| 6399 | [ { stat => 3 }, "_plugins", "_neural", "stats", "{stat}" ], | ||||||||||||||||||||
| 6400 | [ { node_id => 2 }, "_plugins", "_neural", "{node_id}", "stats" ], | ||||||||||||||||||||
| 6401 | [ {}, "_plugins", "_neural", "stats" ] | ||||||||||||||||||||
| 6402 | ], | ||||||||||||||||||||
| 6403 | qs => { | ||||||||||||||||||||
| 6404 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6405 | 'flat_stat_paths' => 'boolean', | ||||||||||||||||||||
| 6406 | 'include_all_nodes' => 'boolean', | ||||||||||||||||||||
| 6407 | 'include_individual_nodes' => 'boolean', | ||||||||||||||||||||
| 6408 | 'include_info' => 'boolean', | ||||||||||||||||||||
| 6409 | 'include_metadata' => 'boolean', | ||||||||||||||||||||
| 6410 | # Common API query parameters | ||||||||||||||||||||
| 6411 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6412 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6413 | 'human' => 'boolean', | ||||||||||||||||||||
| 6414 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6415 | 'source' => 'string', | ||||||||||||||||||||
| 6416 | }, | ||||||||||||||||||||
| 6417 | os_version => 3.000000, | ||||||||||||||||||||
| 6418 | }, | ||||||||||||||||||||
| 6419 | |||||||||||||||||||||
| 6420 | 'nodes.hot_threads' => { | ||||||||||||||||||||
| 6421 | doc => 'https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-hot-threads/', | ||||||||||||||||||||
| 6422 | method => 'GET', | ||||||||||||||||||||
| 6423 | parts => { node_id => { multi => 1 }}, | ||||||||||||||||||||
| 6424 | paths => [ | ||||||||||||||||||||
| 6425 | [ { node_id => 1 }, "_nodes", "{node_id}", "hot_threads" ], | ||||||||||||||||||||
| 6426 | [ {}, "_nodes", "hot_threads" ] | ||||||||||||||||||||
| 6427 | ], | ||||||||||||||||||||
| 6428 | qs => { | ||||||||||||||||||||
| 6429 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6430 | 'ignore_idle_threads' => 'boolean', | ||||||||||||||||||||
| 6431 | 'interval' => 'string', | ||||||||||||||||||||
| 6432 | 'snapshots' => 'number', | ||||||||||||||||||||
| 6433 | 'threads' => 'number', | ||||||||||||||||||||
| 6434 | 'timeout' => 'string', | ||||||||||||||||||||
| 6435 | 'type' => 'string', | ||||||||||||||||||||
| 6436 | # Common API query parameters | ||||||||||||||||||||
| 6437 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6438 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6439 | 'human' => 'boolean', | ||||||||||||||||||||
| 6440 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6441 | 'source' => 'string', | ||||||||||||||||||||
| 6442 | }, | ||||||||||||||||||||
| 6443 | os_version => 1.000000, | ||||||||||||||||||||
| 6444 | }, | ||||||||||||||||||||
| 6445 | |||||||||||||||||||||
| 6446 | 'nodes.info' => { | ||||||||||||||||||||
| 6447 | doc => 'https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-info/', | ||||||||||||||||||||
| 6448 | method => 'GET', | ||||||||||||||||||||
| 6449 | parts => { metric => { multi => 1 }, node_id => { multi => 1 }}, | ||||||||||||||||||||
| 6450 | paths => [ | ||||||||||||||||||||
| 6451 | [ { node_id => 1, metric => 2 }, "_nodes", "{node_id}", "{metric}" ], | ||||||||||||||||||||
| 6452 | [ { metric => 1 }, "_nodes", "{metric}" ], | ||||||||||||||||||||
| 6453 | [ { node_id => 1 }, "_nodes", "{node_id}" ], | ||||||||||||||||||||
| 6454 | [ {}, "_nodes" ] | ||||||||||||||||||||
| 6455 | ], | ||||||||||||||||||||
| 6456 | qs => { | ||||||||||||||||||||
| 6457 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6458 | 'flat_settings' => 'boolean', | ||||||||||||||||||||
| 6459 | 'timeout' => 'string', | ||||||||||||||||||||
| 6460 | # Common API query parameters | ||||||||||||||||||||
| 6461 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6462 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6463 | 'human' => 'boolean', | ||||||||||||||||||||
| 6464 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6465 | 'source' => 'string', | ||||||||||||||||||||
| 6466 | }, | ||||||||||||||||||||
| 6467 | os_version => 1.000000, | ||||||||||||||||||||
| 6468 | }, | ||||||||||||||||||||
| 6469 | |||||||||||||||||||||
| 6470 | 'nodes.reload_secure_settings' => { | ||||||||||||||||||||
| 6471 | body => {}, | ||||||||||||||||||||
| 6472 | doc => 'https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-reload-secure/', | ||||||||||||||||||||
| 6473 | method => 'POST', | ||||||||||||||||||||
| 6474 | parts => { node_id => { multi => 1 }}, | ||||||||||||||||||||
| 6475 | paths => [ | ||||||||||||||||||||
| 6476 | [ { node_id => 1 }, "_nodes", "{node_id}", "reload_secure_settings" ], | ||||||||||||||||||||
| 6477 | [ {}, "_nodes", "reload_secure_settings" ] | ||||||||||||||||||||
| 6478 | ], | ||||||||||||||||||||
| 6479 | qs => { | ||||||||||||||||||||
| 6480 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6481 | 'timeout' => 'string', | ||||||||||||||||||||
| 6482 | # Common API query parameters | ||||||||||||||||||||
| 6483 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6484 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6485 | 'human' => 'boolean', | ||||||||||||||||||||
| 6486 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6487 | 'source' => 'string', | ||||||||||||||||||||
| 6488 | }, | ||||||||||||||||||||
| 6489 | os_version => 1.000000, | ||||||||||||||||||||
| 6490 | }, | ||||||||||||||||||||
| 6491 | |||||||||||||||||||||
| 6492 | 'nodes.stats' => { | ||||||||||||||||||||
| 6493 | doc => 'https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-usage/', | ||||||||||||||||||||
| 6494 | method => 'GET', | ||||||||||||||||||||
| 6495 | parts => { index_metric => { multi => 1 }, metric => { multi => 1 }, node_id => { multi => 1 }}, | ||||||||||||||||||||
| 6496 | paths => [ | ||||||||||||||||||||
| 6497 | [ { node_id => 1, metric => 3, index_metric => 4 }, "_nodes", "{node_id}", "stats", "{metric}", "{index_metric}" ], | ||||||||||||||||||||
| 6498 | [ { metric => 2, index_metric => 3 }, "_nodes", "stats", "{metric}", "{index_metric}" ], | ||||||||||||||||||||
| 6499 | [ { node_id => 1, metric => 3 }, "_nodes", "{node_id}", "stats", "{metric}" ], | ||||||||||||||||||||
| 6500 | [ { metric => 2 }, "_nodes", "stats", "{metric}" ], | ||||||||||||||||||||
| 6501 | [ { node_id => 1 }, "_nodes", "{node_id}", "stats" ], | ||||||||||||||||||||
| 6502 | [ {}, "_nodes", "stats" ] | ||||||||||||||||||||
| 6503 | ], | ||||||||||||||||||||
| 6504 | qs => { | ||||||||||||||||||||
| 6505 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6506 | 'completion_fields' => 'list', | ||||||||||||||||||||
| 6507 | 'fielddata_fields' => 'list', | ||||||||||||||||||||
| 6508 | 'fields' => 'list', | ||||||||||||||||||||
| 6509 | 'groups' => 'list', | ||||||||||||||||||||
| 6510 | 'include_segment_file_sizes' => 'boolean', | ||||||||||||||||||||
| 6511 | 'level' => 'string', | ||||||||||||||||||||
| 6512 | 'timeout' => 'string', | ||||||||||||||||||||
| 6513 | 'types' => 'list', | ||||||||||||||||||||
| 6514 | # Common API query parameters | ||||||||||||||||||||
| 6515 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6516 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6517 | 'human' => 'boolean', | ||||||||||||||||||||
| 6518 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6519 | 'source' => 'string', | ||||||||||||||||||||
| 6520 | }, | ||||||||||||||||||||
| 6521 | os_version => 1.000000, | ||||||||||||||||||||
| 6522 | }, | ||||||||||||||||||||
| 6523 | |||||||||||||||||||||
| 6524 | 'nodes.usage' => { | ||||||||||||||||||||
| 6525 | doc => 'https://docs.opensearch.org/latest/api-reference/nodes-apis/index/', | ||||||||||||||||||||
| 6526 | method => 'GET', | ||||||||||||||||||||
| 6527 | parts => { metric => { multi => 1 }, node_id => { multi => 1 }}, | ||||||||||||||||||||
| 6528 | paths => [ | ||||||||||||||||||||
| 6529 | [ { node_id => 1, metric => 3 }, "_nodes", "{node_id}", "usage", "{metric}" ], | ||||||||||||||||||||
| 6530 | [ { metric => 2 }, "_nodes", "usage", "{metric}" ], | ||||||||||||||||||||
| 6531 | [ { node_id => 1 }, "_nodes", "{node_id}", "usage" ], | ||||||||||||||||||||
| 6532 | [ {}, "_nodes", "usage" ] | ||||||||||||||||||||
| 6533 | ], | ||||||||||||||||||||
| 6534 | qs => { | ||||||||||||||||||||
| 6535 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6536 | 'timeout' => 'string', | ||||||||||||||||||||
| 6537 | # Common API query parameters | ||||||||||||||||||||
| 6538 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6539 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6540 | 'human' => 'boolean', | ||||||||||||||||||||
| 6541 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6542 | 'source' => 'string', | ||||||||||||||||||||
| 6543 | }, | ||||||||||||||||||||
| 6544 | os_version => 1.000000, | ||||||||||||||||||||
| 6545 | }, | ||||||||||||||||||||
| 6546 | |||||||||||||||||||||
| 6547 | 'notifications.create_config' => { | ||||||||||||||||||||
| 6548 | body => {}, | ||||||||||||||||||||
| 6549 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#create-channel-configuration', | ||||||||||||||||||||
| 6550 | method => 'POST', | ||||||||||||||||||||
| 6551 | parts => {}, | ||||||||||||||||||||
| 6552 | paths => [[ {}, "_plugins", "_notifications", "configs" ]], | ||||||||||||||||||||
| 6553 | qs => { | ||||||||||||||||||||
| 6554 | # Common API query parameters | ||||||||||||||||||||
| 6555 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6556 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6557 | 'human' => 'boolean', | ||||||||||||||||||||
| 6558 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6559 | 'source' => 'string', | ||||||||||||||||||||
| 6560 | }, | ||||||||||||||||||||
| 6561 | os_version => 2.000000, | ||||||||||||||||||||
| 6562 | }, | ||||||||||||||||||||
| 6563 | |||||||||||||||||||||
| 6564 | 'notifications.delete_config' => { | ||||||||||||||||||||
| 6565 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#delete-channel-configuration', | ||||||||||||||||||||
| 6566 | method => 'DELETE', | ||||||||||||||||||||
| 6567 | parts => { config_id => { required => 1 }}, | ||||||||||||||||||||
| 6568 | paths => [[ { config_id => 3 }, "_plugins", "_notifications", "configs", "{config_id}" ]], | ||||||||||||||||||||
| 6569 | qs => { | ||||||||||||||||||||
| 6570 | # Common API query parameters | ||||||||||||||||||||
| 6571 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6572 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6573 | 'human' => 'boolean', | ||||||||||||||||||||
| 6574 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6575 | 'source' => 'string', | ||||||||||||||||||||
| 6576 | }, | ||||||||||||||||||||
| 6577 | os_version => 2.000000, | ||||||||||||||||||||
| 6578 | }, | ||||||||||||||||||||
| 6579 | |||||||||||||||||||||
| 6580 | 'notifications.delete_configs' => { | ||||||||||||||||||||
| 6581 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#delete-channel-configuration', | ||||||||||||||||||||
| 6582 | method => 'DELETE', | ||||||||||||||||||||
| 6583 | parts => {}, | ||||||||||||||||||||
| 6584 | paths => [[ {}, "_plugins", "_notifications", "configs" ]], | ||||||||||||||||||||
| 6585 | qs => { | ||||||||||||||||||||
| 6586 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6587 | 'config_id' => 'string', | ||||||||||||||||||||
| 6588 | 'config_id_list' => 'string', | ||||||||||||||||||||
| 6589 | # Common API query parameters | ||||||||||||||||||||
| 6590 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6591 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6592 | 'human' => 'boolean', | ||||||||||||||||||||
| 6593 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6594 | 'source' => 'string', | ||||||||||||||||||||
| 6595 | }, | ||||||||||||||||||||
| 6596 | os_version => 2.002000, | ||||||||||||||||||||
| 6597 | }, | ||||||||||||||||||||
| 6598 | |||||||||||||||||||||
| 6599 | 'notifications.get_config' => { | ||||||||||||||||||||
| 6600 | doc => 'https://docs.opensearch.org/latest/observing-your-data/notifications/index/', | ||||||||||||||||||||
| 6601 | method => 'GET', | ||||||||||||||||||||
| 6602 | parts => { config_id => { required => 1 }}, | ||||||||||||||||||||
| 6603 | paths => [[ { config_id => 3 }, "_plugins", "_notifications", "configs", "{config_id}" ]], | ||||||||||||||||||||
| 6604 | qs => { | ||||||||||||||||||||
| 6605 | # Common API query parameters | ||||||||||||||||||||
| 6606 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6607 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6608 | 'human' => 'boolean', | ||||||||||||||||||||
| 6609 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6610 | 'source' => 'string', | ||||||||||||||||||||
| 6611 | }, | ||||||||||||||||||||
| 6612 | os_version => 2.000000, | ||||||||||||||||||||
| 6613 | }, | ||||||||||||||||||||
| 6614 | |||||||||||||||||||||
| 6615 | 'notifications.get_configs' => { | ||||||||||||||||||||
| 6616 | body => {}, | ||||||||||||||||||||
| 6617 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#list-all-notification-configurations', | ||||||||||||||||||||
| 6618 | method => 'GET', | ||||||||||||||||||||
| 6619 | parts => {}, | ||||||||||||||||||||
| 6620 | paths => [[ {}, "_plugins", "_notifications", "configs" ]], | ||||||||||||||||||||
| 6621 | qs => { | ||||||||||||||||||||
| 6622 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6623 | 'chime.url' => 'string', | ||||||||||||||||||||
| 6624 | 'chime.url.keyword' => 'string', | ||||||||||||||||||||
| 6625 | 'config_id' => 'string', | ||||||||||||||||||||
| 6626 | 'config_id_list' => 'list', | ||||||||||||||||||||
| 6627 | 'config_type' => 'string', | ||||||||||||||||||||
| 6628 | 'created_time_ms' => 'number', | ||||||||||||||||||||
| 6629 | 'description' => 'string', | ||||||||||||||||||||
| 6630 | 'description.keyword' => 'string', | ||||||||||||||||||||
| 6631 | 'email.email_account_id' => 'string', | ||||||||||||||||||||
| 6632 | 'email.email_group_id_list' => 'string', | ||||||||||||||||||||
| 6633 | 'email.recipient_list.recipient' => 'string', | ||||||||||||||||||||
| 6634 | 'email.recipient_list.recipient.keyword' => 'string', | ||||||||||||||||||||
| 6635 | 'email_group.recipient_list.recipient' => 'string', | ||||||||||||||||||||
| 6636 | 'email_group.recipient_list.recipient.keyword' => 'string', | ||||||||||||||||||||
| 6637 | 'is_enabled' => 'boolean', | ||||||||||||||||||||
| 6638 | 'last_updated_time_ms' => 'number', | ||||||||||||||||||||
| 6639 | 'microsoft_teams.url' => 'string', | ||||||||||||||||||||
| 6640 | 'microsoft_teams.url.keyword' => 'string', | ||||||||||||||||||||
| 6641 | 'name' => 'string', | ||||||||||||||||||||
| 6642 | 'name.keyword' => 'string', | ||||||||||||||||||||
| 6643 | 'query' => 'string', | ||||||||||||||||||||
| 6644 | 'ses_account.from_address' => 'string', | ||||||||||||||||||||
| 6645 | 'ses_account.from_address.keyword' => 'string', | ||||||||||||||||||||
| 6646 | 'ses_account.region' => 'string', | ||||||||||||||||||||
| 6647 | 'ses_account.role_arn' => 'string', | ||||||||||||||||||||
| 6648 | 'ses_account.role_arn.keyword' => 'string', | ||||||||||||||||||||
| 6649 | 'slack.url' => 'string', | ||||||||||||||||||||
| 6650 | 'slack.url.keyword' => 'string', | ||||||||||||||||||||
| 6651 | 'smtp_account.from_address' => 'string', | ||||||||||||||||||||
| 6652 | 'smtp_account.from_address.keyword' => 'string', | ||||||||||||||||||||
| 6653 | 'smtp_account.host' => 'string', | ||||||||||||||||||||
| 6654 | 'smtp_account.host.keyword' => 'string', | ||||||||||||||||||||
| 6655 | 'smtp_account.method' => 'string', | ||||||||||||||||||||
| 6656 | 'sns.role_arn' => 'string', | ||||||||||||||||||||
| 6657 | 'sns.role_arn.keyword' => 'string', | ||||||||||||||||||||
| 6658 | 'sns.topic_arn' => 'string', | ||||||||||||||||||||
| 6659 | 'sns.topic_arn.keyword' => 'string', | ||||||||||||||||||||
| 6660 | 'text_query' => 'string', | ||||||||||||||||||||
| 6661 | 'webhook.url' => 'string', | ||||||||||||||||||||
| 6662 | 'webhook.url.keyword' => 'string', | ||||||||||||||||||||
| 6663 | # Common API query parameters | ||||||||||||||||||||
| 6664 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6665 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6666 | 'human' => 'boolean', | ||||||||||||||||||||
| 6667 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6668 | 'source' => 'string', | ||||||||||||||||||||
| 6669 | }, | ||||||||||||||||||||
| 6670 | os_version => 2.000000, | ||||||||||||||||||||
| 6671 | }, | ||||||||||||||||||||
| 6672 | |||||||||||||||||||||
| 6673 | 'notifications.list_channels' => { | ||||||||||||||||||||
| 6674 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#list-all-notification-channels', | ||||||||||||||||||||
| 6675 | method => 'GET', | ||||||||||||||||||||
| 6676 | parts => {}, | ||||||||||||||||||||
| 6677 | paths => [[ {}, "_plugins", "_notifications", "channels" ]], | ||||||||||||||||||||
| 6678 | qs => { | ||||||||||||||||||||
| 6679 | # Common API query parameters | ||||||||||||||||||||
| 6680 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6681 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6682 | 'human' => 'boolean', | ||||||||||||||||||||
| 6683 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6684 | 'source' => 'string', | ||||||||||||||||||||
| 6685 | }, | ||||||||||||||||||||
| 6686 | os_version => 2.000000, | ||||||||||||||||||||
| 6687 | }, | ||||||||||||||||||||
| 6688 | |||||||||||||||||||||
| 6689 | 'notifications.list_features' => { | ||||||||||||||||||||
| 6690 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#list-supported-channel-configurations', | ||||||||||||||||||||
| 6691 | method => 'GET', | ||||||||||||||||||||
| 6692 | parts => {}, | ||||||||||||||||||||
| 6693 | paths => [[ {}, "_plugins", "_notifications", "features" ]], | ||||||||||||||||||||
| 6694 | qs => { | ||||||||||||||||||||
| 6695 | # Common API query parameters | ||||||||||||||||||||
| 6696 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6697 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6698 | 'human' => 'boolean', | ||||||||||||||||||||
| 6699 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6700 | 'source' => 'string', | ||||||||||||||||||||
| 6701 | }, | ||||||||||||||||||||
| 6702 | os_version => 2.000000, | ||||||||||||||||||||
| 6703 | }, | ||||||||||||||||||||
| 6704 | |||||||||||||||||||||
| 6705 | 'notifications.send_test' => { | ||||||||||||||||||||
| 6706 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#send-test-notification', | ||||||||||||||||||||
| 6707 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 6708 | method => 'detect', | ||||||||||||||||||||
| 6709 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 6710 | parts => { config_id => { required => 1 }}, | ||||||||||||||||||||
| 6711 | paths => [[ { config_id => 4 }, "_plugins", "_notifications", "feature", "test", "{config_id}" ]], | ||||||||||||||||||||
| 6712 | qs => { | ||||||||||||||||||||
| 6713 | # Common API query parameters | ||||||||||||||||||||
| 6714 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6715 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6716 | 'human' => 'boolean', | ||||||||||||||||||||
| 6717 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6718 | 'source' => 'string', | ||||||||||||||||||||
| 6719 | }, | ||||||||||||||||||||
| 6720 | os_version => 2.000000, | ||||||||||||||||||||
| 6721 | }, | ||||||||||||||||||||
| 6722 | |||||||||||||||||||||
| 6723 | 'notifications.update_config' => { | ||||||||||||||||||||
| 6724 | body => {}, | ||||||||||||||||||||
| 6725 | doc => 'https://opensearch.org/docs/latest/observing-your-data/notifications/api/#update-channel-configuration', | ||||||||||||||||||||
| 6726 | method => 'PUT', | ||||||||||||||||||||
| 6727 | parts => { config_id => { required => 1 }}, | ||||||||||||||||||||
| 6728 | paths => [[ { config_id => 3 }, "_plugins", "_notifications", "configs", "{config_id}" ]], | ||||||||||||||||||||
| 6729 | qs => { | ||||||||||||||||||||
| 6730 | # Common API query parameters | ||||||||||||||||||||
| 6731 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6732 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6733 | 'human' => 'boolean', | ||||||||||||||||||||
| 6734 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6735 | 'source' => 'string', | ||||||||||||||||||||
| 6736 | }, | ||||||||||||||||||||
| 6737 | os_version => 2.000000, | ||||||||||||||||||||
| 6738 | }, | ||||||||||||||||||||
| 6739 | |||||||||||||||||||||
| 6740 | 'observability.create_object' => { | ||||||||||||||||||||
| 6741 | body => {}, | ||||||||||||||||||||
| 6742 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6743 | method => 'POST', | ||||||||||||||||||||
| 6744 | parts => {}, | ||||||||||||||||||||
| 6745 | paths => [[ {}, "_plugins", "_observability", "object" ]], | ||||||||||||||||||||
| 6746 | qs => { | ||||||||||||||||||||
| 6747 | # Common API query parameters | ||||||||||||||||||||
| 6748 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6749 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6750 | 'human' => 'boolean', | ||||||||||||||||||||
| 6751 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6752 | 'source' => 'string', | ||||||||||||||||||||
| 6753 | }, | ||||||||||||||||||||
| 6754 | os_version => 1.001000, | ||||||||||||||||||||
| 6755 | }, | ||||||||||||||||||||
| 6756 | |||||||||||||||||||||
| 6757 | 'observability.delete_object' => { | ||||||||||||||||||||
| 6758 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6759 | method => 'DELETE', | ||||||||||||||||||||
| 6760 | parts => { object_id => { required => 1 }}, | ||||||||||||||||||||
| 6761 | paths => [[ { object_id => 3 }, "_plugins", "_observability", "object", "{object_id}" ]], | ||||||||||||||||||||
| 6762 | qs => { | ||||||||||||||||||||
| 6763 | # Common API query parameters | ||||||||||||||||||||
| 6764 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6765 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6766 | 'human' => 'boolean', | ||||||||||||||||||||
| 6767 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6768 | 'source' => 'string', | ||||||||||||||||||||
| 6769 | }, | ||||||||||||||||||||
| 6770 | os_version => 1.001000, | ||||||||||||||||||||
| 6771 | }, | ||||||||||||||||||||
| 6772 | |||||||||||||||||||||
| 6773 | 'observability.delete_objects' => { | ||||||||||||||||||||
| 6774 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6775 | method => 'DELETE', | ||||||||||||||||||||
| 6776 | parts => {}, | ||||||||||||||||||||
| 6777 | paths => [[ {}, "_plugins", "_observability", "object" ]], | ||||||||||||||||||||
| 6778 | qs => { | ||||||||||||||||||||
| 6779 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6780 | 'objectId' => 'string', | ||||||||||||||||||||
| 6781 | 'objectIdList' => 'string', | ||||||||||||||||||||
| 6782 | # Common API query parameters | ||||||||||||||||||||
| 6783 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6784 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6785 | 'human' => 'boolean', | ||||||||||||||||||||
| 6786 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6787 | 'source' => 'string', | ||||||||||||||||||||
| 6788 | }, | ||||||||||||||||||||
| 6789 | os_version => 1.001000, | ||||||||||||||||||||
| 6790 | }, | ||||||||||||||||||||
| 6791 | |||||||||||||||||||||
| 6792 | 'observability.get_localstats' => { | ||||||||||||||||||||
| 6793 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6794 | method => 'GET', | ||||||||||||||||||||
| 6795 | parts => {}, | ||||||||||||||||||||
| 6796 | paths => [[ {}, "_plugins", "_observability", "_local", "stats" ]], | ||||||||||||||||||||
| 6797 | qs => { | ||||||||||||||||||||
| 6798 | # Common API query parameters | ||||||||||||||||||||
| 6799 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6800 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6801 | 'human' => 'boolean', | ||||||||||||||||||||
| 6802 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6803 | 'source' => 'string', | ||||||||||||||||||||
| 6804 | }, | ||||||||||||||||||||
| 6805 | os_version => 2.005000, | ||||||||||||||||||||
| 6806 | }, | ||||||||||||||||||||
| 6807 | |||||||||||||||||||||
| 6808 | 'observability.get_object' => { | ||||||||||||||||||||
| 6809 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6810 | method => 'GET', | ||||||||||||||||||||
| 6811 | parts => { object_id => { required => 1 }}, | ||||||||||||||||||||
| 6812 | paths => [[ { object_id => 3 }, "_plugins", "_observability", "object", "{object_id}" ]], | ||||||||||||||||||||
| 6813 | qs => { | ||||||||||||||||||||
| 6814 | # Common API query parameters | ||||||||||||||||||||
| 6815 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6816 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6817 | 'human' => 'boolean', | ||||||||||||||||||||
| 6818 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6819 | 'source' => 'string', | ||||||||||||||||||||
| 6820 | }, | ||||||||||||||||||||
| 6821 | os_version => 1.001000, | ||||||||||||||||||||
| 6822 | }, | ||||||||||||||||||||
| 6823 | |||||||||||||||||||||
| 6824 | 'observability.list_objects' => { | ||||||||||||||||||||
| 6825 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6826 | method => 'GET', | ||||||||||||||||||||
| 6827 | parts => {}, | ||||||||||||||||||||
| 6828 | paths => [[ {}, "_plugins", "_observability", "object" ]], | ||||||||||||||||||||
| 6829 | qs => { | ||||||||||||||||||||
| 6830 | # Common API query parameters | ||||||||||||||||||||
| 6831 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6832 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6833 | 'human' => 'boolean', | ||||||||||||||||||||
| 6834 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6835 | 'source' => 'string', | ||||||||||||||||||||
| 6836 | }, | ||||||||||||||||||||
| 6837 | os_version => 1.001000, | ||||||||||||||||||||
| 6838 | }, | ||||||||||||||||||||
| 6839 | |||||||||||||||||||||
| 6840 | 'observability.update_object' => { | ||||||||||||||||||||
| 6841 | body => {}, | ||||||||||||||||||||
| 6842 | doc => 'https://docs.opensearch.org/latest/observing-your-data/', | ||||||||||||||||||||
| 6843 | method => 'PUT', | ||||||||||||||||||||
| 6844 | parts => { object_id => { required => 1 }}, | ||||||||||||||||||||
| 6845 | paths => [[ { object_id => 3 }, "_plugins", "_observability", "object", "{object_id}" ]], | ||||||||||||||||||||
| 6846 | qs => { | ||||||||||||||||||||
| 6847 | # Common API query parameters | ||||||||||||||||||||
| 6848 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6849 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6850 | 'human' => 'boolean', | ||||||||||||||||||||
| 6851 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6852 | 'source' => 'string', | ||||||||||||||||||||
| 6853 | }, | ||||||||||||||||||||
| 6854 | os_version => 1.001000, | ||||||||||||||||||||
| 6855 | }, | ||||||||||||||||||||
| 6856 | |||||||||||||||||||||
| 6857 | 'ppl.explain' => { | ||||||||||||||||||||
| 6858 | body => {}, | ||||||||||||||||||||
| 6859 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/', | ||||||||||||||||||||
| 6860 | method => 'POST', | ||||||||||||||||||||
| 6861 | parts => {}, | ||||||||||||||||||||
| 6862 | paths => [[ {}, "_plugins", "_ppl", "_explain" ]], | ||||||||||||||||||||
| 6863 | qs => { | ||||||||||||||||||||
| 6864 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6865 | 'format' => 'string', | ||||||||||||||||||||
| 6866 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 6867 | # Common API query parameters | ||||||||||||||||||||
| 6868 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6869 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6870 | 'human' => 'boolean', | ||||||||||||||||||||
| 6871 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6872 | 'source' => 'string', | ||||||||||||||||||||
| 6873 | }, | ||||||||||||||||||||
| 6874 | os_version => 1.000000, | ||||||||||||||||||||
| 6875 | }, | ||||||||||||||||||||
| 6876 | |||||||||||||||||||||
| 6877 | 'ppl.get_stats' => { | ||||||||||||||||||||
| 6878 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/monitoring/', | ||||||||||||||||||||
| 6879 | method => 'GET', | ||||||||||||||||||||
| 6880 | parts => {}, | ||||||||||||||||||||
| 6881 | paths => [[ {}, "_plugins", "_ppl", "stats" ]], | ||||||||||||||||||||
| 6882 | qs => { | ||||||||||||||||||||
| 6883 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6884 | 'format' => 'string', | ||||||||||||||||||||
| 6885 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 6886 | # Common API query parameters | ||||||||||||||||||||
| 6887 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6888 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6889 | 'human' => 'boolean', | ||||||||||||||||||||
| 6890 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6891 | 'source' => 'string', | ||||||||||||||||||||
| 6892 | }, | ||||||||||||||||||||
| 6893 | os_version => 1.000000, | ||||||||||||||||||||
| 6894 | }, | ||||||||||||||||||||
| 6895 | |||||||||||||||||||||
| 6896 | 'ppl.post_stats' => { | ||||||||||||||||||||
| 6897 | body => {}, | ||||||||||||||||||||
| 6898 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/monitoring/', | ||||||||||||||||||||
| 6899 | method => 'POST', | ||||||||||||||||||||
| 6900 | parts => {}, | ||||||||||||||||||||
| 6901 | paths => [[ {}, "_plugins", "_ppl", "stats" ]], | ||||||||||||||||||||
| 6902 | qs => { | ||||||||||||||||||||
| 6903 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6904 | 'format' => 'string', | ||||||||||||||||||||
| 6905 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 6906 | # Common API query parameters | ||||||||||||||||||||
| 6907 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6908 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6909 | 'human' => 'boolean', | ||||||||||||||||||||
| 6910 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6911 | 'source' => 'string', | ||||||||||||||||||||
| 6912 | }, | ||||||||||||||||||||
| 6913 | os_version => 1.000000, | ||||||||||||||||||||
| 6914 | }, | ||||||||||||||||||||
| 6915 | |||||||||||||||||||||
| 6916 | 'ppl.query' => { | ||||||||||||||||||||
| 6917 | body => {}, | ||||||||||||||||||||
| 6918 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/', | ||||||||||||||||||||
| 6919 | method => 'POST', | ||||||||||||||||||||
| 6920 | parts => {}, | ||||||||||||||||||||
| 6921 | paths => [[ {}, "_plugins", "_ppl" ]], | ||||||||||||||||||||
| 6922 | qs => { | ||||||||||||||||||||
| 6923 | # Endpoint specific query parameters | ||||||||||||||||||||
| 6924 | 'format' => 'string', | ||||||||||||||||||||
| 6925 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 6926 | # Common API query parameters | ||||||||||||||||||||
| 6927 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6928 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6929 | 'human' => 'boolean', | ||||||||||||||||||||
| 6930 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6931 | 'source' => 'string', | ||||||||||||||||||||
| 6932 | }, | ||||||||||||||||||||
| 6933 | os_version => 1.000000, | ||||||||||||||||||||
| 6934 | }, | ||||||||||||||||||||
| 6935 | |||||||||||||||||||||
| 6936 | 'query.datasource_delete' => { | ||||||||||||||||||||
| 6937 | doc => 'https://docs.opensearch.org/latest/observing-your-data/prometheusmetrics/', | ||||||||||||||||||||
| 6938 | method => 'DELETE', | ||||||||||||||||||||
| 6939 | parts => { datasource_name => { required => 1 }}, | ||||||||||||||||||||
| 6940 | paths => [[ { datasource_name => 3 }, "_plugins", "_query", "_datasources", "{datasource_name}" ]], | ||||||||||||||||||||
| 6941 | qs => { | ||||||||||||||||||||
| 6942 | # Common API query parameters | ||||||||||||||||||||
| 6943 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6944 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6945 | 'human' => 'boolean', | ||||||||||||||||||||
| 6946 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6947 | 'source' => 'string', | ||||||||||||||||||||
| 6948 | }, | ||||||||||||||||||||
| 6949 | os_version => 2.007000, | ||||||||||||||||||||
| 6950 | }, | ||||||||||||||||||||
| 6951 | |||||||||||||||||||||
| 6952 | 'query.datasource_retrieve' => { | ||||||||||||||||||||
| 6953 | doc => 'https://docs.opensearch.org/latest/observing-your-data/prometheusmetrics/', | ||||||||||||||||||||
| 6954 | method => 'GET', | ||||||||||||||||||||
| 6955 | parts => { datasource_name => { required => 1 }}, | ||||||||||||||||||||
| 6956 | paths => [[ { datasource_name => 3 }, "_plugins", "_query", "_datasources", "{datasource_name}" ]], | ||||||||||||||||||||
| 6957 | qs => { | ||||||||||||||||||||
| 6958 | # Common API query parameters | ||||||||||||||||||||
| 6959 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6960 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6961 | 'human' => 'boolean', | ||||||||||||||||||||
| 6962 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6963 | 'source' => 'string', | ||||||||||||||||||||
| 6964 | }, | ||||||||||||||||||||
| 6965 | os_version => 2.007000, | ||||||||||||||||||||
| 6966 | }, | ||||||||||||||||||||
| 6967 | |||||||||||||||||||||
| 6968 | 'query.datasources_create' => { | ||||||||||||||||||||
| 6969 | body => {}, | ||||||||||||||||||||
| 6970 | doc => 'https://docs.opensearch.org/latest/observing-your-data/prometheusmetrics/', | ||||||||||||||||||||
| 6971 | method => 'POST', | ||||||||||||||||||||
| 6972 | parts => {}, | ||||||||||||||||||||
| 6973 | paths => [[ {}, "_plugins", "_query", "_datasources" ]], | ||||||||||||||||||||
| 6974 | qs => { | ||||||||||||||||||||
| 6975 | # Common API query parameters | ||||||||||||||||||||
| 6976 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6977 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6978 | 'human' => 'boolean', | ||||||||||||||||||||
| 6979 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6980 | 'source' => 'string', | ||||||||||||||||||||
| 6981 | }, | ||||||||||||||||||||
| 6982 | os_version => 2.007000, | ||||||||||||||||||||
| 6983 | }, | ||||||||||||||||||||
| 6984 | |||||||||||||||||||||
| 6985 | 'query.datasources_list' => { | ||||||||||||||||||||
| 6986 | doc => 'https://docs.opensearch.org/latest/observing-your-data/prometheusmetrics/', | ||||||||||||||||||||
| 6987 | method => 'GET', | ||||||||||||||||||||
| 6988 | parts => {}, | ||||||||||||||||||||
| 6989 | paths => [[ {}, "_plugins", "_query", "_datasources" ]], | ||||||||||||||||||||
| 6990 | qs => { | ||||||||||||||||||||
| 6991 | # Common API query parameters | ||||||||||||||||||||
| 6992 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 6993 | 'filter_path' => 'list', | ||||||||||||||||||||
| 6994 | 'human' => 'boolean', | ||||||||||||||||||||
| 6995 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 6996 | 'source' => 'string', | ||||||||||||||||||||
| 6997 | }, | ||||||||||||||||||||
| 6998 | os_version => 2.007000, | ||||||||||||||||||||
| 6999 | }, | ||||||||||||||||||||
| 7000 | |||||||||||||||||||||
| 7001 | 'query.datasources_update' => { | ||||||||||||||||||||
| 7002 | body => {}, | ||||||||||||||||||||
| 7003 | doc => 'https://docs.opensearch.org/latest/observing-your-data/prometheusmetrics/', | ||||||||||||||||||||
| 7004 | method => 'PUT', | ||||||||||||||||||||
| 7005 | parts => {}, | ||||||||||||||||||||
| 7006 | paths => [[ {}, "_plugins", "_query", "_datasources" ]], | ||||||||||||||||||||
| 7007 | qs => { | ||||||||||||||||||||
| 7008 | # Common API query parameters | ||||||||||||||||||||
| 7009 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7010 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7011 | 'human' => 'boolean', | ||||||||||||||||||||
| 7012 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7013 | 'source' => 'string', | ||||||||||||||||||||
| 7014 | }, | ||||||||||||||||||||
| 7015 | os_version => 2.007000, | ||||||||||||||||||||
| 7016 | }, | ||||||||||||||||||||
| 7017 | |||||||||||||||||||||
| 7018 | 'remote_store.restore' => { | ||||||||||||||||||||
| 7019 | body => {}, | ||||||||||||||||||||
| 7020 | doc => 'https://opensearch.org/docs/latest/opensearch/remote/#restoring-from-a-backup', | ||||||||||||||||||||
| 7021 | method => 'POST', | ||||||||||||||||||||
| 7022 | parts => {}, | ||||||||||||||||||||
| 7023 | paths => [[ {}, "_remotestore", "_restore" ]], | ||||||||||||||||||||
| 7024 | qs => { | ||||||||||||||||||||
| 7025 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7026 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 7027 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 7028 | # Common API query parameters | ||||||||||||||||||||
| 7029 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7030 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7031 | 'human' => 'boolean', | ||||||||||||||||||||
| 7032 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7033 | 'source' => 'string', | ||||||||||||||||||||
| 7034 | }, | ||||||||||||||||||||
| 7035 | os_version => 1.000000, | ||||||||||||||||||||
| 7036 | }, | ||||||||||||||||||||
| 7037 | |||||||||||||||||||||
| 7038 | 'replication.autofollow_stats' => { | ||||||||||||||||||||
| 7039 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#get-auto-follow-stats', | ||||||||||||||||||||
| 7040 | method => 'GET', | ||||||||||||||||||||
| 7041 | parts => {}, | ||||||||||||||||||||
| 7042 | paths => [[ {}, "_plugins", "_replication", "autofollow_stats" ]], | ||||||||||||||||||||
| 7043 | qs => { | ||||||||||||||||||||
| 7044 | # Common API query parameters | ||||||||||||||||||||
| 7045 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7046 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7047 | 'human' => 'boolean', | ||||||||||||||||||||
| 7048 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7049 | 'source' => 'string', | ||||||||||||||||||||
| 7050 | }, | ||||||||||||||||||||
| 7051 | os_version => 1.001000, | ||||||||||||||||||||
| 7052 | }, | ||||||||||||||||||||
| 7053 | |||||||||||||||||||||
| 7054 | 'replication.create_replication_rule' => { | ||||||||||||||||||||
| 7055 | body => {}, | ||||||||||||||||||||
| 7056 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#create-replication-rule', | ||||||||||||||||||||
| 7057 | method => 'POST', | ||||||||||||||||||||
| 7058 | parts => {}, | ||||||||||||||||||||
| 7059 | paths => [[ {}, "_plugins", "_replication", "_autofollow" ]], | ||||||||||||||||||||
| 7060 | qs => { | ||||||||||||||||||||
| 7061 | # Common API query parameters | ||||||||||||||||||||
| 7062 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7063 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7064 | 'human' => 'boolean', | ||||||||||||||||||||
| 7065 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7066 | 'source' => 'string', | ||||||||||||||||||||
| 7067 | }, | ||||||||||||||||||||
| 7068 | os_version => 1.001000, | ||||||||||||||||||||
| 7069 | }, | ||||||||||||||||||||
| 7070 | |||||||||||||||||||||
| 7071 | 'replication.delete_replication_rule' => { | ||||||||||||||||||||
| 7072 | body => {}, | ||||||||||||||||||||
| 7073 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#delete-replication-rule', | ||||||||||||||||||||
| 7074 | method => 'DELETE', | ||||||||||||||||||||
| 7075 | parts => {}, | ||||||||||||||||||||
| 7076 | paths => [[ {}, "_plugins", "_replication", "_autofollow" ]], | ||||||||||||||||||||
| 7077 | qs => { | ||||||||||||||||||||
| 7078 | # Common API query parameters | ||||||||||||||||||||
| 7079 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7080 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7081 | 'human' => 'boolean', | ||||||||||||||||||||
| 7082 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7083 | 'source' => 'string', | ||||||||||||||||||||
| 7084 | }, | ||||||||||||||||||||
| 7085 | os_version => 1.001000, | ||||||||||||||||||||
| 7086 | }, | ||||||||||||||||||||
| 7087 | |||||||||||||||||||||
| 7088 | 'replication.follower_stats' => { | ||||||||||||||||||||
| 7089 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#get-follower-cluster-stats', | ||||||||||||||||||||
| 7090 | method => 'GET', | ||||||||||||||||||||
| 7091 | parts => {}, | ||||||||||||||||||||
| 7092 | paths => [[ {}, "_plugins", "_replication", "follower_stats" ]], | ||||||||||||||||||||
| 7093 | qs => { | ||||||||||||||||||||
| 7094 | # Common API query parameters | ||||||||||||||||||||
| 7095 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7096 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7097 | 'human' => 'boolean', | ||||||||||||||||||||
| 7098 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7099 | 'source' => 'string', | ||||||||||||||||||||
| 7100 | }, | ||||||||||||||||||||
| 7101 | os_version => 1.001000, | ||||||||||||||||||||
| 7102 | }, | ||||||||||||||||||||
| 7103 | |||||||||||||||||||||
| 7104 | 'replication.leader_stats' => { | ||||||||||||||||||||
| 7105 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#get-leader-cluster-stats', | ||||||||||||||||||||
| 7106 | method => 'GET', | ||||||||||||||||||||
| 7107 | parts => {}, | ||||||||||||||||||||
| 7108 | paths => [[ {}, "_plugins", "_replication", "leader_stats" ]], | ||||||||||||||||||||
| 7109 | qs => { | ||||||||||||||||||||
| 7110 | # Common API query parameters | ||||||||||||||||||||
| 7111 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7112 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7113 | 'human' => 'boolean', | ||||||||||||||||||||
| 7114 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7115 | 'source' => 'string', | ||||||||||||||||||||
| 7116 | }, | ||||||||||||||||||||
| 7117 | os_version => 1.001000, | ||||||||||||||||||||
| 7118 | }, | ||||||||||||||||||||
| 7119 | |||||||||||||||||||||
| 7120 | 'replication.pause' => { | ||||||||||||||||||||
| 7121 | body => {}, | ||||||||||||||||||||
| 7122 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#pause-replication', | ||||||||||||||||||||
| 7123 | method => 'POST', | ||||||||||||||||||||
| 7124 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7125 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_pause" ]], | ||||||||||||||||||||
| 7126 | qs => { | ||||||||||||||||||||
| 7127 | # Common API query parameters | ||||||||||||||||||||
| 7128 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7129 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7130 | 'human' => 'boolean', | ||||||||||||||||||||
| 7131 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7132 | 'source' => 'string', | ||||||||||||||||||||
| 7133 | }, | ||||||||||||||||||||
| 7134 | os_version => 1.001000, | ||||||||||||||||||||
| 7135 | }, | ||||||||||||||||||||
| 7136 | |||||||||||||||||||||
| 7137 | 'replication.resume' => { | ||||||||||||||||||||
| 7138 | body => {}, | ||||||||||||||||||||
| 7139 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#resume-replication', | ||||||||||||||||||||
| 7140 | method => 'POST', | ||||||||||||||||||||
| 7141 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7142 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_resume" ]], | ||||||||||||||||||||
| 7143 | qs => { | ||||||||||||||||||||
| 7144 | # Common API query parameters | ||||||||||||||||||||
| 7145 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7146 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7147 | 'human' => 'boolean', | ||||||||||||||||||||
| 7148 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7149 | 'source' => 'string', | ||||||||||||||||||||
| 7150 | }, | ||||||||||||||||||||
| 7151 | os_version => 1.001000, | ||||||||||||||||||||
| 7152 | }, | ||||||||||||||||||||
| 7153 | |||||||||||||||||||||
| 7154 | 'replication.start' => { | ||||||||||||||||||||
| 7155 | body => {}, | ||||||||||||||||||||
| 7156 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#start-replication', | ||||||||||||||||||||
| 7157 | method => 'PUT', | ||||||||||||||||||||
| 7158 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7159 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_start" ]], | ||||||||||||||||||||
| 7160 | qs => { | ||||||||||||||||||||
| 7161 | # Common API query parameters | ||||||||||||||||||||
| 7162 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7163 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7164 | 'human' => 'boolean', | ||||||||||||||||||||
| 7165 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7166 | 'source' => 'string', | ||||||||||||||||||||
| 7167 | }, | ||||||||||||||||||||
| 7168 | os_version => 1.001000, | ||||||||||||||||||||
| 7169 | }, | ||||||||||||||||||||
| 7170 | |||||||||||||||||||||
| 7171 | 'replication.status' => { | ||||||||||||||||||||
| 7172 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#get-replication-status', | ||||||||||||||||||||
| 7173 | method => 'GET', | ||||||||||||||||||||
| 7174 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7175 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_status" ]], | ||||||||||||||||||||
| 7176 | qs => { | ||||||||||||||||||||
| 7177 | # Common API query parameters | ||||||||||||||||||||
| 7178 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7179 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7180 | 'human' => 'boolean', | ||||||||||||||||||||
| 7181 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7182 | 'source' => 'string', | ||||||||||||||||||||
| 7183 | }, | ||||||||||||||||||||
| 7184 | os_version => 1.001000, | ||||||||||||||||||||
| 7185 | }, | ||||||||||||||||||||
| 7186 | |||||||||||||||||||||
| 7187 | 'replication.stop' => { | ||||||||||||||||||||
| 7188 | body => {}, | ||||||||||||||||||||
| 7189 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#stop-replication', | ||||||||||||||||||||
| 7190 | method => 'POST', | ||||||||||||||||||||
| 7191 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7192 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_stop" ]], | ||||||||||||||||||||
| 7193 | qs => { | ||||||||||||||||||||
| 7194 | # Common API query parameters | ||||||||||||||||||||
| 7195 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7196 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7197 | 'human' => 'boolean', | ||||||||||||||||||||
| 7198 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7199 | 'source' => 'string', | ||||||||||||||||||||
| 7200 | }, | ||||||||||||||||||||
| 7201 | os_version => 1.001000, | ||||||||||||||||||||
| 7202 | }, | ||||||||||||||||||||
| 7203 | |||||||||||||||||||||
| 7204 | 'replication.update_settings' => { | ||||||||||||||||||||
| 7205 | body => {}, | ||||||||||||||||||||
| 7206 | doc => 'https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/api/#update-settings', | ||||||||||||||||||||
| 7207 | method => 'PUT', | ||||||||||||||||||||
| 7208 | parts => { index => { required => 1 }}, | ||||||||||||||||||||
| 7209 | paths => [[ { index => 2 }, "_plugins", "_replication", "{index}", "_update" ]], | ||||||||||||||||||||
| 7210 | qs => { | ||||||||||||||||||||
| 7211 | # Common API query parameters | ||||||||||||||||||||
| 7212 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7213 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7214 | 'human' => 'boolean', | ||||||||||||||||||||
| 7215 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7216 | 'source' => 'string', | ||||||||||||||||||||
| 7217 | }, | ||||||||||||||||||||
| 7218 | os_version => 1.001000, | ||||||||||||||||||||
| 7219 | }, | ||||||||||||||||||||
| 7220 | |||||||||||||||||||||
| 7221 | 'rollups.delete' => { | ||||||||||||||||||||
| 7222 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#delete-an-index-rollup-job', | ||||||||||||||||||||
| 7223 | method => 'DELETE', | ||||||||||||||||||||
| 7224 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7225 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}" ]], | ||||||||||||||||||||
| 7226 | qs => { | ||||||||||||||||||||
| 7227 | # Common API query parameters | ||||||||||||||||||||
| 7228 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7229 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7230 | 'human' => 'boolean', | ||||||||||||||||||||
| 7231 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7232 | 'source' => 'string', | ||||||||||||||||||||
| 7233 | }, | ||||||||||||||||||||
| 7234 | os_version => 1.000000, | ||||||||||||||||||||
| 7235 | }, | ||||||||||||||||||||
| 7236 | |||||||||||||||||||||
| 7237 | 'rollups.explain' => { | ||||||||||||||||||||
| 7238 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#explain-an-index-rollup-job', | ||||||||||||||||||||
| 7239 | method => 'GET', | ||||||||||||||||||||
| 7240 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7241 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}", "_explain" ]], | ||||||||||||||||||||
| 7242 | qs => { | ||||||||||||||||||||
| 7243 | # Common API query parameters | ||||||||||||||||||||
| 7244 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7245 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7246 | 'human' => 'boolean', | ||||||||||||||||||||
| 7247 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7248 | 'source' => 'string', | ||||||||||||||||||||
| 7249 | }, | ||||||||||||||||||||
| 7250 | os_version => 1.000000, | ||||||||||||||||||||
| 7251 | }, | ||||||||||||||||||||
| 7252 | |||||||||||||||||||||
| 7253 | 'rollups.get' => { | ||||||||||||||||||||
| 7254 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#get-an-index-rollup-job', | ||||||||||||||||||||
| 7255 | method => 'GET', | ||||||||||||||||||||
| 7256 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7257 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}" ]], | ||||||||||||||||||||
| 7258 | qs => { | ||||||||||||||||||||
| 7259 | # Common API query parameters | ||||||||||||||||||||
| 7260 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7261 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7262 | 'human' => 'boolean', | ||||||||||||||||||||
| 7263 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7264 | 'source' => 'string', | ||||||||||||||||||||
| 7265 | }, | ||||||||||||||||||||
| 7266 | os_version => 1.000000, | ||||||||||||||||||||
| 7267 | }, | ||||||||||||||||||||
| 7268 | |||||||||||||||||||||
| 7269 | 'rollups.put' => { | ||||||||||||||||||||
| 7270 | body => {}, | ||||||||||||||||||||
| 7271 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#create-or-update-an-index-rollup-job', | ||||||||||||||||||||
| 7272 | method => 'PUT', | ||||||||||||||||||||
| 7273 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7274 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}" ]], | ||||||||||||||||||||
| 7275 | qs => { | ||||||||||||||||||||
| 7276 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7277 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 7278 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 7279 | # Common API query parameters | ||||||||||||||||||||
| 7280 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7281 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7282 | 'human' => 'boolean', | ||||||||||||||||||||
| 7283 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7284 | 'source' => 'string', | ||||||||||||||||||||
| 7285 | }, | ||||||||||||||||||||
| 7286 | os_version => 1.000000, | ||||||||||||||||||||
| 7287 | }, | ||||||||||||||||||||
| 7288 | |||||||||||||||||||||
| 7289 | 'rollups.start' => { | ||||||||||||||||||||
| 7290 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#start-or-stop-an-index-rollup-job', | ||||||||||||||||||||
| 7291 | method => 'POST', | ||||||||||||||||||||
| 7292 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7293 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}", "_start" ]], | ||||||||||||||||||||
| 7294 | qs => { | ||||||||||||||||||||
| 7295 | # Common API query parameters | ||||||||||||||||||||
| 7296 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7297 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7298 | 'human' => 'boolean', | ||||||||||||||||||||
| 7299 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7300 | 'source' => 'string', | ||||||||||||||||||||
| 7301 | }, | ||||||||||||||||||||
| 7302 | os_version => 1.000000, | ||||||||||||||||||||
| 7303 | }, | ||||||||||||||||||||
| 7304 | |||||||||||||||||||||
| 7305 | 'rollups.stop' => { | ||||||||||||||||||||
| 7306 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#start-or-stop-an-index-rollup-job', | ||||||||||||||||||||
| 7307 | method => 'POST', | ||||||||||||||||||||
| 7308 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7309 | paths => [[ { id => 3 }, "_plugins", "_rollup", "jobs", "{id}", "_stop" ]], | ||||||||||||||||||||
| 7310 | qs => { | ||||||||||||||||||||
| 7311 | # Common API query parameters | ||||||||||||||||||||
| 7312 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7313 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7314 | 'human' => 'boolean', | ||||||||||||||||||||
| 7315 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7316 | 'source' => 'string', | ||||||||||||||||||||
| 7317 | }, | ||||||||||||||||||||
| 7318 | os_version => 1.000000, | ||||||||||||||||||||
| 7319 | }, | ||||||||||||||||||||
| 7320 | |||||||||||||||||||||
| 7321 | 'search_pipeline.delete' => { | ||||||||||||||||||||
| 7322 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-pipelines/index/', | ||||||||||||||||||||
| 7323 | method => 'DELETE', | ||||||||||||||||||||
| 7324 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7325 | paths => [[ { id => 2 }, "_search", "pipeline", "{id}" ]], | ||||||||||||||||||||
| 7326 | qs => { | ||||||||||||||||||||
| 7327 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7328 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 7329 | 'timeout' => 'string', | ||||||||||||||||||||
| 7330 | # Common API query parameters | ||||||||||||||||||||
| 7331 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7332 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7333 | 'human' => 'boolean', | ||||||||||||||||||||
| 7334 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7335 | 'source' => 'string', | ||||||||||||||||||||
| 7336 | }, | ||||||||||||||||||||
| 7337 | os_version => 2.009000, | ||||||||||||||||||||
| 7338 | }, | ||||||||||||||||||||
| 7339 | |||||||||||||||||||||
| 7340 | 'search_pipeline.get' => { | ||||||||||||||||||||
| 7341 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-pipelines/index/', | ||||||||||||||||||||
| 7342 | method => 'GET', | ||||||||||||||||||||
| 7343 | parts => { id => {}}, | ||||||||||||||||||||
| 7344 | paths => [ | ||||||||||||||||||||
| 7345 | [ { id => 2 }, "_search", "pipeline", "{id}" ], | ||||||||||||||||||||
| 7346 | [ {}, "_search", "pipeline" ] | ||||||||||||||||||||
| 7347 | ], | ||||||||||||||||||||
| 7348 | qs => { | ||||||||||||||||||||
| 7349 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7350 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 7351 | # Common API query parameters | ||||||||||||||||||||
| 7352 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7353 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7354 | 'human' => 'boolean', | ||||||||||||||||||||
| 7355 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7356 | 'source' => 'string', | ||||||||||||||||||||
| 7357 | }, | ||||||||||||||||||||
| 7358 | os_version => 2.009000, | ||||||||||||||||||||
| 7359 | }, | ||||||||||||||||||||
| 7360 | |||||||||||||||||||||
| 7361 | 'search_pipeline.put' => { | ||||||||||||||||||||
| 7362 | body => {}, | ||||||||||||||||||||
| 7363 | doc => 'https://opensearch.org/docs/latest/search-plugins/search-pipelines/creating-search-pipeline/', | ||||||||||||||||||||
| 7364 | method => 'PUT', | ||||||||||||||||||||
| 7365 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 7366 | paths => [[ { id => 2 }, "_search", "pipeline", "{id}" ]], | ||||||||||||||||||||
| 7367 | qs => { | ||||||||||||||||||||
| 7368 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7369 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 7370 | 'timeout' => 'string', | ||||||||||||||||||||
| 7371 | # Common API query parameters | ||||||||||||||||||||
| 7372 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7373 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7374 | 'human' => 'boolean', | ||||||||||||||||||||
| 7375 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7376 | 'source' => 'string', | ||||||||||||||||||||
| 7377 | }, | ||||||||||||||||||||
| 7378 | os_version => 2.009000, | ||||||||||||||||||||
| 7379 | }, | ||||||||||||||||||||
| 7380 | |||||||||||||||||||||
| 7381 | 'search_relevance.delete_experiments' => { | ||||||||||||||||||||
| 7382 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7383 | method => 'DELETE', | ||||||||||||||||||||
| 7384 | parts => { experiment_id => { required => 1 }}, | ||||||||||||||||||||
| 7385 | paths => [[ { experiment_id => 3 }, "_plugins", "_search_relevance", "experiments", "{experiment_id}" ]], | ||||||||||||||||||||
| 7386 | qs => { | ||||||||||||||||||||
| 7387 | # Common API query parameters | ||||||||||||||||||||
| 7388 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7389 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7390 | 'human' => 'boolean', | ||||||||||||||||||||
| 7391 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7392 | 'source' => 'string', | ||||||||||||||||||||
| 7393 | }, | ||||||||||||||||||||
| 7394 | os_version => 3.001000, | ||||||||||||||||||||
| 7395 | }, | ||||||||||||||||||||
| 7396 | |||||||||||||||||||||
| 7397 | 'search_relevance.delete_judgments' => { | ||||||||||||||||||||
| 7398 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7399 | method => 'DELETE', | ||||||||||||||||||||
| 7400 | parts => { judgment_id => { required => 1 }}, | ||||||||||||||||||||
| 7401 | paths => [[ { judgment_id => 3 }, "_plugins", "_search_relevance", "judgments", "{judgment_id}" ]], | ||||||||||||||||||||
| 7402 | qs => { | ||||||||||||||||||||
| 7403 | # Common API query parameters | ||||||||||||||||||||
| 7404 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7405 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7406 | 'human' => 'boolean', | ||||||||||||||||||||
| 7407 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7408 | 'source' => 'string', | ||||||||||||||||||||
| 7409 | }, | ||||||||||||||||||||
| 7410 | os_version => 3.001000, | ||||||||||||||||||||
| 7411 | }, | ||||||||||||||||||||
| 7412 | |||||||||||||||||||||
| 7413 | 'search_relevance.delete_query_sets' => { | ||||||||||||||||||||
| 7414 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7415 | method => 'DELETE', | ||||||||||||||||||||
| 7416 | parts => { query_set_id => { required => 1 }}, | ||||||||||||||||||||
| 7417 | paths => [[ { query_set_id => 3 }, "_plugins", "_search_relevance", "query_sets", "{query_set_id}" ]], | ||||||||||||||||||||
| 7418 | qs => { | ||||||||||||||||||||
| 7419 | # Common API query parameters | ||||||||||||||||||||
| 7420 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7421 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7422 | 'human' => 'boolean', | ||||||||||||||||||||
| 7423 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7424 | 'source' => 'string', | ||||||||||||||||||||
| 7425 | }, | ||||||||||||||||||||
| 7426 | os_version => 3.001000, | ||||||||||||||||||||
| 7427 | }, | ||||||||||||||||||||
| 7428 | |||||||||||||||||||||
| 7429 | 'search_relevance.delete_scheduled_experiments' => { | ||||||||||||||||||||
| 7430 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7431 | method => 'DELETE', | ||||||||||||||||||||
| 7432 | parts => { experiment_id => { required => 1 }}, | ||||||||||||||||||||
| 7433 | paths => [[ { experiment_id => 4 }, "_plugins", "_search_relevance", "experiments", "schedule", "{experiment_id}" ]], | ||||||||||||||||||||
| 7434 | qs => { | ||||||||||||||||||||
| 7435 | # Common API query parameters | ||||||||||||||||||||
| 7436 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7437 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7438 | 'human' => 'boolean', | ||||||||||||||||||||
| 7439 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7440 | 'source' => 'string', | ||||||||||||||||||||
| 7441 | }, | ||||||||||||||||||||
| 7442 | os_version => 3.004000, | ||||||||||||||||||||
| 7443 | }, | ||||||||||||||||||||
| 7444 | |||||||||||||||||||||
| 7445 | 'search_relevance.delete_search_configurations' => { | ||||||||||||||||||||
| 7446 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7447 | method => 'DELETE', | ||||||||||||||||||||
| 7448 | parts => { search_configuration_id => { required => 1 }}, | ||||||||||||||||||||
| 7449 | paths => [[ { search_configuration_id => 3 }, "_plugins", "_search_relevance", "search_configurations", "{search_configuration_id}" ]], | ||||||||||||||||||||
| 7450 | qs => { | ||||||||||||||||||||
| 7451 | # Common API query parameters | ||||||||||||||||||||
| 7452 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7453 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7454 | 'human' => 'boolean', | ||||||||||||||||||||
| 7455 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7456 | 'source' => 'string', | ||||||||||||||||||||
| 7457 | }, | ||||||||||||||||||||
| 7458 | os_version => 3.001000, | ||||||||||||||||||||
| 7459 | }, | ||||||||||||||||||||
| 7460 | |||||||||||||||||||||
| 7461 | 'search_relevance.get_experiments' => { | ||||||||||||||||||||
| 7462 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7463 | method => 'GET', | ||||||||||||||||||||
| 7464 | parts => { experiment_id => {}}, | ||||||||||||||||||||
| 7465 | paths => [ | ||||||||||||||||||||
| 7466 | [ { experiment_id => 3 }, "_plugins", "_search_relevance", "experiments", "{experiment_id}" ], | ||||||||||||||||||||
| 7467 | [ {}, "_plugins", "_search_relevance", "experiments" ] | ||||||||||||||||||||
| 7468 | ], | ||||||||||||||||||||
| 7469 | qs => { | ||||||||||||||||||||
| 7470 | # Common API query parameters | ||||||||||||||||||||
| 7471 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7472 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7473 | 'human' => 'boolean', | ||||||||||||||||||||
| 7474 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7475 | 'source' => 'string', | ||||||||||||||||||||
| 7476 | }, | ||||||||||||||||||||
| 7477 | os_version => 3.001000, | ||||||||||||||||||||
| 7478 | }, | ||||||||||||||||||||
| 7479 | |||||||||||||||||||||
| 7480 | 'search_relevance.get_judgments' => { | ||||||||||||||||||||
| 7481 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7482 | method => 'GET', | ||||||||||||||||||||
| 7483 | parts => { judgment_id => {}}, | ||||||||||||||||||||
| 7484 | paths => [ | ||||||||||||||||||||
| 7485 | [ { judgment_id => 3 }, "_plugins", "_search_relevance", "judgments", "{judgment_id}" ], | ||||||||||||||||||||
| 7486 | [ {}, "_plugins", "_search_relevance", "judgments" ] | ||||||||||||||||||||
| 7487 | ], | ||||||||||||||||||||
| 7488 | qs => { | ||||||||||||||||||||
| 7489 | # Common API query parameters | ||||||||||||||||||||
| 7490 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7491 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7492 | 'human' => 'boolean', | ||||||||||||||||||||
| 7493 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7494 | 'source' => 'string', | ||||||||||||||||||||
| 7495 | }, | ||||||||||||||||||||
| 7496 | os_version => 3.001000, | ||||||||||||||||||||
| 7497 | }, | ||||||||||||||||||||
| 7498 | |||||||||||||||||||||
| 7499 | 'search_relevance.get_node_stats' => { | ||||||||||||||||||||
| 7500 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7501 | method => 'GET', | ||||||||||||||||||||
| 7502 | parts => { node_id => { required => 1 }, stat => {}}, | ||||||||||||||||||||
| 7503 | paths => [ | ||||||||||||||||||||
| 7504 | [ { node_id => 2, stat => 4 }, "_plugins", "_search_relevance", "{node_id}", "stats", "{stat}" ], | ||||||||||||||||||||
| 7505 | [ { node_id => 2 }, "_plugins", "_search_relevance", "{node_id}", "stats" ] | ||||||||||||||||||||
| 7506 | ], | ||||||||||||||||||||
| 7507 | qs => { | ||||||||||||||||||||
| 7508 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7509 | 'flat_stat_paths' => 'string', | ||||||||||||||||||||
| 7510 | 'include_all_nodes' => 'string', | ||||||||||||||||||||
| 7511 | 'include_individual_nodes' => 'string', | ||||||||||||||||||||
| 7512 | 'include_info' => 'string', | ||||||||||||||||||||
| 7513 | 'include_metadata' => 'string', | ||||||||||||||||||||
| 7514 | # Common API query parameters | ||||||||||||||||||||
| 7515 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7516 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7517 | 'human' => 'boolean', | ||||||||||||||||||||
| 7518 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7519 | 'source' => 'string', | ||||||||||||||||||||
| 7520 | }, | ||||||||||||||||||||
| 7521 | os_version => 3.001000, | ||||||||||||||||||||
| 7522 | }, | ||||||||||||||||||||
| 7523 | |||||||||||||||||||||
| 7524 | 'search_relevance.get_query_sets' => { | ||||||||||||||||||||
| 7525 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7526 | method => 'GET', | ||||||||||||||||||||
| 7527 | parts => { query_set_id => {}}, | ||||||||||||||||||||
| 7528 | paths => [ | ||||||||||||||||||||
| 7529 | [ { query_set_id => 3 }, "_plugins", "_search_relevance", "query_sets", "{query_set_id}" ], | ||||||||||||||||||||
| 7530 | [ {}, "_plugins", "_search_relevance", "query_sets" ] | ||||||||||||||||||||
| 7531 | ], | ||||||||||||||||||||
| 7532 | qs => { | ||||||||||||||||||||
| 7533 | # Common API query parameters | ||||||||||||||||||||
| 7534 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7535 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7536 | 'human' => 'boolean', | ||||||||||||||||||||
| 7537 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7538 | 'source' => 'string', | ||||||||||||||||||||
| 7539 | }, | ||||||||||||||||||||
| 7540 | os_version => 3.001000, | ||||||||||||||||||||
| 7541 | }, | ||||||||||||||||||||
| 7542 | |||||||||||||||||||||
| 7543 | 'search_relevance.get_scheduled_experiments' => { | ||||||||||||||||||||
| 7544 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7545 | method => 'GET', | ||||||||||||||||||||
| 7546 | parts => { experiment_id => {}}, | ||||||||||||||||||||
| 7547 | paths => [ | ||||||||||||||||||||
| 7548 | [ { experiment_id => 4 }, "_plugins", "_search_relevance", "experiments", "schedule", "{experiment_id}" ], | ||||||||||||||||||||
| 7549 | [ {}, "_plugins", "_search_relevance", "experiments", "schedule" ] | ||||||||||||||||||||
| 7550 | ], | ||||||||||||||||||||
| 7551 | qs => { | ||||||||||||||||||||
| 7552 | # Common API query parameters | ||||||||||||||||||||
| 7553 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7554 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7555 | 'human' => 'boolean', | ||||||||||||||||||||
| 7556 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7557 | 'source' => 'string', | ||||||||||||||||||||
| 7558 | }, | ||||||||||||||||||||
| 7559 | os_version => 3.004000, | ||||||||||||||||||||
| 7560 | }, | ||||||||||||||||||||
| 7561 | |||||||||||||||||||||
| 7562 | 'search_relevance.get_search_configurations' => { | ||||||||||||||||||||
| 7563 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7564 | method => 'GET', | ||||||||||||||||||||
| 7565 | parts => { search_configuration_id => {}}, | ||||||||||||||||||||
| 7566 | paths => [ | ||||||||||||||||||||
| 7567 | [ { search_configuration_id => 3 }, "_plugins", "_search_relevance", "search_configurations", "{search_configuration_id}" ], | ||||||||||||||||||||
| 7568 | [ {}, "_plugins", "_search_relevance", "search_configurations" ] | ||||||||||||||||||||
| 7569 | ], | ||||||||||||||||||||
| 7570 | qs => { | ||||||||||||||||||||
| 7571 | # Common API query parameters | ||||||||||||||||||||
| 7572 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7573 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7574 | 'human' => 'boolean', | ||||||||||||||||||||
| 7575 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7576 | 'source' => 'string', | ||||||||||||||||||||
| 7577 | }, | ||||||||||||||||||||
| 7578 | os_version => 3.001000, | ||||||||||||||||||||
| 7579 | }, | ||||||||||||||||||||
| 7580 | |||||||||||||||||||||
| 7581 | 'search_relevance.get_stats' => { | ||||||||||||||||||||
| 7582 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7583 | method => 'GET', | ||||||||||||||||||||
| 7584 | parts => { stat => {}}, | ||||||||||||||||||||
| 7585 | paths => [ | ||||||||||||||||||||
| 7586 | [ { stat => 3 }, "_plugins", "_search_relevance", "stats", "{stat}" ], | ||||||||||||||||||||
| 7587 | [ {}, "_plugins", "_search_relevance", "stats" ] | ||||||||||||||||||||
| 7588 | ], | ||||||||||||||||||||
| 7589 | qs => { | ||||||||||||||||||||
| 7590 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7591 | 'flat_stat_paths' => 'string', | ||||||||||||||||||||
| 7592 | 'include_all_nodes' => 'string', | ||||||||||||||||||||
| 7593 | 'include_individual_nodes' => 'string', | ||||||||||||||||||||
| 7594 | 'include_info' => 'string', | ||||||||||||||||||||
| 7595 | 'include_metadata' => 'string', | ||||||||||||||||||||
| 7596 | # Common API query parameters | ||||||||||||||||||||
| 7597 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7598 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7599 | 'human' => 'boolean', | ||||||||||||||||||||
| 7600 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7601 | 'source' => 'string', | ||||||||||||||||||||
| 7602 | }, | ||||||||||||||||||||
| 7603 | os_version => 3.001000, | ||||||||||||||||||||
| 7604 | }, | ||||||||||||||||||||
| 7605 | |||||||||||||||||||||
| 7606 | 'search_relevance.post_query_sets' => { | ||||||||||||||||||||
| 7607 | body => {}, | ||||||||||||||||||||
| 7608 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7609 | method => 'POST', | ||||||||||||||||||||
| 7610 | parts => {}, | ||||||||||||||||||||
| 7611 | paths => [[ {}, "_plugins", "_search_relevance", "query_sets" ]], | ||||||||||||||||||||
| 7612 | qs => { | ||||||||||||||||||||
| 7613 | # Common API query parameters | ||||||||||||||||||||
| 7614 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7615 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7616 | 'human' => 'boolean', | ||||||||||||||||||||
| 7617 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7618 | 'source' => 'string', | ||||||||||||||||||||
| 7619 | }, | ||||||||||||||||||||
| 7620 | os_version => 3.001000, | ||||||||||||||||||||
| 7621 | }, | ||||||||||||||||||||
| 7622 | |||||||||||||||||||||
| 7623 | 'search_relevance.post_scheduled_experiments' => { | ||||||||||||||||||||
| 7624 | body => {}, | ||||||||||||||||||||
| 7625 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7626 | method => 'POST', | ||||||||||||||||||||
| 7627 | parts => {}, | ||||||||||||||||||||
| 7628 | paths => [[ {}, "_plugins", "_search_relevance", "experiments", "schedule" ]], | ||||||||||||||||||||
| 7629 | qs => { | ||||||||||||||||||||
| 7630 | # Common API query parameters | ||||||||||||||||||||
| 7631 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7632 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7633 | 'human' => 'boolean', | ||||||||||||||||||||
| 7634 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7635 | 'source' => 'string', | ||||||||||||||||||||
| 7636 | }, | ||||||||||||||||||||
| 7637 | os_version => 3.004000, | ||||||||||||||||||||
| 7638 | }, | ||||||||||||||||||||
| 7639 | |||||||||||||||||||||
| 7640 | 'search_relevance.put_experiments' => { | ||||||||||||||||||||
| 7641 | body => {}, | ||||||||||||||||||||
| 7642 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7643 | method => 'PUT', | ||||||||||||||||||||
| 7644 | parts => {}, | ||||||||||||||||||||
| 7645 | paths => [[ {}, "_plugins", "_search_relevance", "experiments" ]], | ||||||||||||||||||||
| 7646 | qs => { | ||||||||||||||||||||
| 7647 | # Common API query parameters | ||||||||||||||||||||
| 7648 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7649 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7650 | 'human' => 'boolean', | ||||||||||||||||||||
| 7651 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7652 | 'source' => 'string', | ||||||||||||||||||||
| 7653 | }, | ||||||||||||||||||||
| 7654 | os_version => 3.001000, | ||||||||||||||||||||
| 7655 | }, | ||||||||||||||||||||
| 7656 | |||||||||||||||||||||
| 7657 | 'search_relevance.put_judgments' => { | ||||||||||||||||||||
| 7658 | body => {}, | ||||||||||||||||||||
| 7659 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7660 | method => 'PUT', | ||||||||||||||||||||
| 7661 | parts => {}, | ||||||||||||||||||||
| 7662 | paths => [[ {}, "_plugins", "_search_relevance", "judgments" ]], | ||||||||||||||||||||
| 7663 | qs => { | ||||||||||||||||||||
| 7664 | # Common API query parameters | ||||||||||||||||||||
| 7665 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7666 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7667 | 'human' => 'boolean', | ||||||||||||||||||||
| 7668 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7669 | 'source' => 'string', | ||||||||||||||||||||
| 7670 | }, | ||||||||||||||||||||
| 7671 | os_version => 3.001000, | ||||||||||||||||||||
| 7672 | }, | ||||||||||||||||||||
| 7673 | |||||||||||||||||||||
| 7674 | 'search_relevance.put_query_sets' => { | ||||||||||||||||||||
| 7675 | body => {}, | ||||||||||||||||||||
| 7676 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7677 | method => 'PUT', | ||||||||||||||||||||
| 7678 | parts => {}, | ||||||||||||||||||||
| 7679 | paths => [[ {}, "_plugins", "_search_relevance", "query_sets" ]], | ||||||||||||||||||||
| 7680 | qs => { | ||||||||||||||||||||
| 7681 | # Common API query parameters | ||||||||||||||||||||
| 7682 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7683 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7684 | 'human' => 'boolean', | ||||||||||||||||||||
| 7685 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7686 | 'source' => 'string', | ||||||||||||||||||||
| 7687 | }, | ||||||||||||||||||||
| 7688 | os_version => 3.001000, | ||||||||||||||||||||
| 7689 | }, | ||||||||||||||||||||
| 7690 | |||||||||||||||||||||
| 7691 | 'search_relevance.put_search_configurations' => { | ||||||||||||||||||||
| 7692 | body => {}, | ||||||||||||||||||||
| 7693 | doc => 'https://docs.opensearch.org/latest/search-plugins/search-relevance/using-search-relevance-workbench/', | ||||||||||||||||||||
| 7694 | method => 'PUT', | ||||||||||||||||||||
| 7695 | parts => {}, | ||||||||||||||||||||
| 7696 | paths => [[ {}, "_plugins", "_search_relevance", "search_configurations" ]], | ||||||||||||||||||||
| 7697 | qs => { | ||||||||||||||||||||
| 7698 | # Common API query parameters | ||||||||||||||||||||
| 7699 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7700 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7701 | 'human' => 'boolean', | ||||||||||||||||||||
| 7702 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7703 | 'source' => 'string', | ||||||||||||||||||||
| 7704 | }, | ||||||||||||||||||||
| 7705 | os_version => 3.001000, | ||||||||||||||||||||
| 7706 | }, | ||||||||||||||||||||
| 7707 | |||||||||||||||||||||
| 7708 | 'security.authinfo' => { | ||||||||||||||||||||
| 7709 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 7710 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 7711 | method => 'detect', | ||||||||||||||||||||
| 7712 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 7713 | parts => {}, | ||||||||||||||||||||
| 7714 | paths => [[ {}, "_plugins", "_security", "authinfo" ]], | ||||||||||||||||||||
| 7715 | qs => { | ||||||||||||||||||||
| 7716 | # Endpoint specific query parameters | ||||||||||||||||||||
| 7717 | 'auth_type' => 'string', | ||||||||||||||||||||
| 7718 | 'verbose' => 'boolean', | ||||||||||||||||||||
| 7719 | # Common API query parameters | ||||||||||||||||||||
| 7720 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7721 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7722 | 'human' => 'boolean', | ||||||||||||||||||||
| 7723 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7724 | 'source' => 'string', | ||||||||||||||||||||
| 7725 | }, | ||||||||||||||||||||
| 7726 | os_version => 1.000000, | ||||||||||||||||||||
| 7727 | }, | ||||||||||||||||||||
| 7728 | |||||||||||||||||||||
| 7729 | 'security.authtoken' => { | ||||||||||||||||||||
| 7730 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 7731 | method => 'POST', | ||||||||||||||||||||
| 7732 | parts => {}, | ||||||||||||||||||||
| 7733 | paths => [[ {}, "_plugins", "_security", "api", "authtoken" ]], | ||||||||||||||||||||
| 7734 | qs => { | ||||||||||||||||||||
| 7735 | # Common API query parameters | ||||||||||||||||||||
| 7736 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7737 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7738 | 'human' => 'boolean', | ||||||||||||||||||||
| 7739 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7740 | 'source' => 'string', | ||||||||||||||||||||
| 7741 | }, | ||||||||||||||||||||
| 7742 | os_version => 1.000000, | ||||||||||||||||||||
| 7743 | }, | ||||||||||||||||||||
| 7744 | |||||||||||||||||||||
| 7745 | 'security.change_password' => { | ||||||||||||||||||||
| 7746 | body => {}, | ||||||||||||||||||||
| 7747 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#change-password', | ||||||||||||||||||||
| 7748 | method => 'PUT', | ||||||||||||||||||||
| 7749 | parts => {}, | ||||||||||||||||||||
| 7750 | paths => [[ {}, "_plugins", "_security", "api", "account" ]], | ||||||||||||||||||||
| 7751 | qs => { | ||||||||||||||||||||
| 7752 | # Common API query parameters | ||||||||||||||||||||
| 7753 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7754 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7755 | 'human' => 'boolean', | ||||||||||||||||||||
| 7756 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7757 | 'source' => 'string', | ||||||||||||||||||||
| 7758 | }, | ||||||||||||||||||||
| 7759 | os_version => 1.000000, | ||||||||||||||||||||
| 7760 | }, | ||||||||||||||||||||
| 7761 | |||||||||||||||||||||
| 7762 | 'security.config_upgrade_check' => { | ||||||||||||||||||||
| 7763 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#configuration-upgrade-check', | ||||||||||||||||||||
| 7764 | method => 'GET', | ||||||||||||||||||||
| 7765 | parts => {}, | ||||||||||||||||||||
| 7766 | paths => [[ {}, "_plugins", "_security", "api", "_upgrade_check" ]], | ||||||||||||||||||||
| 7767 | qs => { | ||||||||||||||||||||
| 7768 | # Common API query parameters | ||||||||||||||||||||
| 7769 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7770 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7771 | 'human' => 'boolean', | ||||||||||||||||||||
| 7772 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7773 | 'source' => 'string', | ||||||||||||||||||||
| 7774 | }, | ||||||||||||||||||||
| 7775 | os_version => 2.014000, | ||||||||||||||||||||
| 7776 | }, | ||||||||||||||||||||
| 7777 | |||||||||||||||||||||
| 7778 | 'security.config_upgrade_perform' => { | ||||||||||||||||||||
| 7779 | body => {}, | ||||||||||||||||||||
| 7780 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#configuration-upgrade', | ||||||||||||||||||||
| 7781 | method => 'POST', | ||||||||||||||||||||
| 7782 | parts => {}, | ||||||||||||||||||||
| 7783 | paths => [[ {}, "_plugins", "_security", "api", "_upgrade_perform" ]], | ||||||||||||||||||||
| 7784 | qs => { | ||||||||||||||||||||
| 7785 | # Common API query parameters | ||||||||||||||||||||
| 7786 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7787 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7788 | 'human' => 'boolean', | ||||||||||||||||||||
| 7789 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7790 | 'source' => 'string', | ||||||||||||||||||||
| 7791 | }, | ||||||||||||||||||||
| 7792 | os_version => 2.014000, | ||||||||||||||||||||
| 7793 | }, | ||||||||||||||||||||
| 7794 | |||||||||||||||||||||
| 7795 | 'security.create_action_group' => { | ||||||||||||||||||||
| 7796 | body => {}, | ||||||||||||||||||||
| 7797 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#create-action-group', | ||||||||||||||||||||
| 7798 | method => 'PUT', | ||||||||||||||||||||
| 7799 | parts => { action_group => { required => 1 }}, | ||||||||||||||||||||
| 7800 | paths => [[ { action_group => 4 }, "_plugins", "_security", "api", "actiongroups", "{action_group}" ]], | ||||||||||||||||||||
| 7801 | qs => { | ||||||||||||||||||||
| 7802 | # Common API query parameters | ||||||||||||||||||||
| 7803 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7804 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7805 | 'human' => 'boolean', | ||||||||||||||||||||
| 7806 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7807 | 'source' => 'string', | ||||||||||||||||||||
| 7808 | }, | ||||||||||||||||||||
| 7809 | os_version => 1.000000, | ||||||||||||||||||||
| 7810 | }, | ||||||||||||||||||||
| 7811 | |||||||||||||||||||||
| 7812 | 'security.create_allowlist' => { | ||||||||||||||||||||
| 7813 | body => {}, | ||||||||||||||||||||
| 7814 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api', | ||||||||||||||||||||
| 7815 | method => 'PUT', | ||||||||||||||||||||
| 7816 | parts => {}, | ||||||||||||||||||||
| 7817 | paths => [[ {}, "_plugins", "_security", "api", "allowlist" ]], | ||||||||||||||||||||
| 7818 | qs => { | ||||||||||||||||||||
| 7819 | # Common API query parameters | ||||||||||||||||||||
| 7820 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7821 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7822 | 'human' => 'boolean', | ||||||||||||||||||||
| 7823 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7824 | 'source' => 'string', | ||||||||||||||||||||
| 7825 | }, | ||||||||||||||||||||
| 7826 | os_version => 2.001000, | ||||||||||||||||||||
| 7827 | }, | ||||||||||||||||||||
| 7828 | |||||||||||||||||||||
| 7829 | 'security.create_role' => { | ||||||||||||||||||||
| 7830 | body => {}, | ||||||||||||||||||||
| 7831 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#create-role', | ||||||||||||||||||||
| 7832 | method => 'PUT', | ||||||||||||||||||||
| 7833 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 7834 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "roles", "{role}" ]], | ||||||||||||||||||||
| 7835 | qs => { | ||||||||||||||||||||
| 7836 | # Common API query parameters | ||||||||||||||||||||
| 7837 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7838 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7839 | 'human' => 'boolean', | ||||||||||||||||||||
| 7840 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7841 | 'source' => 'string', | ||||||||||||||||||||
| 7842 | }, | ||||||||||||||||||||
| 7843 | os_version => 1.000000, | ||||||||||||||||||||
| 7844 | }, | ||||||||||||||||||||
| 7845 | |||||||||||||||||||||
| 7846 | 'security.create_role_mapping' => { | ||||||||||||||||||||
| 7847 | body => {}, | ||||||||||||||||||||
| 7848 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#create-role-mapping', | ||||||||||||||||||||
| 7849 | method => 'PUT', | ||||||||||||||||||||
| 7850 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 7851 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "rolesmapping", "{role}" ]], | ||||||||||||||||||||
| 7852 | qs => { | ||||||||||||||||||||
| 7853 | # Common API query parameters | ||||||||||||||||||||
| 7854 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7855 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7856 | 'human' => 'boolean', | ||||||||||||||||||||
| 7857 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7858 | 'source' => 'string', | ||||||||||||||||||||
| 7859 | }, | ||||||||||||||||||||
| 7860 | os_version => 1.000000, | ||||||||||||||||||||
| 7861 | }, | ||||||||||||||||||||
| 7862 | |||||||||||||||||||||
| 7863 | 'security.create_tenant' => { | ||||||||||||||||||||
| 7864 | body => {}, | ||||||||||||||||||||
| 7865 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#create-tenant', | ||||||||||||||||||||
| 7866 | method => 'PUT', | ||||||||||||||||||||
| 7867 | parts => { tenant => { required => 1 }}, | ||||||||||||||||||||
| 7868 | paths => [[ { tenant => 4 }, "_plugins", "_security", "api", "tenants", "{tenant}" ]], | ||||||||||||||||||||
| 7869 | qs => { | ||||||||||||||||||||
| 7870 | # Common API query parameters | ||||||||||||||||||||
| 7871 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7872 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7873 | 'human' => 'boolean', | ||||||||||||||||||||
| 7874 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7875 | 'source' => 'string', | ||||||||||||||||||||
| 7876 | }, | ||||||||||||||||||||
| 7877 | os_version => 1.000000, | ||||||||||||||||||||
| 7878 | }, | ||||||||||||||||||||
| 7879 | |||||||||||||||||||||
| 7880 | 'security.create_update_tenancy_config' => { | ||||||||||||||||||||
| 7881 | body => {}, | ||||||||||||||||||||
| 7882 | doc => 'https://opensearch.org/docs/latest/security/multi-tenancy/dynamic-config/#configuring-multi-tenancy-with-the-rest-api', | ||||||||||||||||||||
| 7883 | method => 'PUT', | ||||||||||||||||||||
| 7884 | parts => {}, | ||||||||||||||||||||
| 7885 | paths => [[ {}, "_plugins", "_security", "api", "tenancy", "config" ]], | ||||||||||||||||||||
| 7886 | qs => { | ||||||||||||||||||||
| 7887 | # Common API query parameters | ||||||||||||||||||||
| 7888 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7889 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7890 | 'human' => 'boolean', | ||||||||||||||||||||
| 7891 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7892 | 'source' => 'string', | ||||||||||||||||||||
| 7893 | }, | ||||||||||||||||||||
| 7894 | os_version => 2.007000, | ||||||||||||||||||||
| 7895 | }, | ||||||||||||||||||||
| 7896 | |||||||||||||||||||||
| 7897 | 'security.create_user' => { | ||||||||||||||||||||
| 7898 | body => {}, | ||||||||||||||||||||
| 7899 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#create-user', | ||||||||||||||||||||
| 7900 | method => 'PUT', | ||||||||||||||||||||
| 7901 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 7902 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "internalusers", "{username}" ]], | ||||||||||||||||||||
| 7903 | qs => { | ||||||||||||||||||||
| 7904 | # Common API query parameters | ||||||||||||||||||||
| 7905 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7906 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7907 | 'human' => 'boolean', | ||||||||||||||||||||
| 7908 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7909 | 'source' => 'string', | ||||||||||||||||||||
| 7910 | }, | ||||||||||||||||||||
| 7911 | os_version => 1.000000, | ||||||||||||||||||||
| 7912 | }, | ||||||||||||||||||||
| 7913 | |||||||||||||||||||||
| 7914 | 'security.create_user_legacy' => { | ||||||||||||||||||||
| 7915 | body => {}, | ||||||||||||||||||||
| 7916 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 7917 | method => 'PUT', | ||||||||||||||||||||
| 7918 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 7919 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "user", "{username}" ]], | ||||||||||||||||||||
| 7920 | qs => { | ||||||||||||||||||||
| 7921 | # Common API query parameters | ||||||||||||||||||||
| 7922 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7923 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7924 | 'human' => 'boolean', | ||||||||||||||||||||
| 7925 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7926 | 'source' => 'string', | ||||||||||||||||||||
| 7927 | }, | ||||||||||||||||||||
| 7928 | os_version => 1.000000, | ||||||||||||||||||||
| 7929 | }, | ||||||||||||||||||||
| 7930 | |||||||||||||||||||||
| 7931 | 'security.delete_action_group' => { | ||||||||||||||||||||
| 7932 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-action-group', | ||||||||||||||||||||
| 7933 | method => 'DELETE', | ||||||||||||||||||||
| 7934 | parts => { action_group => { required => 1 }}, | ||||||||||||||||||||
| 7935 | paths => [[ { action_group => 4 }, "_plugins", "_security", "api", "actiongroups", "{action_group}" ]], | ||||||||||||||||||||
| 7936 | qs => { | ||||||||||||||||||||
| 7937 | # Common API query parameters | ||||||||||||||||||||
| 7938 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7939 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7940 | 'human' => 'boolean', | ||||||||||||||||||||
| 7941 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7942 | 'source' => 'string', | ||||||||||||||||||||
| 7943 | }, | ||||||||||||||||||||
| 7944 | os_version => 1.000000, | ||||||||||||||||||||
| 7945 | }, | ||||||||||||||||||||
| 7946 | |||||||||||||||||||||
| 7947 | 'security.delete_distinguished_name' => { | ||||||||||||||||||||
| 7948 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-distinguished-names', | ||||||||||||||||||||
| 7949 | method => 'DELETE', | ||||||||||||||||||||
| 7950 | parts => { cluster_name => { required => 1 }}, | ||||||||||||||||||||
| 7951 | paths => [[ { cluster_name => 4 }, "_plugins", "_security", "api", "nodesdn", "{cluster_name}" ]], | ||||||||||||||||||||
| 7952 | qs => { | ||||||||||||||||||||
| 7953 | # Common API query parameters | ||||||||||||||||||||
| 7954 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7955 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7956 | 'human' => 'boolean', | ||||||||||||||||||||
| 7957 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7958 | 'source' => 'string', | ||||||||||||||||||||
| 7959 | }, | ||||||||||||||||||||
| 7960 | os_version => 1.000000, | ||||||||||||||||||||
| 7961 | }, | ||||||||||||||||||||
| 7962 | |||||||||||||||||||||
| 7963 | 'security.delete_role' => { | ||||||||||||||||||||
| 7964 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-role', | ||||||||||||||||||||
| 7965 | method => 'DELETE', | ||||||||||||||||||||
| 7966 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 7967 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "roles", "{role}" ]], | ||||||||||||||||||||
| 7968 | qs => { | ||||||||||||||||||||
| 7969 | # Common API query parameters | ||||||||||||||||||||
| 7970 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7971 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7972 | 'human' => 'boolean', | ||||||||||||||||||||
| 7973 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7974 | 'source' => 'string', | ||||||||||||||||||||
| 7975 | }, | ||||||||||||||||||||
| 7976 | os_version => 1.000000, | ||||||||||||||||||||
| 7977 | }, | ||||||||||||||||||||
| 7978 | |||||||||||||||||||||
| 7979 | 'security.delete_role_mapping' => { | ||||||||||||||||||||
| 7980 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-role-mapping', | ||||||||||||||||||||
| 7981 | method => 'DELETE', | ||||||||||||||||||||
| 7982 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 7983 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "rolesmapping", "{role}" ]], | ||||||||||||||||||||
| 7984 | qs => { | ||||||||||||||||||||
| 7985 | # Common API query parameters | ||||||||||||||||||||
| 7986 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 7987 | 'filter_path' => 'list', | ||||||||||||||||||||
| 7988 | 'human' => 'boolean', | ||||||||||||||||||||
| 7989 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 7990 | 'source' => 'string', | ||||||||||||||||||||
| 7991 | }, | ||||||||||||||||||||
| 7992 | os_version => 1.000000, | ||||||||||||||||||||
| 7993 | }, | ||||||||||||||||||||
| 7994 | |||||||||||||||||||||
| 7995 | 'security.delete_tenant' => { | ||||||||||||||||||||
| 7996 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-action-group', | ||||||||||||||||||||
| 7997 | method => 'DELETE', | ||||||||||||||||||||
| 7998 | parts => { tenant => { required => 1 }}, | ||||||||||||||||||||
| 7999 | paths => [[ { tenant => 4 }, "_plugins", "_security", "api", "tenants", "{tenant}" ]], | ||||||||||||||||||||
| 8000 | qs => { | ||||||||||||||||||||
| 8001 | # Common API query parameters | ||||||||||||||||||||
| 8002 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8003 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8004 | 'human' => 'boolean', | ||||||||||||||||||||
| 8005 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8006 | 'source' => 'string', | ||||||||||||||||||||
| 8007 | }, | ||||||||||||||||||||
| 8008 | os_version => 1.000000, | ||||||||||||||||||||
| 8009 | }, | ||||||||||||||||||||
| 8010 | |||||||||||||||||||||
| 8011 | 'security.delete_user' => { | ||||||||||||||||||||
| 8012 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#delete-user', | ||||||||||||||||||||
| 8013 | method => 'DELETE', | ||||||||||||||||||||
| 8014 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8015 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "internalusers", "{username}" ]], | ||||||||||||||||||||
| 8016 | qs => { | ||||||||||||||||||||
| 8017 | # Common API query parameters | ||||||||||||||||||||
| 8018 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8019 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8020 | 'human' => 'boolean', | ||||||||||||||||||||
| 8021 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8022 | 'source' => 'string', | ||||||||||||||||||||
| 8023 | }, | ||||||||||||||||||||
| 8024 | os_version => 1.000000, | ||||||||||||||||||||
| 8025 | }, | ||||||||||||||||||||
| 8026 | |||||||||||||||||||||
| 8027 | 'security.delete_user_legacy' => { | ||||||||||||||||||||
| 8028 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8029 | method => 'DELETE', | ||||||||||||||||||||
| 8030 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8031 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "user", "{username}" ]], | ||||||||||||||||||||
| 8032 | qs => { | ||||||||||||||||||||
| 8033 | # Common API query parameters | ||||||||||||||||||||
| 8034 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8035 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8036 | 'human' => 'boolean', | ||||||||||||||||||||
| 8037 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8038 | 'source' => 'string', | ||||||||||||||||||||
| 8039 | }, | ||||||||||||||||||||
| 8040 | os_version => 1.000000, | ||||||||||||||||||||
| 8041 | }, | ||||||||||||||||||||
| 8042 | |||||||||||||||||||||
| 8043 | 'security.flush_cache' => { | ||||||||||||||||||||
| 8044 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#flush-cache', | ||||||||||||||||||||
| 8045 | method => 'DELETE', | ||||||||||||||||||||
| 8046 | parts => {}, | ||||||||||||||||||||
| 8047 | paths => [[ {}, "_plugins", "_security", "api", "cache" ]], | ||||||||||||||||||||
| 8048 | qs => { | ||||||||||||||||||||
| 8049 | # Common API query parameters | ||||||||||||||||||||
| 8050 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8051 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8052 | 'human' => 'boolean', | ||||||||||||||||||||
| 8053 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8054 | 'source' => 'string', | ||||||||||||||||||||
| 8055 | }, | ||||||||||||||||||||
| 8056 | os_version => 1.000000, | ||||||||||||||||||||
| 8057 | }, | ||||||||||||||||||||
| 8058 | |||||||||||||||||||||
| 8059 | 'security.generate_obo_token' => { | ||||||||||||||||||||
| 8060 | body => {}, | ||||||||||||||||||||
| 8061 | doc => 'https://opensearch.org/docs/latest/security/access-control/authentication-tokens/#api-endpoint', | ||||||||||||||||||||
| 8062 | method => 'POST', | ||||||||||||||||||||
| 8063 | parts => {}, | ||||||||||||||||||||
| 8064 | paths => [[ {}, "_plugins", "_security", "api", "generateonbehalfoftoken" ]], | ||||||||||||||||||||
| 8065 | qs => { | ||||||||||||||||||||
| 8066 | # Common API query parameters | ||||||||||||||||||||
| 8067 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8068 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8069 | 'human' => 'boolean', | ||||||||||||||||||||
| 8070 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8071 | 'source' => 'string', | ||||||||||||||||||||
| 8072 | }, | ||||||||||||||||||||
| 8073 | os_version => 2.012000, | ||||||||||||||||||||
| 8074 | }, | ||||||||||||||||||||
| 8075 | |||||||||||||||||||||
| 8076 | 'security.generate_user_token' => { | ||||||||||||||||||||
| 8077 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8078 | method => 'POST', | ||||||||||||||||||||
| 8079 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8080 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "internalusers", "{username}", "authtoken" ]], | ||||||||||||||||||||
| 8081 | qs => { | ||||||||||||||||||||
| 8082 | # Common API query parameters | ||||||||||||||||||||
| 8083 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8084 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8085 | 'human' => 'boolean', | ||||||||||||||||||||
| 8086 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8087 | 'source' => 'string', | ||||||||||||||||||||
| 8088 | }, | ||||||||||||||||||||
| 8089 | os_version => 2.007000, | ||||||||||||||||||||
| 8090 | }, | ||||||||||||||||||||
| 8091 | |||||||||||||||||||||
| 8092 | 'security.generate_user_token_legacy' => { | ||||||||||||||||||||
| 8093 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8094 | method => 'POST', | ||||||||||||||||||||
| 8095 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8096 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "user", "{username}", "authtoken" ]], | ||||||||||||||||||||
| 8097 | qs => { | ||||||||||||||||||||
| 8098 | # Common API query parameters | ||||||||||||||||||||
| 8099 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8100 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8101 | 'human' => 'boolean', | ||||||||||||||||||||
| 8102 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8103 | 'source' => 'string', | ||||||||||||||||||||
| 8104 | }, | ||||||||||||||||||||
| 8105 | os_version => 2.007000, | ||||||||||||||||||||
| 8106 | }, | ||||||||||||||||||||
| 8107 | |||||||||||||||||||||
| 8108 | 'security.get_account_details' => { | ||||||||||||||||||||
| 8109 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-account-details', | ||||||||||||||||||||
| 8110 | method => 'GET', | ||||||||||||||||||||
| 8111 | parts => {}, | ||||||||||||||||||||
| 8112 | paths => [[ {}, "_plugins", "_security", "api", "account" ]], | ||||||||||||||||||||
| 8113 | qs => { | ||||||||||||||||||||
| 8114 | # Common API query parameters | ||||||||||||||||||||
| 8115 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8116 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8117 | 'human' => 'boolean', | ||||||||||||||||||||
| 8118 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8119 | 'source' => 'string', | ||||||||||||||||||||
| 8120 | }, | ||||||||||||||||||||
| 8121 | os_version => 1.000000, | ||||||||||||||||||||
| 8122 | }, | ||||||||||||||||||||
| 8123 | |||||||||||||||||||||
| 8124 | 'security.get_action_group' => { | ||||||||||||||||||||
| 8125 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-action-group', | ||||||||||||||||||||
| 8126 | method => 'GET', | ||||||||||||||||||||
| 8127 | parts => { action_group => { required => 1 }}, | ||||||||||||||||||||
| 8128 | paths => [[ { action_group => 4 }, "_plugins", "_security", "api", "actiongroups", "{action_group}" ]], | ||||||||||||||||||||
| 8129 | qs => { | ||||||||||||||||||||
| 8130 | # Common API query parameters | ||||||||||||||||||||
| 8131 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8132 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8133 | 'human' => 'boolean', | ||||||||||||||||||||
| 8134 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8135 | 'source' => 'string', | ||||||||||||||||||||
| 8136 | }, | ||||||||||||||||||||
| 8137 | os_version => 1.000000, | ||||||||||||||||||||
| 8138 | }, | ||||||||||||||||||||
| 8139 | |||||||||||||||||||||
| 8140 | 'security.get_action_groups' => { | ||||||||||||||||||||
| 8141 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-action-groups', | ||||||||||||||||||||
| 8142 | method => 'GET', | ||||||||||||||||||||
| 8143 | parts => {}, | ||||||||||||||||||||
| 8144 | paths => [[ {}, "_plugins", "_security", "api", "actiongroups" ]], | ||||||||||||||||||||
| 8145 | qs => { | ||||||||||||||||||||
| 8146 | # Common API query parameters | ||||||||||||||||||||
| 8147 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8148 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8149 | 'human' => 'boolean', | ||||||||||||||||||||
| 8150 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8151 | 'source' => 'string', | ||||||||||||||||||||
| 8152 | }, | ||||||||||||||||||||
| 8153 | os_version => 1.000000, | ||||||||||||||||||||
| 8154 | }, | ||||||||||||||||||||
| 8155 | |||||||||||||||||||||
| 8156 | 'security.get_all_certificates' => { | ||||||||||||||||||||
| 8157 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8158 | method => 'GET', | ||||||||||||||||||||
| 8159 | parts => {}, | ||||||||||||||||||||
| 8160 | paths => [[ {}, "_plugins", "_security", "api", "certificates" ]], | ||||||||||||||||||||
| 8161 | qs => { | ||||||||||||||||||||
| 8162 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8163 | 'cert_type' => 'string', | ||||||||||||||||||||
| 8164 | 'timeout' => 'string', | ||||||||||||||||||||
| 8165 | # Common API query parameters | ||||||||||||||||||||
| 8166 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8167 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8168 | 'human' => 'boolean', | ||||||||||||||||||||
| 8169 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8170 | 'source' => 'string', | ||||||||||||||||||||
| 8171 | }, | ||||||||||||||||||||
| 8172 | os_version => 2.015000, | ||||||||||||||||||||
| 8173 | }, | ||||||||||||||||||||
| 8174 | |||||||||||||||||||||
| 8175 | 'security.get_allowlist' => { | ||||||||||||||||||||
| 8176 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api', | ||||||||||||||||||||
| 8177 | method => 'GET', | ||||||||||||||||||||
| 8178 | parts => {}, | ||||||||||||||||||||
| 8179 | paths => [[ {}, "_plugins", "_security", "api", "allowlist" ]], | ||||||||||||||||||||
| 8180 | qs => { | ||||||||||||||||||||
| 8181 | # Common API query parameters | ||||||||||||||||||||
| 8182 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8183 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8184 | 'human' => 'boolean', | ||||||||||||||||||||
| 8185 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8186 | 'source' => 'string', | ||||||||||||||||||||
| 8187 | }, | ||||||||||||||||||||
| 8188 | os_version => 2.001000, | ||||||||||||||||||||
| 8189 | }, | ||||||||||||||||||||
| 8190 | |||||||||||||||||||||
| 8191 | 'security.get_audit_configuration' => { | ||||||||||||||||||||
| 8192 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#audit-logs', | ||||||||||||||||||||
| 8193 | method => 'GET', | ||||||||||||||||||||
| 8194 | parts => {}, | ||||||||||||||||||||
| 8195 | paths => [[ {}, "_plugins", "_security", "api", "audit" ]], | ||||||||||||||||||||
| 8196 | qs => { | ||||||||||||||||||||
| 8197 | # Common API query parameters | ||||||||||||||||||||
| 8198 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8199 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8200 | 'human' => 'boolean', | ||||||||||||||||||||
| 8201 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8202 | 'source' => 'string', | ||||||||||||||||||||
| 8203 | }, | ||||||||||||||||||||
| 8204 | os_version => 1.000000, | ||||||||||||||||||||
| 8205 | }, | ||||||||||||||||||||
| 8206 | |||||||||||||||||||||
| 8207 | 'security.get_certificates' => { | ||||||||||||||||||||
| 8208 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-certificates', | ||||||||||||||||||||
| 8209 | method => 'GET', | ||||||||||||||||||||
| 8210 | parts => {}, | ||||||||||||||||||||
| 8211 | paths => [[ {}, "_plugins", "_security", "api", "ssl", "certs" ]], | ||||||||||||||||||||
| 8212 | qs => { | ||||||||||||||||||||
| 8213 | # Common API query parameters | ||||||||||||||||||||
| 8214 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8215 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8216 | 'human' => 'boolean', | ||||||||||||||||||||
| 8217 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8218 | 'source' => 'string', | ||||||||||||||||||||
| 8219 | }, | ||||||||||||||||||||
| 8220 | os_version => 2.000000, | ||||||||||||||||||||
| 8221 | }, | ||||||||||||||||||||
| 8222 | |||||||||||||||||||||
| 8223 | 'security.get_configuration' => { | ||||||||||||||||||||
| 8224 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-configuration', | ||||||||||||||||||||
| 8225 | method => 'GET', | ||||||||||||||||||||
| 8226 | parts => {}, | ||||||||||||||||||||
| 8227 | paths => [[ {}, "_plugins", "_security", "api", "securityconfig" ]], | ||||||||||||||||||||
| 8228 | qs => { | ||||||||||||||||||||
| 8229 | # Common API query parameters | ||||||||||||||||||||
| 8230 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8231 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8232 | 'human' => 'boolean', | ||||||||||||||||||||
| 8233 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8234 | 'source' => 'string', | ||||||||||||||||||||
| 8235 | }, | ||||||||||||||||||||
| 8236 | os_version => 2.010000, | ||||||||||||||||||||
| 8237 | }, | ||||||||||||||||||||
| 8238 | |||||||||||||||||||||
| 8239 | 'security.get_dashboards_info' => { | ||||||||||||||||||||
| 8240 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8241 | method => 'GET', | ||||||||||||||||||||
| 8242 | parts => {}, | ||||||||||||||||||||
| 8243 | paths => [[ {}, "_plugins", "_security", "dashboardsinfo" ]], | ||||||||||||||||||||
| 8244 | qs => { | ||||||||||||||||||||
| 8245 | # Common API query parameters | ||||||||||||||||||||
| 8246 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8247 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8248 | 'human' => 'boolean', | ||||||||||||||||||||
| 8249 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8250 | 'source' => 'string', | ||||||||||||||||||||
| 8251 | }, | ||||||||||||||||||||
| 8252 | os_version => 1.000000, | ||||||||||||||||||||
| 8253 | }, | ||||||||||||||||||||
| 8254 | |||||||||||||||||||||
| 8255 | 'security.get_distinguished_name' => { | ||||||||||||||||||||
| 8256 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-distinguished-names', | ||||||||||||||||||||
| 8257 | method => 'GET', | ||||||||||||||||||||
| 8258 | parts => { cluster_name => { required => 1 }}, | ||||||||||||||||||||
| 8259 | paths => [[ { cluster_name => 4 }, "_plugins", "_security", "api", "nodesdn", "{cluster_name}" ]], | ||||||||||||||||||||
| 8260 | qs => { | ||||||||||||||||||||
| 8261 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8262 | 'show_all' => 'boolean', | ||||||||||||||||||||
| 8263 | # Common API query parameters | ||||||||||||||||||||
| 8264 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8265 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8266 | 'human' => 'boolean', | ||||||||||||||||||||
| 8267 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8268 | 'source' => 'string', | ||||||||||||||||||||
| 8269 | }, | ||||||||||||||||||||
| 8270 | os_version => 1.000000, | ||||||||||||||||||||
| 8271 | }, | ||||||||||||||||||||
| 8272 | |||||||||||||||||||||
| 8273 | 'security.get_distinguished_names' => { | ||||||||||||||||||||
| 8274 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-distinguished-names', | ||||||||||||||||||||
| 8275 | method => 'GET', | ||||||||||||||||||||
| 8276 | parts => {}, | ||||||||||||||||||||
| 8277 | paths => [[ {}, "_plugins", "_security", "api", "nodesdn" ]], | ||||||||||||||||||||
| 8278 | qs => { | ||||||||||||||||||||
| 8279 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8280 | 'show_all' => 'boolean', | ||||||||||||||||||||
| 8281 | # Common API query parameters | ||||||||||||||||||||
| 8282 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8283 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8284 | 'human' => 'boolean', | ||||||||||||||||||||
| 8285 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8286 | 'source' => 'string', | ||||||||||||||||||||
| 8287 | }, | ||||||||||||||||||||
| 8288 | os_version => 1.000000, | ||||||||||||||||||||
| 8289 | }, | ||||||||||||||||||||
| 8290 | |||||||||||||||||||||
| 8291 | 'security.get_node_certificates' => { | ||||||||||||||||||||
| 8292 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8293 | method => 'GET', | ||||||||||||||||||||
| 8294 | parts => { node_id => { required => 1 }}, | ||||||||||||||||||||
| 8295 | paths => [[ { node_id => 4 }, "_plugins", "_security", "api", "certificates", "{node_id}" ]], | ||||||||||||||||||||
| 8296 | qs => { | ||||||||||||||||||||
| 8297 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8298 | 'cert_type' => 'string', | ||||||||||||||||||||
| 8299 | 'timeout' => 'string', | ||||||||||||||||||||
| 8300 | # Common API query parameters | ||||||||||||||||||||
| 8301 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8302 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8303 | 'human' => 'boolean', | ||||||||||||||||||||
| 8304 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8305 | 'source' => 'string', | ||||||||||||||||||||
| 8306 | }, | ||||||||||||||||||||
| 8307 | os_version => 2.015000, | ||||||||||||||||||||
| 8308 | }, | ||||||||||||||||||||
| 8309 | |||||||||||||||||||||
| 8310 | 'security.get_permissions_info' => { | ||||||||||||||||||||
| 8311 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8312 | method => 'GET', | ||||||||||||||||||||
| 8313 | parts => {}, | ||||||||||||||||||||
| 8314 | paths => [[ {}, "_plugins", "_security", "api", "permissionsinfo" ]], | ||||||||||||||||||||
| 8315 | qs => { | ||||||||||||||||||||
| 8316 | # Common API query parameters | ||||||||||||||||||||
| 8317 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8318 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8319 | 'human' => 'boolean', | ||||||||||||||||||||
| 8320 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8321 | 'source' => 'string', | ||||||||||||||||||||
| 8322 | }, | ||||||||||||||||||||
| 8323 | os_version => 1.000000, | ||||||||||||||||||||
| 8324 | }, | ||||||||||||||||||||
| 8325 | |||||||||||||||||||||
| 8326 | 'security.get_role' => { | ||||||||||||||||||||
| 8327 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-role', | ||||||||||||||||||||
| 8328 | method => 'GET', | ||||||||||||||||||||
| 8329 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 8330 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "roles", "{role}" ]], | ||||||||||||||||||||
| 8331 | qs => { | ||||||||||||||||||||
| 8332 | # Common API query parameters | ||||||||||||||||||||
| 8333 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8334 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8335 | 'human' => 'boolean', | ||||||||||||||||||||
| 8336 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8337 | 'source' => 'string', | ||||||||||||||||||||
| 8338 | }, | ||||||||||||||||||||
| 8339 | os_version => 1.000000, | ||||||||||||||||||||
| 8340 | }, | ||||||||||||||||||||
| 8341 | |||||||||||||||||||||
| 8342 | 'security.get_role_mapping' => { | ||||||||||||||||||||
| 8343 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-role-mapping', | ||||||||||||||||||||
| 8344 | method => 'GET', | ||||||||||||||||||||
| 8345 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 8346 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "rolesmapping", "{role}" ]], | ||||||||||||||||||||
| 8347 | qs => { | ||||||||||||||||||||
| 8348 | # Common API query parameters | ||||||||||||||||||||
| 8349 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8350 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8351 | 'human' => 'boolean', | ||||||||||||||||||||
| 8352 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8353 | 'source' => 'string', | ||||||||||||||||||||
| 8354 | }, | ||||||||||||||||||||
| 8355 | os_version => 1.000000, | ||||||||||||||||||||
| 8356 | }, | ||||||||||||||||||||
| 8357 | |||||||||||||||||||||
| 8358 | 'security.get_role_mappings' => { | ||||||||||||||||||||
| 8359 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-role-mappings', | ||||||||||||||||||||
| 8360 | method => 'GET', | ||||||||||||||||||||
| 8361 | parts => {}, | ||||||||||||||||||||
| 8362 | paths => [[ {}, "_plugins", "_security", "api", "rolesmapping" ]], | ||||||||||||||||||||
| 8363 | qs => { | ||||||||||||||||||||
| 8364 | # Common API query parameters | ||||||||||||||||||||
| 8365 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8366 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8367 | 'human' => 'boolean', | ||||||||||||||||||||
| 8368 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8369 | 'source' => 'string', | ||||||||||||||||||||
| 8370 | }, | ||||||||||||||||||||
| 8371 | os_version => 1.000000, | ||||||||||||||||||||
| 8372 | }, | ||||||||||||||||||||
| 8373 | |||||||||||||||||||||
| 8374 | 'security.get_roles' => { | ||||||||||||||||||||
| 8375 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-roles', | ||||||||||||||||||||
| 8376 | method => 'GET', | ||||||||||||||||||||
| 8377 | parts => {}, | ||||||||||||||||||||
| 8378 | paths => [[ {}, "_plugins", "_security", "api", "roles" ]], | ||||||||||||||||||||
| 8379 | qs => { | ||||||||||||||||||||
| 8380 | # Common API query parameters | ||||||||||||||||||||
| 8381 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8382 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8383 | 'human' => 'boolean', | ||||||||||||||||||||
| 8384 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8385 | 'source' => 'string', | ||||||||||||||||||||
| 8386 | }, | ||||||||||||||||||||
| 8387 | os_version => 1.000000, | ||||||||||||||||||||
| 8388 | }, | ||||||||||||||||||||
| 8389 | |||||||||||||||||||||
| 8390 | 'security.get_sslinfo' => { | ||||||||||||||||||||
| 8391 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8392 | method => 'GET', | ||||||||||||||||||||
| 8393 | parts => {}, | ||||||||||||||||||||
| 8394 | paths => [[ {}, "_opendistro", "_security", "sslinfo" ]], | ||||||||||||||||||||
| 8395 | qs => { | ||||||||||||||||||||
| 8396 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8397 | 'show_dn' => 'boolean', | ||||||||||||||||||||
| 8398 | # Common API query parameters | ||||||||||||||||||||
| 8399 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8400 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8401 | 'human' => 'boolean', | ||||||||||||||||||||
| 8402 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8403 | 'source' => 'string', | ||||||||||||||||||||
| 8404 | }, | ||||||||||||||||||||
| 8405 | os_version => 1.000000, | ||||||||||||||||||||
| 8406 | }, | ||||||||||||||||||||
| 8407 | |||||||||||||||||||||
| 8408 | 'security.get_tenancy_config' => { | ||||||||||||||||||||
| 8409 | doc => 'https://opensearch.org/docs/latest/security/multi-tenancy/dynamic-config/#configuring-multi-tenancy-with-the-rest-api', | ||||||||||||||||||||
| 8410 | method => 'GET', | ||||||||||||||||||||
| 8411 | parts => {}, | ||||||||||||||||||||
| 8412 | paths => [[ {}, "_plugins", "_security", "api", "tenancy", "config" ]], | ||||||||||||||||||||
| 8413 | qs => { | ||||||||||||||||||||
| 8414 | # Common API query parameters | ||||||||||||||||||||
| 8415 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8416 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8417 | 'human' => 'boolean', | ||||||||||||||||||||
| 8418 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8419 | 'source' => 'string', | ||||||||||||||||||||
| 8420 | }, | ||||||||||||||||||||
| 8421 | os_version => 2.007000, | ||||||||||||||||||||
| 8422 | }, | ||||||||||||||||||||
| 8423 | |||||||||||||||||||||
| 8424 | 'security.get_tenant' => { | ||||||||||||||||||||
| 8425 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-tenant', | ||||||||||||||||||||
| 8426 | method => 'GET', | ||||||||||||||||||||
| 8427 | parts => { tenant => { required => 1 }}, | ||||||||||||||||||||
| 8428 | paths => [[ { tenant => 4 }, "_plugins", "_security", "api", "tenants", "{tenant}" ]], | ||||||||||||||||||||
| 8429 | qs => { | ||||||||||||||||||||
| 8430 | # Common API query parameters | ||||||||||||||||||||
| 8431 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8432 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8433 | 'human' => 'boolean', | ||||||||||||||||||||
| 8434 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8435 | 'source' => 'string', | ||||||||||||||||||||
| 8436 | }, | ||||||||||||||||||||
| 8437 | os_version => 1.000000, | ||||||||||||||||||||
| 8438 | }, | ||||||||||||||||||||
| 8439 | |||||||||||||||||||||
| 8440 | 'security.get_tenants' => { | ||||||||||||||||||||
| 8441 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-tenants', | ||||||||||||||||||||
| 8442 | method => 'GET', | ||||||||||||||||||||
| 8443 | parts => {}, | ||||||||||||||||||||
| 8444 | paths => [[ {}, "_plugins", "_security", "api", "tenants" ]], | ||||||||||||||||||||
| 8445 | qs => { | ||||||||||||||||||||
| 8446 | # Common API query parameters | ||||||||||||||||||||
| 8447 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8448 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8449 | 'human' => 'boolean', | ||||||||||||||||||||
| 8450 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8451 | 'source' => 'string', | ||||||||||||||||||||
| 8452 | }, | ||||||||||||||||||||
| 8453 | os_version => 1.000000, | ||||||||||||||||||||
| 8454 | }, | ||||||||||||||||||||
| 8455 | |||||||||||||||||||||
| 8456 | 'security.get_user' => { | ||||||||||||||||||||
| 8457 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-user', | ||||||||||||||||||||
| 8458 | method => 'GET', | ||||||||||||||||||||
| 8459 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8460 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "internalusers", "{username}" ]], | ||||||||||||||||||||
| 8461 | qs => { | ||||||||||||||||||||
| 8462 | # Common API query parameters | ||||||||||||||||||||
| 8463 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8464 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8465 | 'human' => 'boolean', | ||||||||||||||||||||
| 8466 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8467 | 'source' => 'string', | ||||||||||||||||||||
| 8468 | }, | ||||||||||||||||||||
| 8469 | os_version => 1.000000, | ||||||||||||||||||||
| 8470 | }, | ||||||||||||||||||||
| 8471 | |||||||||||||||||||||
| 8472 | 'security.get_user_legacy' => { | ||||||||||||||||||||
| 8473 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8474 | method => 'GET', | ||||||||||||||||||||
| 8475 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8476 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "user", "{username}" ]], | ||||||||||||||||||||
| 8477 | qs => { | ||||||||||||||||||||
| 8478 | # Common API query parameters | ||||||||||||||||||||
| 8479 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8480 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8481 | 'human' => 'boolean', | ||||||||||||||||||||
| 8482 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8483 | 'source' => 'string', | ||||||||||||||||||||
| 8484 | }, | ||||||||||||||||||||
| 8485 | os_version => 1.000000, | ||||||||||||||||||||
| 8486 | }, | ||||||||||||||||||||
| 8487 | |||||||||||||||||||||
| 8488 | 'security.get_users' => { | ||||||||||||||||||||
| 8489 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#get-users', | ||||||||||||||||||||
| 8490 | method => 'GET', | ||||||||||||||||||||
| 8491 | parts => {}, | ||||||||||||||||||||
| 8492 | paths => [[ {}, "_plugins", "_security", "api", "internalusers" ]], | ||||||||||||||||||||
| 8493 | qs => { | ||||||||||||||||||||
| 8494 | # Common API query parameters | ||||||||||||||||||||
| 8495 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8496 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8497 | 'human' => 'boolean', | ||||||||||||||||||||
| 8498 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8499 | 'source' => 'string', | ||||||||||||||||||||
| 8500 | }, | ||||||||||||||||||||
| 8501 | os_version => 1.000000, | ||||||||||||||||||||
| 8502 | }, | ||||||||||||||||||||
| 8503 | |||||||||||||||||||||
| 8504 | 'security.get_users_legacy' => { | ||||||||||||||||||||
| 8505 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8506 | method => 'GET', | ||||||||||||||||||||
| 8507 | parts => {}, | ||||||||||||||||||||
| 8508 | paths => [[ {}, "_plugins", "_security", "api", "user" ]], | ||||||||||||||||||||
| 8509 | qs => { | ||||||||||||||||||||
| 8510 | # Common API query parameters | ||||||||||||||||||||
| 8511 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8512 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8513 | 'human' => 'boolean', | ||||||||||||||||||||
| 8514 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8515 | 'source' => 'string', | ||||||||||||||||||||
| 8516 | }, | ||||||||||||||||||||
| 8517 | os_version => 1.000000, | ||||||||||||||||||||
| 8518 | }, | ||||||||||||||||||||
| 8519 | |||||||||||||||||||||
| 8520 | 'security.health' => { | ||||||||||||||||||||
| 8521 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#health-check', | ||||||||||||||||||||
| 8522 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 8523 | method => 'detect', | ||||||||||||||||||||
| 8524 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 8525 | parts => {}, | ||||||||||||||||||||
| 8526 | paths => [[ {}, "_plugins", "_security", "health" ]], | ||||||||||||||||||||
| 8527 | qs => { | ||||||||||||||||||||
| 8528 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8529 | 'mode' => 'string', | ||||||||||||||||||||
| 8530 | # Common API query parameters | ||||||||||||||||||||
| 8531 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8532 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8533 | 'human' => 'boolean', | ||||||||||||||||||||
| 8534 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8535 | 'source' => 'string', | ||||||||||||||||||||
| 8536 | }, | ||||||||||||||||||||
| 8537 | os_version => 1.000000, | ||||||||||||||||||||
| 8538 | }, | ||||||||||||||||||||
| 8539 | |||||||||||||||||||||
| 8540 | 'security.migrate' => { | ||||||||||||||||||||
| 8541 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8542 | method => 'POST', | ||||||||||||||||||||
| 8543 | parts => {}, | ||||||||||||||||||||
| 8544 | paths => [[ {}, "_plugins", "_security", "api", "migrate" ]], | ||||||||||||||||||||
| 8545 | qs => { | ||||||||||||||||||||
| 8546 | # Common API query parameters | ||||||||||||||||||||
| 8547 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8548 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8549 | 'human' => 'boolean', | ||||||||||||||||||||
| 8550 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8551 | 'source' => 'string', | ||||||||||||||||||||
| 8552 | }, | ||||||||||||||||||||
| 8553 | os_version => 1.000000, | ||||||||||||||||||||
| 8554 | }, | ||||||||||||||||||||
| 8555 | |||||||||||||||||||||
| 8556 | 'security.patch_action_group' => { | ||||||||||||||||||||
| 8557 | body => {}, | ||||||||||||||||||||
| 8558 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-action-group', | ||||||||||||||||||||
| 8559 | method => 'PATCH', | ||||||||||||||||||||
| 8560 | parts => { action_group => { required => 1 }}, | ||||||||||||||||||||
| 8561 | paths => [[ { action_group => 4 }, "_plugins", "_security", "api", "actiongroups", "{action_group}" ]], | ||||||||||||||||||||
| 8562 | qs => { | ||||||||||||||||||||
| 8563 | # Common API query parameters | ||||||||||||||||||||
| 8564 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8565 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8566 | 'human' => 'boolean', | ||||||||||||||||||||
| 8567 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8568 | 'source' => 'string', | ||||||||||||||||||||
| 8569 | }, | ||||||||||||||||||||
| 8570 | os_version => 1.000000, | ||||||||||||||||||||
| 8571 | }, | ||||||||||||||||||||
| 8572 | |||||||||||||||||||||
| 8573 | 'security.patch_action_groups' => { | ||||||||||||||||||||
| 8574 | body => {}, | ||||||||||||||||||||
| 8575 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-action-groups', | ||||||||||||||||||||
| 8576 | method => 'PATCH', | ||||||||||||||||||||
| 8577 | parts => {}, | ||||||||||||||||||||
| 8578 | paths => [[ {}, "_plugins", "_security", "api", "actiongroups" ]], | ||||||||||||||||||||
| 8579 | qs => { | ||||||||||||||||||||
| 8580 | # Common API query parameters | ||||||||||||||||||||
| 8581 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8582 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8583 | 'human' => 'boolean', | ||||||||||||||||||||
| 8584 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8585 | 'source' => 'string', | ||||||||||||||||||||
| 8586 | }, | ||||||||||||||||||||
| 8587 | os_version => 1.000000, | ||||||||||||||||||||
| 8588 | }, | ||||||||||||||||||||
| 8589 | |||||||||||||||||||||
| 8590 | 'security.patch_allowlist' => { | ||||||||||||||||||||
| 8591 | body => {}, | ||||||||||||||||||||
| 8592 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api', | ||||||||||||||||||||
| 8593 | method => 'PATCH', | ||||||||||||||||||||
| 8594 | parts => {}, | ||||||||||||||||||||
| 8595 | paths => [[ {}, "_plugins", "_security", "api", "allowlist" ]], | ||||||||||||||||||||
| 8596 | qs => { | ||||||||||||||||||||
| 8597 | # Common API query parameters | ||||||||||||||||||||
| 8598 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8599 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8600 | 'human' => 'boolean', | ||||||||||||||||||||
| 8601 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8602 | 'source' => 'string', | ||||||||||||||||||||
| 8603 | }, | ||||||||||||||||||||
| 8604 | os_version => 2.001000, | ||||||||||||||||||||
| 8605 | }, | ||||||||||||||||||||
| 8606 | |||||||||||||||||||||
| 8607 | 'security.patch_audit_configuration' => { | ||||||||||||||||||||
| 8608 | body => {}, | ||||||||||||||||||||
| 8609 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#audit-logs', | ||||||||||||||||||||
| 8610 | method => 'PATCH', | ||||||||||||||||||||
| 8611 | parts => {}, | ||||||||||||||||||||
| 8612 | paths => [[ {}, "_plugins", "_security", "api", "audit" ]], | ||||||||||||||||||||
| 8613 | qs => { | ||||||||||||||||||||
| 8614 | # Common API query parameters | ||||||||||||||||||||
| 8615 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8616 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8617 | 'human' => 'boolean', | ||||||||||||||||||||
| 8618 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8619 | 'source' => 'string', | ||||||||||||||||||||
| 8620 | }, | ||||||||||||||||||||
| 8621 | os_version => 1.000000, | ||||||||||||||||||||
| 8622 | }, | ||||||||||||||||||||
| 8623 | |||||||||||||||||||||
| 8624 | 'security.patch_configuration' => { | ||||||||||||||||||||
| 8625 | body => {}, | ||||||||||||||||||||
| 8626 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-configuration', | ||||||||||||||||||||
| 8627 | method => 'PATCH', | ||||||||||||||||||||
| 8628 | parts => {}, | ||||||||||||||||||||
| 8629 | paths => [[ {}, "_plugins", "_security", "api", "securityconfig" ]], | ||||||||||||||||||||
| 8630 | qs => { | ||||||||||||||||||||
| 8631 | # Common API query parameters | ||||||||||||||||||||
| 8632 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8633 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8634 | 'human' => 'boolean', | ||||||||||||||||||||
| 8635 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8636 | 'source' => 'string', | ||||||||||||||||||||
| 8637 | }, | ||||||||||||||||||||
| 8638 | os_version => 2.010000, | ||||||||||||||||||||
| 8639 | }, | ||||||||||||||||||||
| 8640 | |||||||||||||||||||||
| 8641 | 'security.patch_distinguished_name' => { | ||||||||||||||||||||
| 8642 | body => {}, | ||||||||||||||||||||
| 8643 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8644 | method => 'PATCH', | ||||||||||||||||||||
| 8645 | parts => { cluster_name => { required => 1 }}, | ||||||||||||||||||||
| 8646 | paths => [[ { cluster_name => 4 }, "_plugins", "_security", "api", "nodesdn", "{cluster_name}" ]], | ||||||||||||||||||||
| 8647 | qs => { | ||||||||||||||||||||
| 8648 | # Common API query parameters | ||||||||||||||||||||
| 8649 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8650 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8651 | 'human' => 'boolean', | ||||||||||||||||||||
| 8652 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8653 | 'source' => 'string', | ||||||||||||||||||||
| 8654 | }, | ||||||||||||||||||||
| 8655 | os_version => 1.000000, | ||||||||||||||||||||
| 8656 | }, | ||||||||||||||||||||
| 8657 | |||||||||||||||||||||
| 8658 | 'security.patch_distinguished_names' => { | ||||||||||||||||||||
| 8659 | body => {}, | ||||||||||||||||||||
| 8660 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#update-all-distinguished-names', | ||||||||||||||||||||
| 8661 | method => 'PATCH', | ||||||||||||||||||||
| 8662 | parts => {}, | ||||||||||||||||||||
| 8663 | paths => [[ {}, "_plugins", "_security", "api", "nodesdn" ]], | ||||||||||||||||||||
| 8664 | qs => { | ||||||||||||||||||||
| 8665 | # Common API query parameters | ||||||||||||||||||||
| 8666 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8667 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8668 | 'human' => 'boolean', | ||||||||||||||||||||
| 8669 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8670 | 'source' => 'string', | ||||||||||||||||||||
| 8671 | }, | ||||||||||||||||||||
| 8672 | os_version => 1.000000, | ||||||||||||||||||||
| 8673 | }, | ||||||||||||||||||||
| 8674 | |||||||||||||||||||||
| 8675 | 'security.patch_role' => { | ||||||||||||||||||||
| 8676 | body => {}, | ||||||||||||||||||||
| 8677 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-role', | ||||||||||||||||||||
| 8678 | method => 'PATCH', | ||||||||||||||||||||
| 8679 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 8680 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "roles", "{role}" ]], | ||||||||||||||||||||
| 8681 | qs => { | ||||||||||||||||||||
| 8682 | # Common API query parameters | ||||||||||||||||||||
| 8683 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8684 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8685 | 'human' => 'boolean', | ||||||||||||||||||||
| 8686 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8687 | 'source' => 'string', | ||||||||||||||||||||
| 8688 | }, | ||||||||||||||||||||
| 8689 | os_version => 1.000000, | ||||||||||||||||||||
| 8690 | }, | ||||||||||||||||||||
| 8691 | |||||||||||||||||||||
| 8692 | 'security.patch_role_mapping' => { | ||||||||||||||||||||
| 8693 | body => {}, | ||||||||||||||||||||
| 8694 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-role-mapping', | ||||||||||||||||||||
| 8695 | method => 'PATCH', | ||||||||||||||||||||
| 8696 | parts => { role => { required => 1 }}, | ||||||||||||||||||||
| 8697 | paths => [[ { role => 4 }, "_plugins", "_security", "api", "rolesmapping", "{role}" ]], | ||||||||||||||||||||
| 8698 | qs => { | ||||||||||||||||||||
| 8699 | # Common API query parameters | ||||||||||||||||||||
| 8700 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8701 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8702 | 'human' => 'boolean', | ||||||||||||||||||||
| 8703 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8704 | 'source' => 'string', | ||||||||||||||||||||
| 8705 | }, | ||||||||||||||||||||
| 8706 | os_version => 1.000000, | ||||||||||||||||||||
| 8707 | }, | ||||||||||||||||||||
| 8708 | |||||||||||||||||||||
| 8709 | 'security.patch_role_mappings' => { | ||||||||||||||||||||
| 8710 | body => {}, | ||||||||||||||||||||
| 8711 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-role-mappings', | ||||||||||||||||||||
| 8712 | method => 'PATCH', | ||||||||||||||||||||
| 8713 | parts => {}, | ||||||||||||||||||||
| 8714 | paths => [[ {}, "_plugins", "_security", "api", "rolesmapping" ]], | ||||||||||||||||||||
| 8715 | qs => { | ||||||||||||||||||||
| 8716 | # Common API query parameters | ||||||||||||||||||||
| 8717 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8718 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8719 | 'human' => 'boolean', | ||||||||||||||||||||
| 8720 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8721 | 'source' => 'string', | ||||||||||||||||||||
| 8722 | }, | ||||||||||||||||||||
| 8723 | os_version => 1.000000, | ||||||||||||||||||||
| 8724 | }, | ||||||||||||||||||||
| 8725 | |||||||||||||||||||||
| 8726 | 'security.patch_roles' => { | ||||||||||||||||||||
| 8727 | body => {}, | ||||||||||||||||||||
| 8728 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-roles', | ||||||||||||||||||||
| 8729 | method => 'PATCH', | ||||||||||||||||||||
| 8730 | parts => {}, | ||||||||||||||||||||
| 8731 | paths => [[ {}, "_plugins", "_security", "api", "roles" ]], | ||||||||||||||||||||
| 8732 | qs => { | ||||||||||||||||||||
| 8733 | # Common API query parameters | ||||||||||||||||||||
| 8734 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8735 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8736 | 'human' => 'boolean', | ||||||||||||||||||||
| 8737 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8738 | 'source' => 'string', | ||||||||||||||||||||
| 8739 | }, | ||||||||||||||||||||
| 8740 | os_version => 1.000000, | ||||||||||||||||||||
| 8741 | }, | ||||||||||||||||||||
| 8742 | |||||||||||||||||||||
| 8743 | 'security.patch_tenant' => { | ||||||||||||||||||||
| 8744 | body => {}, | ||||||||||||||||||||
| 8745 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-tenant', | ||||||||||||||||||||
| 8746 | method => 'PATCH', | ||||||||||||||||||||
| 8747 | parts => { tenant => { required => 1 }}, | ||||||||||||||||||||
| 8748 | paths => [[ { tenant => 4 }, "_plugins", "_security", "api", "tenants", "{tenant}" ]], | ||||||||||||||||||||
| 8749 | qs => { | ||||||||||||||||||||
| 8750 | # Common API query parameters | ||||||||||||||||||||
| 8751 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8752 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8753 | 'human' => 'boolean', | ||||||||||||||||||||
| 8754 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8755 | 'source' => 'string', | ||||||||||||||||||||
| 8756 | }, | ||||||||||||||||||||
| 8757 | os_version => 1.000000, | ||||||||||||||||||||
| 8758 | }, | ||||||||||||||||||||
| 8759 | |||||||||||||||||||||
| 8760 | 'security.patch_tenants' => { | ||||||||||||||||||||
| 8761 | body => {}, | ||||||||||||||||||||
| 8762 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-tenants', | ||||||||||||||||||||
| 8763 | method => 'PATCH', | ||||||||||||||||||||
| 8764 | parts => {}, | ||||||||||||||||||||
| 8765 | paths => [[ {}, "_plugins", "_security", "api", "tenants" ]], | ||||||||||||||||||||
| 8766 | qs => { | ||||||||||||||||||||
| 8767 | # Common API query parameters | ||||||||||||||||||||
| 8768 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8769 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8770 | 'human' => 'boolean', | ||||||||||||||||||||
| 8771 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8772 | 'source' => 'string', | ||||||||||||||||||||
| 8773 | }, | ||||||||||||||||||||
| 8774 | os_version => 1.000000, | ||||||||||||||||||||
| 8775 | }, | ||||||||||||||||||||
| 8776 | |||||||||||||||||||||
| 8777 | 'security.patch_user' => { | ||||||||||||||||||||
| 8778 | body => {}, | ||||||||||||||||||||
| 8779 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-user', | ||||||||||||||||||||
| 8780 | method => 'PATCH', | ||||||||||||||||||||
| 8781 | parts => { username => { required => 1 }}, | ||||||||||||||||||||
| 8782 | paths => [[ { username => 4 }, "_plugins", "_security", "api", "internalusers", "{username}" ]], | ||||||||||||||||||||
| 8783 | qs => { | ||||||||||||||||||||
| 8784 | # Common API query parameters | ||||||||||||||||||||
| 8785 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8786 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8787 | 'human' => 'boolean', | ||||||||||||||||||||
| 8788 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8789 | 'source' => 'string', | ||||||||||||||||||||
| 8790 | }, | ||||||||||||||||||||
| 8791 | os_version => 1.000000, | ||||||||||||||||||||
| 8792 | }, | ||||||||||||||||||||
| 8793 | |||||||||||||||||||||
| 8794 | 'security.patch_users' => { | ||||||||||||||||||||
| 8795 | body => {}, | ||||||||||||||||||||
| 8796 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#patch-users', | ||||||||||||||||||||
| 8797 | method => 'PATCH', | ||||||||||||||||||||
| 8798 | parts => {}, | ||||||||||||||||||||
| 8799 | paths => [[ {}, "_plugins", "_security", "api", "internalusers" ]], | ||||||||||||||||||||
| 8800 | qs => { | ||||||||||||||||||||
| 8801 | # Common API query parameters | ||||||||||||||||||||
| 8802 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8803 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8804 | 'human' => 'boolean', | ||||||||||||||||||||
| 8805 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8806 | 'source' => 'string', | ||||||||||||||||||||
| 8807 | }, | ||||||||||||||||||||
| 8808 | os_version => 1.000000, | ||||||||||||||||||||
| 8809 | }, | ||||||||||||||||||||
| 8810 | |||||||||||||||||||||
| 8811 | 'security.post_dashboards_info' => { | ||||||||||||||||||||
| 8812 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8813 | method => 'POST', | ||||||||||||||||||||
| 8814 | parts => {}, | ||||||||||||||||||||
| 8815 | paths => [[ {}, "_plugins", "_security", "dashboardsinfo" ]], | ||||||||||||||||||||
| 8816 | qs => { | ||||||||||||||||||||
| 8817 | # Common API query parameters | ||||||||||||||||||||
| 8818 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8819 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8820 | 'human' => 'boolean', | ||||||||||||||||||||
| 8821 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8822 | 'source' => 'string', | ||||||||||||||||||||
| 8823 | }, | ||||||||||||||||||||
| 8824 | os_version => 1.000000, | ||||||||||||||||||||
| 8825 | }, | ||||||||||||||||||||
| 8826 | |||||||||||||||||||||
| 8827 | 'security.reload_http_certificates' => { | ||||||||||||||||||||
| 8828 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#reload-http-certificates', | ||||||||||||||||||||
| 8829 | method => 'PUT', | ||||||||||||||||||||
| 8830 | parts => {}, | ||||||||||||||||||||
| 8831 | paths => [[ {}, "_plugins", "_security", "api", "ssl", "http", "reloadcerts" ]], | ||||||||||||||||||||
| 8832 | qs => { | ||||||||||||||||||||
| 8833 | # Common API query parameters | ||||||||||||||||||||
| 8834 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8835 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8836 | 'human' => 'boolean', | ||||||||||||||||||||
| 8837 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8838 | 'source' => 'string', | ||||||||||||||||||||
| 8839 | }, | ||||||||||||||||||||
| 8840 | os_version => 2.008000, | ||||||||||||||||||||
| 8841 | }, | ||||||||||||||||||||
| 8842 | |||||||||||||||||||||
| 8843 | 'security.reload_transport_certificates' => { | ||||||||||||||||||||
| 8844 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#reload-transport-certificates', | ||||||||||||||||||||
| 8845 | method => 'PUT', | ||||||||||||||||||||
| 8846 | parts => {}, | ||||||||||||||||||||
| 8847 | paths => [[ {}, "_plugins", "_security", "api", "ssl", "transport", "reloadcerts" ]], | ||||||||||||||||||||
| 8848 | qs => { | ||||||||||||||||||||
| 8849 | # Common API query parameters | ||||||||||||||||||||
| 8850 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8851 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8852 | 'human' => 'boolean', | ||||||||||||||||||||
| 8853 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8854 | 'source' => 'string', | ||||||||||||||||||||
| 8855 | }, | ||||||||||||||||||||
| 8856 | os_version => 2.008000, | ||||||||||||||||||||
| 8857 | }, | ||||||||||||||||||||
| 8858 | |||||||||||||||||||||
| 8859 | 'security.tenant_info' => { | ||||||||||||||||||||
| 8860 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8861 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 8862 | method => 'detect', | ||||||||||||||||||||
| 8863 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 8864 | parts => {}, | ||||||||||||||||||||
| 8865 | paths => [[ {}, "_plugins", "_security", "tenantinfo" ]], | ||||||||||||||||||||
| 8866 | qs => { | ||||||||||||||||||||
| 8867 | # Common API query parameters | ||||||||||||||||||||
| 8868 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8869 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8870 | 'human' => 'boolean', | ||||||||||||||||||||
| 8871 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8872 | 'source' => 'string', | ||||||||||||||||||||
| 8873 | }, | ||||||||||||||||||||
| 8874 | os_version => 1.000000, | ||||||||||||||||||||
| 8875 | }, | ||||||||||||||||||||
| 8876 | |||||||||||||||||||||
| 8877 | 'security.update_audit_configuration' => { | ||||||||||||||||||||
| 8878 | body => {}, | ||||||||||||||||||||
| 8879 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#audit-logs', | ||||||||||||||||||||
| 8880 | method => 'PUT', | ||||||||||||||||||||
| 8881 | parts => {}, | ||||||||||||||||||||
| 8882 | paths => [[ {}, "_plugins", "_security", "api", "audit", "config" ]], | ||||||||||||||||||||
| 8883 | qs => { | ||||||||||||||||||||
| 8884 | # Common API query parameters | ||||||||||||||||||||
| 8885 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8886 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8887 | 'human' => 'boolean', | ||||||||||||||||||||
| 8888 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8889 | 'source' => 'string', | ||||||||||||||||||||
| 8890 | }, | ||||||||||||||||||||
| 8891 | os_version => 1.000000, | ||||||||||||||||||||
| 8892 | }, | ||||||||||||||||||||
| 8893 | |||||||||||||||||||||
| 8894 | 'security.update_configuration' => { | ||||||||||||||||||||
| 8895 | body => {}, | ||||||||||||||||||||
| 8896 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#update-configuration', | ||||||||||||||||||||
| 8897 | method => 'PUT', | ||||||||||||||||||||
| 8898 | parts => {}, | ||||||||||||||||||||
| 8899 | paths => [[ {}, "_plugins", "_security", "api", "securityconfig", "config" ]], | ||||||||||||||||||||
| 8900 | qs => { | ||||||||||||||||||||
| 8901 | # Common API query parameters | ||||||||||||||||||||
| 8902 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8903 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8904 | 'human' => 'boolean', | ||||||||||||||||||||
| 8905 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8906 | 'source' => 'string', | ||||||||||||||||||||
| 8907 | }, | ||||||||||||||||||||
| 8908 | os_version => 2.010000, | ||||||||||||||||||||
| 8909 | }, | ||||||||||||||||||||
| 8910 | |||||||||||||||||||||
| 8911 | 'security.update_distinguished_name' => { | ||||||||||||||||||||
| 8912 | body => {}, | ||||||||||||||||||||
| 8913 | doc => 'https://opensearch.org/docs/latest/security/access-control/api/#update-distinguished-names', | ||||||||||||||||||||
| 8914 | method => 'PUT', | ||||||||||||||||||||
| 8915 | parts => { cluster_name => { required => 1 }}, | ||||||||||||||||||||
| 8916 | paths => [[ { cluster_name => 4 }, "_plugins", "_security", "api", "nodesdn", "{cluster_name}" ]], | ||||||||||||||||||||
| 8917 | qs => { | ||||||||||||||||||||
| 8918 | # Common API query parameters | ||||||||||||||||||||
| 8919 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8920 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8921 | 'human' => 'boolean', | ||||||||||||||||||||
| 8922 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8923 | 'source' => 'string', | ||||||||||||||||||||
| 8924 | }, | ||||||||||||||||||||
| 8925 | os_version => 1.000000, | ||||||||||||||||||||
| 8926 | }, | ||||||||||||||||||||
| 8927 | |||||||||||||||||||||
| 8928 | 'security.validate' => { | ||||||||||||||||||||
| 8929 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8930 | method => 'GET', | ||||||||||||||||||||
| 8931 | parts => {}, | ||||||||||||||||||||
| 8932 | paths => [[ {}, "_plugins", "_security", "api", "validate" ]], | ||||||||||||||||||||
| 8933 | qs => { | ||||||||||||||||||||
| 8934 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8935 | 'accept_invalid' => 'boolean', | ||||||||||||||||||||
| 8936 | # Common API query parameters | ||||||||||||||||||||
| 8937 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8938 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8939 | 'human' => 'boolean', | ||||||||||||||||||||
| 8940 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8941 | 'source' => 'string', | ||||||||||||||||||||
| 8942 | }, | ||||||||||||||||||||
| 8943 | os_version => 1.000000, | ||||||||||||||||||||
| 8944 | }, | ||||||||||||||||||||
| 8945 | |||||||||||||||||||||
| 8946 | 'security.who_am_i' => { | ||||||||||||||||||||
| 8947 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8948 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 8949 | method => 'detect', | ||||||||||||||||||||
| 8950 | detect => { method => 'GET', alternate => 'POST', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 8951 | parts => {}, | ||||||||||||||||||||
| 8952 | paths => [[ {}, "_plugins", "_security", "whoami" ]], | ||||||||||||||||||||
| 8953 | qs => { | ||||||||||||||||||||
| 8954 | # Common API query parameters | ||||||||||||||||||||
| 8955 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8956 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8957 | 'human' => 'boolean', | ||||||||||||||||||||
| 8958 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8959 | 'source' => 'string', | ||||||||||||||||||||
| 8960 | }, | ||||||||||||||||||||
| 8961 | os_version => 2.000000, | ||||||||||||||||||||
| 8962 | }, | ||||||||||||||||||||
| 8963 | |||||||||||||||||||||
| 8964 | 'security.who_am_i_protected' => { | ||||||||||||||||||||
| 8965 | doc => 'https://docs.opensearch.org/latest/security/access-control/api/', | ||||||||||||||||||||
| 8966 | method => 'GET', | ||||||||||||||||||||
| 8967 | parts => {}, | ||||||||||||||||||||
| 8968 | paths => [[ {}, "_plugins", "_security", "whoamiprotected" ]], | ||||||||||||||||||||
| 8969 | qs => { | ||||||||||||||||||||
| 8970 | # Common API query parameters | ||||||||||||||||||||
| 8971 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 8972 | 'filter_path' => 'list', | ||||||||||||||||||||
| 8973 | 'human' => 'boolean', | ||||||||||||||||||||
| 8974 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 8975 | 'source' => 'string', | ||||||||||||||||||||
| 8976 | }, | ||||||||||||||||||||
| 8977 | os_version => 2.011000, | ||||||||||||||||||||
| 8978 | }, | ||||||||||||||||||||
| 8979 | |||||||||||||||||||||
| 8980 | 'security_analytics.get_alerts' => { | ||||||||||||||||||||
| 8981 | doc => 'https://docs.opensearch.org/docs/latest/security-analytics/api-tools/alert-finding-api/#get-alerts', | ||||||||||||||||||||
| 8982 | method => 'GET', | ||||||||||||||||||||
| 8983 | parts => {}, | ||||||||||||||||||||
| 8984 | paths => [[ {}, "_plugins", "_security_analytics", "alerts" ]], | ||||||||||||||||||||
| 8985 | qs => { | ||||||||||||||||||||
| 8986 | # Endpoint specific query parameters | ||||||||||||||||||||
| 8987 | 'alertState' => 'string', | ||||||||||||||||||||
| 8988 | 'detectorType' => 'string', | ||||||||||||||||||||
| 8989 | 'detector_id' => 'string', | ||||||||||||||||||||
| 8990 | 'endTime' => 'number', | ||||||||||||||||||||
| 8991 | 'missing' => 'string', | ||||||||||||||||||||
| 8992 | 'searchString' => 'string', | ||||||||||||||||||||
| 8993 | 'severityLevel' => 'string', | ||||||||||||||||||||
| 8994 | 'size' => 'number', | ||||||||||||||||||||
| 8995 | 'sortOrder' => 'string', | ||||||||||||||||||||
| 8996 | 'sortString' => 'string', | ||||||||||||||||||||
| 8997 | 'startIndex' => 'number', | ||||||||||||||||||||
| 8998 | 'startTime' => 'number', | ||||||||||||||||||||
| 8999 | # Common API query parameters | ||||||||||||||||||||
| 9000 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9001 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9002 | 'human' => 'boolean', | ||||||||||||||||||||
| 9003 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9004 | 'source' => 'string', | ||||||||||||||||||||
| 9005 | }, | ||||||||||||||||||||
| 9006 | os_version => 2.004000, | ||||||||||||||||||||
| 9007 | }, | ||||||||||||||||||||
| 9008 | |||||||||||||||||||||
| 9009 | 'security_analytics.get_findings' => { | ||||||||||||||||||||
| 9010 | doc => 'https://docs.opensearch.org/docs/latest/security-analytics/api-tools/alert-finding-api/#get-findings', | ||||||||||||||||||||
| 9011 | method => 'GET', | ||||||||||||||||||||
| 9012 | parts => {}, | ||||||||||||||||||||
| 9013 | paths => [[ {}, "_plugins", "_security_analytics", "findings", "_search" ]], | ||||||||||||||||||||
| 9014 | qs => { | ||||||||||||||||||||
| 9015 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9016 | 'detectionType' => 'string', | ||||||||||||||||||||
| 9017 | 'detectorType' => 'string', | ||||||||||||||||||||
| 9018 | 'detector_id' => 'string', | ||||||||||||||||||||
| 9019 | 'endTime' => 'string', | ||||||||||||||||||||
| 9020 | 'findingIds' => 'string', | ||||||||||||||||||||
| 9021 | 'missing' => 'string', | ||||||||||||||||||||
| 9022 | 'searchString' => 'string', | ||||||||||||||||||||
| 9023 | 'severity' => 'string', | ||||||||||||||||||||
| 9024 | 'size' => 'number', | ||||||||||||||||||||
| 9025 | 'sortOrder' => 'string', | ||||||||||||||||||||
| 9026 | 'sortString' => 'string', | ||||||||||||||||||||
| 9027 | 'startIndex' => 'number', | ||||||||||||||||||||
| 9028 | 'startTime' => 'number', | ||||||||||||||||||||
| 9029 | # Common API query parameters | ||||||||||||||||||||
| 9030 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9031 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9032 | 'human' => 'boolean', | ||||||||||||||||||||
| 9033 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9034 | 'source' => 'string', | ||||||||||||||||||||
| 9035 | }, | ||||||||||||||||||||
| 9036 | os_version => 2.004000, | ||||||||||||||||||||
| 9037 | }, | ||||||||||||||||||||
| 9038 | |||||||||||||||||||||
| 9039 | 'security_analytics.search_finding_correlations' => { | ||||||||||||||||||||
| 9040 | doc => 'https://docs.opensearch.org/docs/latest/security-analytics/api-tools/correlation-eng/#list-correlations-for-a-finding-belonging-to-a-log-type', | ||||||||||||||||||||
| 9041 | method => 'GET', | ||||||||||||||||||||
| 9042 | parts => {}, | ||||||||||||||||||||
| 9043 | paths => [[ {}, "_plugins", "_security_analytics", "findings", "correlate" ]], | ||||||||||||||||||||
| 9044 | qs => { | ||||||||||||||||||||
| 9045 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9046 | 'detector_type' => 'string', | ||||||||||||||||||||
| 9047 | 'finding' => 'string', | ||||||||||||||||||||
| 9048 | 'nearby_findings' => 'number', | ||||||||||||||||||||
| 9049 | 'time_window' => 'number', | ||||||||||||||||||||
| 9050 | # Common API query parameters | ||||||||||||||||||||
| 9051 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9052 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9053 | 'human' => 'boolean', | ||||||||||||||||||||
| 9054 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9055 | 'source' => 'string', | ||||||||||||||||||||
| 9056 | }, | ||||||||||||||||||||
| 9057 | os_version => 2.007000, | ||||||||||||||||||||
| 9058 | }, | ||||||||||||||||||||
| 9059 | |||||||||||||||||||||
| 9060 | 'sm.create_policy' => { | ||||||||||||||||||||
| 9061 | body => {}, | ||||||||||||||||||||
| 9062 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9063 | method => 'POST', | ||||||||||||||||||||
| 9064 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9065 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}" ]], | ||||||||||||||||||||
| 9066 | qs => { | ||||||||||||||||||||
| 9067 | # Common API query parameters | ||||||||||||||||||||
| 9068 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9069 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9070 | 'human' => 'boolean', | ||||||||||||||||||||
| 9071 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9072 | 'source' => 'string', | ||||||||||||||||||||
| 9073 | }, | ||||||||||||||||||||
| 9074 | os_version => 2.001000, | ||||||||||||||||||||
| 9075 | }, | ||||||||||||||||||||
| 9076 | |||||||||||||||||||||
| 9077 | 'sm.delete_policy' => { | ||||||||||||||||||||
| 9078 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9079 | method => 'DELETE', | ||||||||||||||||||||
| 9080 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9081 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}" ]], | ||||||||||||||||||||
| 9082 | qs => { | ||||||||||||||||||||
| 9083 | # Common API query parameters | ||||||||||||||||||||
| 9084 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9085 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9086 | 'human' => 'boolean', | ||||||||||||||||||||
| 9087 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9088 | 'source' => 'string', | ||||||||||||||||||||
| 9089 | }, | ||||||||||||||||||||
| 9090 | os_version => 2.001000, | ||||||||||||||||||||
| 9091 | }, | ||||||||||||||||||||
| 9092 | |||||||||||||||||||||
| 9093 | 'sm.explain_policy' => { | ||||||||||||||||||||
| 9094 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9095 | method => 'GET', | ||||||||||||||||||||
| 9096 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9097 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}", "_explain" ]], | ||||||||||||||||||||
| 9098 | qs => { | ||||||||||||||||||||
| 9099 | # Common API query parameters | ||||||||||||||||||||
| 9100 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9101 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9102 | 'human' => 'boolean', | ||||||||||||||||||||
| 9103 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9104 | 'source' => 'string', | ||||||||||||||||||||
| 9105 | }, | ||||||||||||||||||||
| 9106 | os_version => 2.001000, | ||||||||||||||||||||
| 9107 | }, | ||||||||||||||||||||
| 9108 | |||||||||||||||||||||
| 9109 | 'sm.get_policies' => { | ||||||||||||||||||||
| 9110 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9111 | method => 'GET', | ||||||||||||||||||||
| 9112 | parts => {}, | ||||||||||||||||||||
| 9113 | paths => [[ {}, "_plugins", "_sm", "policies" ]], | ||||||||||||||||||||
| 9114 | qs => { | ||||||||||||||||||||
| 9115 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9116 | 'from' => 'number', | ||||||||||||||||||||
| 9117 | 'queryString' => 'string', | ||||||||||||||||||||
| 9118 | 'size' => 'number', | ||||||||||||||||||||
| 9119 | 'sortField' => 'string', | ||||||||||||||||||||
| 9120 | 'sortOrder' => 'string', | ||||||||||||||||||||
| 9121 | # Common API query parameters | ||||||||||||||||||||
| 9122 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9123 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9124 | 'human' => 'boolean', | ||||||||||||||||||||
| 9125 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9126 | 'source' => 'string', | ||||||||||||||||||||
| 9127 | }, | ||||||||||||||||||||
| 9128 | os_version => 2.001000, | ||||||||||||||||||||
| 9129 | }, | ||||||||||||||||||||
| 9130 | |||||||||||||||||||||
| 9131 | 'sm.get_policy' => { | ||||||||||||||||||||
| 9132 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9133 | method => 'GET', | ||||||||||||||||||||
| 9134 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9135 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}" ]], | ||||||||||||||||||||
| 9136 | qs => { | ||||||||||||||||||||
| 9137 | # Common API query parameters | ||||||||||||||||||||
| 9138 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9139 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9140 | 'human' => 'boolean', | ||||||||||||||||||||
| 9141 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9142 | 'source' => 'string', | ||||||||||||||||||||
| 9143 | }, | ||||||||||||||||||||
| 9144 | os_version => 2.001000, | ||||||||||||||||||||
| 9145 | }, | ||||||||||||||||||||
| 9146 | |||||||||||||||||||||
| 9147 | 'sm.start_policy' => { | ||||||||||||||||||||
| 9148 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9149 | method => 'POST', | ||||||||||||||||||||
| 9150 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9151 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}", "_start" ]], | ||||||||||||||||||||
| 9152 | qs => { | ||||||||||||||||||||
| 9153 | # Common API query parameters | ||||||||||||||||||||
| 9154 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9155 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9156 | 'human' => 'boolean', | ||||||||||||||||||||
| 9157 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9158 | 'source' => 'string', | ||||||||||||||||||||
| 9159 | }, | ||||||||||||||||||||
| 9160 | os_version => 2.001000, | ||||||||||||||||||||
| 9161 | }, | ||||||||||||||||||||
| 9162 | |||||||||||||||||||||
| 9163 | 'sm.stop_policy' => { | ||||||||||||||||||||
| 9164 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9165 | method => 'POST', | ||||||||||||||||||||
| 9166 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9167 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}", "_stop" ]], | ||||||||||||||||||||
| 9168 | qs => { | ||||||||||||||||||||
| 9169 | # Common API query parameters | ||||||||||||||||||||
| 9170 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9171 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9172 | 'human' => 'boolean', | ||||||||||||||||||||
| 9173 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9174 | 'source' => 'string', | ||||||||||||||||||||
| 9175 | }, | ||||||||||||||||||||
| 9176 | os_version => 2.001000, | ||||||||||||||||||||
| 9177 | }, | ||||||||||||||||||||
| 9178 | |||||||||||||||||||||
| 9179 | 'sm.update_policy' => { | ||||||||||||||||||||
| 9180 | body => {}, | ||||||||||||||||||||
| 9181 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/', | ||||||||||||||||||||
| 9182 | method => 'PUT', | ||||||||||||||||||||
| 9183 | parts => { policy_name => { required => 1 }}, | ||||||||||||||||||||
| 9184 | paths => [[ { policy_name => 3 }, "_plugins", "_sm", "policies", "{policy_name}" ]], | ||||||||||||||||||||
| 9185 | qs => { | ||||||||||||||||||||
| 9186 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9187 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 9188 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 9189 | # Common API query parameters | ||||||||||||||||||||
| 9190 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9191 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9192 | 'human' => 'boolean', | ||||||||||||||||||||
| 9193 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9194 | 'source' => 'string', | ||||||||||||||||||||
| 9195 | }, | ||||||||||||||||||||
| 9196 | os_version => 2.001000, | ||||||||||||||||||||
| 9197 | }, | ||||||||||||||||||||
| 9198 | |||||||||||||||||||||
| 9199 | 'snapshot.cleanup_repository' => { | ||||||||||||||||||||
| 9200 | doc => 'https://docs.opensearch.org/latest/api-reference/snapshots/index/', | ||||||||||||||||||||
| 9201 | method => 'POST', | ||||||||||||||||||||
| 9202 | parts => { repository => { required => 1 }}, | ||||||||||||||||||||
| 9203 | paths => [[ { repository => 1 }, "_snapshot", "{repository}", "_cleanup" ]], | ||||||||||||||||||||
| 9204 | qs => { | ||||||||||||||||||||
| 9205 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9206 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9207 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9208 | 'timeout' => 'string', | ||||||||||||||||||||
| 9209 | # Common API query parameters | ||||||||||||||||||||
| 9210 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9211 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9212 | 'human' => 'boolean', | ||||||||||||||||||||
| 9213 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9214 | 'source' => 'string', | ||||||||||||||||||||
| 9215 | }, | ||||||||||||||||||||
| 9216 | os_version => 1.000000, | ||||||||||||||||||||
| 9217 | }, | ||||||||||||||||||||
| 9218 | |||||||||||||||||||||
| 9219 | 'snapshot.clone' => { | ||||||||||||||||||||
| 9220 | body => {}, | ||||||||||||||||||||
| 9221 | doc => 'https://docs.opensearch.org/latest/api-reference/snapshots/index/', | ||||||||||||||||||||
| 9222 | method => 'PUT', | ||||||||||||||||||||
| 9223 | parts => { repository => { required => 1 }, snapshot => { required => 1 }, target_snapshot => { required => 1 }}, | ||||||||||||||||||||
| 9224 | paths => [[ { repository => 1, snapshot => 2, target_snapshot => 4 }, "_snapshot", "{repository}", "{snapshot}", "_clone", "{target_snapshot}" ]], | ||||||||||||||||||||
| 9225 | qs => { | ||||||||||||||||||||
| 9226 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9227 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9228 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9229 | # Common API query parameters | ||||||||||||||||||||
| 9230 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9231 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9232 | 'human' => 'boolean', | ||||||||||||||||||||
| 9233 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9234 | 'source' => 'string', | ||||||||||||||||||||
| 9235 | }, | ||||||||||||||||||||
| 9236 | os_version => 1.000000, | ||||||||||||||||||||
| 9237 | }, | ||||||||||||||||||||
| 9238 | |||||||||||||||||||||
| 9239 | 'snapshot.create' => { | ||||||||||||||||||||
| 9240 | body => {}, | ||||||||||||||||||||
| 9241 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/create-snapshot/', | ||||||||||||||||||||
| 9242 | ## ENDPOINT HAS ALTERNATE METHOD | ||||||||||||||||||||
| 9243 | method => 'detect', | ||||||||||||||||||||
| 9244 | detect => { method => 'POST', alternate => 'PUT', check => { body => 1, paths => 0 } }, | ||||||||||||||||||||
| 9245 | parts => { repository => { required => 1 }, snapshot => { required => 1 }}, | ||||||||||||||||||||
| 9246 | paths => [[ { repository => 1, snapshot => 2 }, "_snapshot", "{repository}", "{snapshot}" ]], | ||||||||||||||||||||
| 9247 | qs => { | ||||||||||||||||||||
| 9248 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9249 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9250 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9251 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 9252 | # Common API query parameters | ||||||||||||||||||||
| 9253 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9254 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9255 | 'human' => 'boolean', | ||||||||||||||||||||
| 9256 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9257 | 'source' => 'string', | ||||||||||||||||||||
| 9258 | }, | ||||||||||||||||||||
| 9259 | os_version => 1.000000, | ||||||||||||||||||||
| 9260 | }, | ||||||||||||||||||||
| 9261 | |||||||||||||||||||||
| 9262 | 'snapshot.create_repository' => { | ||||||||||||||||||||
| 9263 | body => { required => 1 }, | ||||||||||||||||||||
| 9264 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/create-repository/', | ||||||||||||||||||||
| 9265 | method => 'PUT', | ||||||||||||||||||||
| 9266 | parts => { repository => { required => 1 }}, | ||||||||||||||||||||
| 9267 | paths => [[ { repository => 1 }, "_snapshot", "{repository}" ]], | ||||||||||||||||||||
| 9268 | qs => { | ||||||||||||||||||||
| 9269 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9270 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9271 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9272 | 'timeout' => 'string', | ||||||||||||||||||||
| 9273 | 'verify' => 'boolean', | ||||||||||||||||||||
| 9274 | # Common API query parameters | ||||||||||||||||||||
| 9275 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9276 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9277 | 'human' => 'boolean', | ||||||||||||||||||||
| 9278 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9279 | 'source' => 'string', | ||||||||||||||||||||
| 9280 | }, | ||||||||||||||||||||
| 9281 | os_version => 1.000000, | ||||||||||||||||||||
| 9282 | }, | ||||||||||||||||||||
| 9283 | |||||||||||||||||||||
| 9284 | 'snapshot.delete' => { | ||||||||||||||||||||
| 9285 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/delete-snapshot/', | ||||||||||||||||||||
| 9286 | method => 'DELETE', | ||||||||||||||||||||
| 9287 | parts => { repository => { required => 1 }, snapshot => { required => 1 }}, | ||||||||||||||||||||
| 9288 | paths => [[ { repository => 1, snapshot => 2 }, "_snapshot", "{repository}", "{snapshot}" ]], | ||||||||||||||||||||
| 9289 | qs => { | ||||||||||||||||||||
| 9290 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9291 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9292 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9293 | # Common API query parameters | ||||||||||||||||||||
| 9294 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9295 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9296 | 'human' => 'boolean', | ||||||||||||||||||||
| 9297 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9298 | 'source' => 'string', | ||||||||||||||||||||
| 9299 | }, | ||||||||||||||||||||
| 9300 | os_version => 1.000000, | ||||||||||||||||||||
| 9301 | }, | ||||||||||||||||||||
| 9302 | |||||||||||||||||||||
| 9303 | 'snapshot.delete_repository' => { | ||||||||||||||||||||
| 9304 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/delete-snapshot-repository/', | ||||||||||||||||||||
| 9305 | method => 'DELETE', | ||||||||||||||||||||
| 9306 | parts => { repository => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 9307 | paths => [[ { repository => 1 }, "_snapshot", "{repository}" ]], | ||||||||||||||||||||
| 9308 | qs => { | ||||||||||||||||||||
| 9309 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9310 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9311 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9312 | 'timeout' => 'string', | ||||||||||||||||||||
| 9313 | # Common API query parameters | ||||||||||||||||||||
| 9314 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9315 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9316 | 'human' => 'boolean', | ||||||||||||||||||||
| 9317 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9318 | 'source' => 'string', | ||||||||||||||||||||
| 9319 | }, | ||||||||||||||||||||
| 9320 | os_version => 1.000000, | ||||||||||||||||||||
| 9321 | }, | ||||||||||||||||||||
| 9322 | |||||||||||||||||||||
| 9323 | 'snapshot.get' => { | ||||||||||||||||||||
| 9324 | doc => 'https://docs.opensearch.org/latest/api-reference/snapshots/index/', | ||||||||||||||||||||
| 9325 | method => 'GET', | ||||||||||||||||||||
| 9326 | parts => { repository => { required => 1 }, snapshot => { multi => 1, required => 1 }}, | ||||||||||||||||||||
| 9327 | paths => [[ { repository => 1, snapshot => 2 }, "_snapshot", "{repository}", "{snapshot}" ]], | ||||||||||||||||||||
| 9328 | qs => { | ||||||||||||||||||||
| 9329 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9330 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9331 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 9332 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9333 | 'verbose' => 'boolean', | ||||||||||||||||||||
| 9334 | # Common API query parameters | ||||||||||||||||||||
| 9335 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9336 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9337 | 'human' => 'boolean', | ||||||||||||||||||||
| 9338 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9339 | 'source' => 'string', | ||||||||||||||||||||
| 9340 | }, | ||||||||||||||||||||
| 9341 | os_version => 1.000000, | ||||||||||||||||||||
| 9342 | }, | ||||||||||||||||||||
| 9343 | |||||||||||||||||||||
| 9344 | 'snapshot.get_repository' => { | ||||||||||||||||||||
| 9345 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot-repository/', | ||||||||||||||||||||
| 9346 | method => 'GET', | ||||||||||||||||||||
| 9347 | parts => { repository => { multi => 1 }}, | ||||||||||||||||||||
| 9348 | paths => [ | ||||||||||||||||||||
| 9349 | [ { repository => 1 }, "_snapshot", "{repository}" ], | ||||||||||||||||||||
| 9350 | [ {}, "_snapshot" ] | ||||||||||||||||||||
| 9351 | ], | ||||||||||||||||||||
| 9352 | qs => { | ||||||||||||||||||||
| 9353 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9354 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9355 | 'local' => 'boolean', | ||||||||||||||||||||
| 9356 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9357 | # Common API query parameters | ||||||||||||||||||||
| 9358 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9359 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9360 | 'human' => 'boolean', | ||||||||||||||||||||
| 9361 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9362 | 'source' => 'string', | ||||||||||||||||||||
| 9363 | }, | ||||||||||||||||||||
| 9364 | os_version => 1.000000, | ||||||||||||||||||||
| 9365 | }, | ||||||||||||||||||||
| 9366 | |||||||||||||||||||||
| 9367 | 'snapshot.restore' => { | ||||||||||||||||||||
| 9368 | body => {}, | ||||||||||||||||||||
| 9369 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/restore-snapshot/', | ||||||||||||||||||||
| 9370 | method => 'POST', | ||||||||||||||||||||
| 9371 | parts => { repository => { required => 1 }, snapshot => { required => 1 }}, | ||||||||||||||||||||
| 9372 | paths => [[ { repository => 1, snapshot => 2 }, "_snapshot", "{repository}", "{snapshot}", "_restore" ]], | ||||||||||||||||||||
| 9373 | qs => { | ||||||||||||||||||||
| 9374 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9375 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9376 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9377 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 9378 | # Common API query parameters | ||||||||||||||||||||
| 9379 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9380 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9381 | 'human' => 'boolean', | ||||||||||||||||||||
| 9382 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9383 | 'source' => 'string', | ||||||||||||||||||||
| 9384 | }, | ||||||||||||||||||||
| 9385 | os_version => 1.000000, | ||||||||||||||||||||
| 9386 | }, | ||||||||||||||||||||
| 9387 | |||||||||||||||||||||
| 9388 | 'snapshot.status' => { | ||||||||||||||||||||
| 9389 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot-status/', | ||||||||||||||||||||
| 9390 | method => 'GET', | ||||||||||||||||||||
| 9391 | parts => { repository => {}, snapshot => { multi => 1 }}, | ||||||||||||||||||||
| 9392 | paths => [ | ||||||||||||||||||||
| 9393 | [ { repository => 1, snapshot => 2 }, "_snapshot", "{repository}", "{snapshot}", "_status" ], | ||||||||||||||||||||
| 9394 | [ { repository => 1 }, "_snapshot", "{repository}", "_status" ], | ||||||||||||||||||||
| 9395 | [ {}, "_snapshot", "_status" ] | ||||||||||||||||||||
| 9396 | ], | ||||||||||||||||||||
| 9397 | qs => { | ||||||||||||||||||||
| 9398 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9399 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9400 | 'ignore_unavailable' => 'boolean', | ||||||||||||||||||||
| 9401 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9402 | # Common API query parameters | ||||||||||||||||||||
| 9403 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9404 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9405 | 'human' => 'boolean', | ||||||||||||||||||||
| 9406 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9407 | 'source' => 'string', | ||||||||||||||||||||
| 9408 | }, | ||||||||||||||||||||
| 9409 | os_version => 1.000000, | ||||||||||||||||||||
| 9410 | }, | ||||||||||||||||||||
| 9411 | |||||||||||||||||||||
| 9412 | 'snapshot.verify_repository' => { | ||||||||||||||||||||
| 9413 | doc => 'https://opensearch.org/docs/latest/api-reference/snapshots/verify-snapshot-repository/', | ||||||||||||||||||||
| 9414 | method => 'POST', | ||||||||||||||||||||
| 9415 | parts => { repository => { required => 1 }}, | ||||||||||||||||||||
| 9416 | paths => [[ { repository => 1 }, "_snapshot", "{repository}", "_verify" ]], | ||||||||||||||||||||
| 9417 | qs => { | ||||||||||||||||||||
| 9418 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9419 | 'cluster_manager_timeout' => 'string', | ||||||||||||||||||||
| 9420 | 'master_timeout' => 'string', | ||||||||||||||||||||
| 9421 | 'timeout' => 'string', | ||||||||||||||||||||
| 9422 | # Common API query parameters | ||||||||||||||||||||
| 9423 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9424 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9425 | 'human' => 'boolean', | ||||||||||||||||||||
| 9426 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9427 | 'source' => 'string', | ||||||||||||||||||||
| 9428 | }, | ||||||||||||||||||||
| 9429 | os_version => 1.000000, | ||||||||||||||||||||
| 9430 | }, | ||||||||||||||||||||
| 9431 | |||||||||||||||||||||
| 9432 | 'sql.close' => { | ||||||||||||||||||||
| 9433 | body => {}, | ||||||||||||||||||||
| 9434 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/', | ||||||||||||||||||||
| 9435 | method => 'POST', | ||||||||||||||||||||
| 9436 | parts => {}, | ||||||||||||||||||||
| 9437 | paths => [[ {}, "_plugins", "_sql", "close" ]], | ||||||||||||||||||||
| 9438 | qs => { | ||||||||||||||||||||
| 9439 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9440 | 'format' => 'string', | ||||||||||||||||||||
| 9441 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 9442 | # Common API query parameters | ||||||||||||||||||||
| 9443 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9444 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9445 | 'human' => 'boolean', | ||||||||||||||||||||
| 9446 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9447 | 'source' => 'string', | ||||||||||||||||||||
| 9448 | }, | ||||||||||||||||||||
| 9449 | os_version => 1.000000, | ||||||||||||||||||||
| 9450 | }, | ||||||||||||||||||||
| 9451 | |||||||||||||||||||||
| 9452 | 'sql.explain' => { | ||||||||||||||||||||
| 9453 | body => {}, | ||||||||||||||||||||
| 9454 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/', | ||||||||||||||||||||
| 9455 | method => 'POST', | ||||||||||||||||||||
| 9456 | parts => {}, | ||||||||||||||||||||
| 9457 | paths => [[ {}, "_plugins", "_sql", "_explain" ]], | ||||||||||||||||||||
| 9458 | qs => { | ||||||||||||||||||||
| 9459 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9460 | 'format' => 'string', | ||||||||||||||||||||
| 9461 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 9462 | # Common API query parameters | ||||||||||||||||||||
| 9463 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9464 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9465 | 'human' => 'boolean', | ||||||||||||||||||||
| 9466 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9467 | 'source' => 'string', | ||||||||||||||||||||
| 9468 | }, | ||||||||||||||||||||
| 9469 | os_version => 1.000000, | ||||||||||||||||||||
| 9470 | }, | ||||||||||||||||||||
| 9471 | |||||||||||||||||||||
| 9472 | 'sql.get_stats' => { | ||||||||||||||||||||
| 9473 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/monitoring/', | ||||||||||||||||||||
| 9474 | method => 'GET', | ||||||||||||||||||||
| 9475 | parts => {}, | ||||||||||||||||||||
| 9476 | paths => [[ {}, "_plugins", "_sql", "stats" ]], | ||||||||||||||||||||
| 9477 | qs => { | ||||||||||||||||||||
| 9478 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9479 | 'format' => 'string', | ||||||||||||||||||||
| 9480 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 9481 | # Common API query parameters | ||||||||||||||||||||
| 9482 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9483 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9484 | 'human' => 'boolean', | ||||||||||||||||||||
| 9485 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9486 | 'source' => 'string', | ||||||||||||||||||||
| 9487 | }, | ||||||||||||||||||||
| 9488 | os_version => 1.000000, | ||||||||||||||||||||
| 9489 | }, | ||||||||||||||||||||
| 9490 | |||||||||||||||||||||
| 9491 | 'sql.post_stats' => { | ||||||||||||||||||||
| 9492 | body => {}, | ||||||||||||||||||||
| 9493 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/monitoring/', | ||||||||||||||||||||
| 9494 | method => 'POST', | ||||||||||||||||||||
| 9495 | parts => {}, | ||||||||||||||||||||
| 9496 | paths => [[ {}, "_plugins", "_sql", "stats" ]], | ||||||||||||||||||||
| 9497 | qs => { | ||||||||||||||||||||
| 9498 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9499 | 'format' => 'string', | ||||||||||||||||||||
| 9500 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 9501 | # Common API query parameters | ||||||||||||||||||||
| 9502 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9503 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9504 | 'human' => 'boolean', | ||||||||||||||||||||
| 9505 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9506 | 'source' => 'string', | ||||||||||||||||||||
| 9507 | }, | ||||||||||||||||||||
| 9508 | os_version => 1.000000, | ||||||||||||||||||||
| 9509 | }, | ||||||||||||||||||||
| 9510 | |||||||||||||||||||||
| 9511 | 'sql.query' => { | ||||||||||||||||||||
| 9512 | body => {}, | ||||||||||||||||||||
| 9513 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/', | ||||||||||||||||||||
| 9514 | method => 'POST', | ||||||||||||||||||||
| 9515 | parts => {}, | ||||||||||||||||||||
| 9516 | paths => [[ {}, "_plugins", "_sql" ]], | ||||||||||||||||||||
| 9517 | qs => { | ||||||||||||||||||||
| 9518 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9519 | 'format' => 'string', | ||||||||||||||||||||
| 9520 | 'sanitize' => 'boolean', | ||||||||||||||||||||
| 9521 | # Common API query parameters | ||||||||||||||||||||
| 9522 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9523 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9524 | 'human' => 'boolean', | ||||||||||||||||||||
| 9525 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9526 | 'source' => 'string', | ||||||||||||||||||||
| 9527 | }, | ||||||||||||||||||||
| 9528 | os_version => 1.000000, | ||||||||||||||||||||
| 9529 | }, | ||||||||||||||||||||
| 9530 | |||||||||||||||||||||
| 9531 | 'sql.settings' => { | ||||||||||||||||||||
| 9532 | body => {}, | ||||||||||||||||||||
| 9533 | doc => 'https://opensearch.org/docs/latest/search-plugins/sql/settings/', | ||||||||||||||||||||
| 9534 | method => 'PUT', | ||||||||||||||||||||
| 9535 | parts => {}, | ||||||||||||||||||||
| 9536 | paths => [[ {}, "_plugins", "_query", "settings" ]], | ||||||||||||||||||||
| 9537 | qs => { | ||||||||||||||||||||
| 9538 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9539 | 'format' => 'string', | ||||||||||||||||||||
| 9540 | # Common API query parameters | ||||||||||||||||||||
| 9541 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9542 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9543 | 'human' => 'boolean', | ||||||||||||||||||||
| 9544 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9545 | 'source' => 'string', | ||||||||||||||||||||
| 9546 | }, | ||||||||||||||||||||
| 9547 | os_version => 1.000000, | ||||||||||||||||||||
| 9548 | }, | ||||||||||||||||||||
| 9549 | |||||||||||||||||||||
| 9550 | 'tasks.cancel' => { | ||||||||||||||||||||
| 9551 | doc => 'https://opensearch.org/docs/latest/api-reference/tasks/#task-canceling', | ||||||||||||||||||||
| 9552 | method => 'POST', | ||||||||||||||||||||
| 9553 | parts => { task_id => {}}, | ||||||||||||||||||||
| 9554 | paths => [ | ||||||||||||||||||||
| 9555 | [ { task_id => 1 }, "_tasks", "{task_id}", "_cancel" ], | ||||||||||||||||||||
| 9556 | [ {}, "_tasks", "_cancel" ] | ||||||||||||||||||||
| 9557 | ], | ||||||||||||||||||||
| 9558 | qs => { | ||||||||||||||||||||
| 9559 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9560 | 'actions' => 'list', | ||||||||||||||||||||
| 9561 | 'nodes' => 'list', | ||||||||||||||||||||
| 9562 | 'parent_task_id' => 'string', | ||||||||||||||||||||
| 9563 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 9564 | # Common API query parameters | ||||||||||||||||||||
| 9565 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9566 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9567 | 'human' => 'boolean', | ||||||||||||||||||||
| 9568 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9569 | 'source' => 'string', | ||||||||||||||||||||
| 9570 | }, | ||||||||||||||||||||
| 9571 | os_version => 1.000000, | ||||||||||||||||||||
| 9572 | }, | ||||||||||||||||||||
| 9573 | |||||||||||||||||||||
| 9574 | 'tasks.get' => { | ||||||||||||||||||||
| 9575 | doc => 'https://opensearch.org/docs/latest/api-reference/tasks/', | ||||||||||||||||||||
| 9576 | method => 'GET', | ||||||||||||||||||||
| 9577 | parts => { task_id => { required => 1 }}, | ||||||||||||||||||||
| 9578 | paths => [[ { task_id => 1 }, "_tasks", "{task_id}" ]], | ||||||||||||||||||||
| 9579 | qs => { | ||||||||||||||||||||
| 9580 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9581 | 'timeout' => 'string', | ||||||||||||||||||||
| 9582 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 9583 | # Common API query parameters | ||||||||||||||||||||
| 9584 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9585 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9586 | 'human' => 'boolean', | ||||||||||||||||||||
| 9587 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9588 | 'source' => 'string', | ||||||||||||||||||||
| 9589 | }, | ||||||||||||||||||||
| 9590 | os_version => 1.000000, | ||||||||||||||||||||
| 9591 | }, | ||||||||||||||||||||
| 9592 | |||||||||||||||||||||
| 9593 | 'tasks.list' => { | ||||||||||||||||||||
| 9594 | doc => 'https://opensearch.org/docs/latest/api-reference/tasks/', | ||||||||||||||||||||
| 9595 | method => 'GET', | ||||||||||||||||||||
| 9596 | parts => {}, | ||||||||||||||||||||
| 9597 | paths => [[ {}, "_tasks" ]], | ||||||||||||||||||||
| 9598 | qs => { | ||||||||||||||||||||
| 9599 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9600 | 'actions' => 'list', | ||||||||||||||||||||
| 9601 | 'detailed' => 'boolean', | ||||||||||||||||||||
| 9602 | 'group_by' => 'string', | ||||||||||||||||||||
| 9603 | 'nodes' => 'list', | ||||||||||||||||||||
| 9604 | 'parent_task_id' => 'string', | ||||||||||||||||||||
| 9605 | 'timeout' => 'string', | ||||||||||||||||||||
| 9606 | 'wait_for_completion' => 'boolean', | ||||||||||||||||||||
| 9607 | # Common API query parameters | ||||||||||||||||||||
| 9608 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9609 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9610 | 'human' => 'boolean', | ||||||||||||||||||||
| 9611 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9612 | 'source' => 'string', | ||||||||||||||||||||
| 9613 | }, | ||||||||||||||||||||
| 9614 | os_version => 1.000000, | ||||||||||||||||||||
| 9615 | }, | ||||||||||||||||||||
| 9616 | |||||||||||||||||||||
| 9617 | 'transforms.delete' => { | ||||||||||||||||||||
| 9618 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#delete-a-transform-job', | ||||||||||||||||||||
| 9619 | method => 'DELETE', | ||||||||||||||||||||
| 9620 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9621 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}" ]], | ||||||||||||||||||||
| 9622 | qs => { | ||||||||||||||||||||
| 9623 | # Common API query parameters | ||||||||||||||||||||
| 9624 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9625 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9626 | 'human' => 'boolean', | ||||||||||||||||||||
| 9627 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9628 | 'source' => 'string', | ||||||||||||||||||||
| 9629 | }, | ||||||||||||||||||||
| 9630 | os_version => 1.000000, | ||||||||||||||||||||
| 9631 | }, | ||||||||||||||||||||
| 9632 | |||||||||||||||||||||
| 9633 | 'transforms.explain' => { | ||||||||||||||||||||
| 9634 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#get-the-status-of-a-transform-job', | ||||||||||||||||||||
| 9635 | method => 'GET', | ||||||||||||||||||||
| 9636 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9637 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}", "_explain" ]], | ||||||||||||||||||||
| 9638 | qs => { | ||||||||||||||||||||
| 9639 | # Common API query parameters | ||||||||||||||||||||
| 9640 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9641 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9642 | 'human' => 'boolean', | ||||||||||||||||||||
| 9643 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9644 | 'source' => 'string', | ||||||||||||||||||||
| 9645 | }, | ||||||||||||||||||||
| 9646 | os_version => 1.000000, | ||||||||||||||||||||
| 9647 | }, | ||||||||||||||||||||
| 9648 | |||||||||||||||||||||
| 9649 | 'transforms.get' => { | ||||||||||||||||||||
| 9650 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#get-a-transform-jobs-details', | ||||||||||||||||||||
| 9651 | method => 'GET', | ||||||||||||||||||||
| 9652 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9653 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}" ]], | ||||||||||||||||||||
| 9654 | qs => { | ||||||||||||||||||||
| 9655 | # Common API query parameters | ||||||||||||||||||||
| 9656 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9657 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9658 | 'human' => 'boolean', | ||||||||||||||||||||
| 9659 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9660 | 'source' => 'string', | ||||||||||||||||||||
| 9661 | }, | ||||||||||||||||||||
| 9662 | os_version => 1.000000, | ||||||||||||||||||||
| 9663 | }, | ||||||||||||||||||||
| 9664 | |||||||||||||||||||||
| 9665 | 'transforms.preview' => { | ||||||||||||||||||||
| 9666 | body => {}, | ||||||||||||||||||||
| 9667 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#preview-a-transform-jobs-results', | ||||||||||||||||||||
| 9668 | method => 'POST', | ||||||||||||||||||||
| 9669 | parts => {}, | ||||||||||||||||||||
| 9670 | paths => [[ {}, "_plugins", "_transform", "_preview" ]], | ||||||||||||||||||||
| 9671 | qs => { | ||||||||||||||||||||
| 9672 | # Common API query parameters | ||||||||||||||||||||
| 9673 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9674 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9675 | 'human' => 'boolean', | ||||||||||||||||||||
| 9676 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9677 | 'source' => 'string', | ||||||||||||||||||||
| 9678 | }, | ||||||||||||||||||||
| 9679 | os_version => 1.000000, | ||||||||||||||||||||
| 9680 | }, | ||||||||||||||||||||
| 9681 | |||||||||||||||||||||
| 9682 | 'transforms.put' => { | ||||||||||||||||||||
| 9683 | body => {}, | ||||||||||||||||||||
| 9684 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#create-a-transform-job', | ||||||||||||||||||||
| 9685 | method => 'PUT', | ||||||||||||||||||||
| 9686 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9687 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}" ]], | ||||||||||||||||||||
| 9688 | qs => { | ||||||||||||||||||||
| 9689 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9690 | 'if_primary_term' => 'number', | ||||||||||||||||||||
| 9691 | 'if_seq_no' => 'number', | ||||||||||||||||||||
| 9692 | # Common API query parameters | ||||||||||||||||||||
| 9693 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9694 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9695 | 'human' => 'boolean', | ||||||||||||||||||||
| 9696 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9697 | 'source' => 'string', | ||||||||||||||||||||
| 9698 | }, | ||||||||||||||||||||
| 9699 | os_version => 1.000000, | ||||||||||||||||||||
| 9700 | }, | ||||||||||||||||||||
| 9701 | |||||||||||||||||||||
| 9702 | 'transforms.search' => { | ||||||||||||||||||||
| 9703 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#get-a-transform-jobs-details', | ||||||||||||||||||||
| 9704 | method => 'GET', | ||||||||||||||||||||
| 9705 | parts => {}, | ||||||||||||||||||||
| 9706 | paths => [[ {}, "_plugins", "_transform" ]], | ||||||||||||||||||||
| 9707 | qs => { | ||||||||||||||||||||
| 9708 | # Endpoint specific query parameters | ||||||||||||||||||||
| 9709 | 'from' => 'number', | ||||||||||||||||||||
| 9710 | 'search' => 'string', | ||||||||||||||||||||
| 9711 | 'size' => 'number', | ||||||||||||||||||||
| 9712 | 'sortDirection' => 'string', | ||||||||||||||||||||
| 9713 | 'sortField' => 'string', | ||||||||||||||||||||
| 9714 | # Common API query parameters | ||||||||||||||||||||
| 9715 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9716 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9717 | 'human' => 'boolean', | ||||||||||||||||||||
| 9718 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9719 | 'source' => 'string', | ||||||||||||||||||||
| 9720 | }, | ||||||||||||||||||||
| 9721 | os_version => 1.000000, | ||||||||||||||||||||
| 9722 | }, | ||||||||||||||||||||
| 9723 | |||||||||||||||||||||
| 9724 | 'transforms.start' => { | ||||||||||||||||||||
| 9725 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#start-a-transform-job', | ||||||||||||||||||||
| 9726 | method => 'POST', | ||||||||||||||||||||
| 9727 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9728 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}", "_start" ]], | ||||||||||||||||||||
| 9729 | qs => { | ||||||||||||||||||||
| 9730 | # Common API query parameters | ||||||||||||||||||||
| 9731 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9732 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9733 | 'human' => 'boolean', | ||||||||||||||||||||
| 9734 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9735 | 'source' => 'string', | ||||||||||||||||||||
| 9736 | }, | ||||||||||||||||||||
| 9737 | os_version => 1.000000, | ||||||||||||||||||||
| 9738 | }, | ||||||||||||||||||||
| 9739 | |||||||||||||||||||||
| 9740 | 'transforms.stop' => { | ||||||||||||||||||||
| 9741 | doc => 'https://opensearch.org/docs/latest/im-plugin/index-transforms/transforms-apis/#stop-a-transform-job', | ||||||||||||||||||||
| 9742 | method => 'POST', | ||||||||||||||||||||
| 9743 | parts => { id => { required => 1 }}, | ||||||||||||||||||||
| 9744 | paths => [[ { id => 2 }, "_plugins", "_transform", "{id}", "_stop" ]], | ||||||||||||||||||||
| 9745 | qs => { | ||||||||||||||||||||
| 9746 | # Common API query parameters | ||||||||||||||||||||
| 9747 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9748 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9749 | 'human' => 'boolean', | ||||||||||||||||||||
| 9750 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9751 | 'source' => 'string', | ||||||||||||||||||||
| 9752 | }, | ||||||||||||||||||||
| 9753 | os_version => 1.000000, | ||||||||||||||||||||
| 9754 | }, | ||||||||||||||||||||
| 9755 | |||||||||||||||||||||
| 9756 | 'ubi.initialize' => { | ||||||||||||||||||||
| 9757 | doc => 'https://docs.opensearch.org/latest/search-plugins/ubi/index/', | ||||||||||||||||||||
| 9758 | method => 'POST', | ||||||||||||||||||||
| 9759 | parts => {}, | ||||||||||||||||||||
| 9760 | paths => [[ {}, "_plugins", "ubi", "initialize" ]], | ||||||||||||||||||||
| 9761 | qs => { | ||||||||||||||||||||
| 9762 | # Common API query parameters | ||||||||||||||||||||
| 9763 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9764 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9765 | 'human' => 'boolean', | ||||||||||||||||||||
| 9766 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9767 | 'source' => 'string', | ||||||||||||||||||||
| 9768 | }, | ||||||||||||||||||||
| 9769 | os_version => 1.000000, | ||||||||||||||||||||
| 9770 | }, | ||||||||||||||||||||
| 9771 | |||||||||||||||||||||
| 9772 | 'wlm.create_query_group' => { | ||||||||||||||||||||
| 9773 | body => {}, | ||||||||||||||||||||
| 9774 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/workload-management/wlm-feature-overview/', | ||||||||||||||||||||
| 9775 | method => 'PUT', | ||||||||||||||||||||
| 9776 | parts => {}, | ||||||||||||||||||||
| 9777 | paths => [[ {}, "_wlm", "query_group" ]], | ||||||||||||||||||||
| 9778 | qs => { | ||||||||||||||||||||
| 9779 | # Common API query parameters | ||||||||||||||||||||
| 9780 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9781 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9782 | 'human' => 'boolean', | ||||||||||||||||||||
| 9783 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9784 | 'source' => 'string', | ||||||||||||||||||||
| 9785 | }, | ||||||||||||||||||||
| 9786 | os_version => 2.017000, | ||||||||||||||||||||
| 9787 | }, | ||||||||||||||||||||
| 9788 | |||||||||||||||||||||
| 9789 | 'wlm.delete_query_group' => { | ||||||||||||||||||||
| 9790 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/workload-management/wlm-feature-overview/', | ||||||||||||||||||||
| 9791 | method => 'DELETE', | ||||||||||||||||||||
| 9792 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 9793 | paths => [[ { name => 2 }, "_wlm", "query_group", "{name}" ]], | ||||||||||||||||||||
| 9794 | qs => { | ||||||||||||||||||||
| 9795 | # Common API query parameters | ||||||||||||||||||||
| 9796 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9797 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9798 | 'human' => 'boolean', | ||||||||||||||||||||
| 9799 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9800 | 'source' => 'string', | ||||||||||||||||||||
| 9801 | }, | ||||||||||||||||||||
| 9802 | os_version => 2.017000, | ||||||||||||||||||||
| 9803 | }, | ||||||||||||||||||||
| 9804 | |||||||||||||||||||||
| 9805 | 'wlm.get_query_group' => { | ||||||||||||||||||||
| 9806 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/workload-management/wlm-feature-overview/', | ||||||||||||||||||||
| 9807 | method => 'GET', | ||||||||||||||||||||
| 9808 | parts => { name => {}}, | ||||||||||||||||||||
| 9809 | paths => [ | ||||||||||||||||||||
| 9810 | [ { name => 2 }, "_wlm", "query_group", "{name}" ], | ||||||||||||||||||||
| 9811 | [ {}, "_wlm", "query_group" ] | ||||||||||||||||||||
| 9812 | ], | ||||||||||||||||||||
| 9813 | qs => { | ||||||||||||||||||||
| 9814 | # Common API query parameters | ||||||||||||||||||||
| 9815 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9816 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9817 | 'human' => 'boolean', | ||||||||||||||||||||
| 9818 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9819 | 'source' => 'string', | ||||||||||||||||||||
| 9820 | }, | ||||||||||||||||||||
| 9821 | os_version => 2.017000, | ||||||||||||||||||||
| 9822 | }, | ||||||||||||||||||||
| 9823 | |||||||||||||||||||||
| 9824 | 'wlm.update_query_group' => { | ||||||||||||||||||||
| 9825 | body => {}, | ||||||||||||||||||||
| 9826 | doc => 'https://docs.opensearch.org/latest/tuning-your-cluster/availability-and-recovery/workload-management/wlm-feature-overview/', | ||||||||||||||||||||
| 9827 | method => 'PUT', | ||||||||||||||||||||
| 9828 | parts => { name => { required => 1 }}, | ||||||||||||||||||||
| 9829 | paths => [[ { name => 2 }, "_wlm", "query_group", "{name}" ]], | ||||||||||||||||||||
| 9830 | qs => { | ||||||||||||||||||||
| 9831 | # Common API query parameters | ||||||||||||||||||||
| 9832 | 'error_trace' => 'boolean', | ||||||||||||||||||||
| 9833 | 'filter_path' => 'list', | ||||||||||||||||||||
| 9834 | 'human' => 'boolean', | ||||||||||||||||||||
| 9835 | 'pretty' => 'boolean', | ||||||||||||||||||||
| 9836 | 'source' => 'string', | ||||||||||||||||||||
| 9837 | }, | ||||||||||||||||||||
| 9838 | os_version => 2.017000, | ||||||||||||||||||||
| 9839 | }, | ||||||||||||||||||||
| 9840 | |||||||||||||||||||||
| 9841 | ); | ||||||||||||||||||||
| 9842 | |||||||||||||||||||||
| 9843 | 56 | __PACKAGE__->_qs_init( \%API ); | |||||||||||||||||||
| 9844 | |||||||||||||||||||||
| 9845 | 56 | 1; | |||||||||||||||||||
| 9846 | |||||||||||||||||||||
| 9847 | __END__ | ||||||||||||||||||||