diff --git a/compiler-rs/clients_schema_to_openapi/src/lib.rs b/compiler-rs/clients_schema_to_openapi/src/lib.rs index 4c651fdaba..7fb8d86bc9 100644 --- a/compiler-rs/clients_schema_to_openapi/src/lib.rs +++ b/compiler-rs/clients_schema_to_openapi/src/lib.rs @@ -52,7 +52,7 @@ pub struct OpenApiConversion { } /// Convert an API model into an OpenAPI v3 schema, optionally filtered for a given flavor -pub fn convert_schema(mut schema: IndexedModel, config: Configuration) -> anyhow::Result { +pub fn convert_schema(mut schema: IndexedModel, config: Configuration, product_meta: IndexMap) -> anyhow::Result { // Expand generics schema = clients_schema::transform::expand_generics(schema, ExpandConfig::default())?; @@ -73,7 +73,7 @@ pub fn convert_schema(mut schema: IndexedModel, config: Configuration) -> anyhow schema = clients_schema::transform::filter_availability(schema, filter)?; } - convert_expanded_schema(&schema, &config) + convert_expanded_schema(&schema, &config, &product_meta) } /// Convert an API model into an OpenAPI v3 schema. The input model must have all generics expanded, conversion @@ -82,7 +82,7 @@ pub fn convert_schema(mut schema: IndexedModel, config: Configuration) -> anyhow /// Note: there are ways to represent [generics in JSON Schema], but its unlikely that tooling will understand it. /// /// [generics in JSON Schema]: https://json-schema.org/blog/posts/dynamicref-and-generics -pub fn convert_expanded_schema(model: &IndexedModel, config: &Configuration) -> anyhow::Result { +pub fn convert_expanded_schema(model: &IndexedModel, config: &Configuration, product_meta: &IndexMap) -> anyhow::Result { let mut openapi = OpenAPI { openapi: "3.0.3".into(), info: info(model), @@ -120,7 +120,7 @@ pub fn convert_expanded_schema(model: &IndexedModel, config: &Configuration) -> continue; } } - paths::add_endpoint(endpoint, &mut tac, &mut openapi.paths)?; + paths::add_endpoint(endpoint, &mut tac, &mut openapi.paths, product_meta)?; } // // Sort maps to ensure output stability @@ -180,7 +180,19 @@ fn info(model: &IndexedModel) -> openapiv3::Info { } } -pub fn availability_as_extensions(availabilities: &Option, flavor: &Option) -> IndexMap { +pub fn product_meta_as_extensions(namespace: &str, product_meta: &IndexMap) -> IndexMap { + let mut result = IndexMap::new(); + let mut additional_namespace= "".to_string(); + if let Some(meta) = product_meta.get(namespace) { + additional_namespace = format!(", {meta}"); + } + + let product_str = format!("elasticsearch{additional_namespace}"); + result.insert("x-product-feature".to_string(), Value::String(product_str)); + result +} + +pub fn availability_as_extensions(availabilities: &Option, flavor: &Option) -> IndexMap { let mut result = IndexMap::new(); convert_availabilities(availabilities, flavor, &mut result); result diff --git a/compiler-rs/clients_schema_to_openapi/src/main.rs b/compiler-rs/clients_schema_to_openapi/src/main.rs index 2d9fb07405..2ed58223ae 100644 --- a/compiler-rs/clients_schema_to_openapi/src/main.rs +++ b/compiler-rs/clients_schema_to_openapi/src/main.rs @@ -16,7 +16,8 @@ // under the License. use std::fs::File; -use clients_schema::IndexedModel; +use indexmap::IndexMap; +use clients_schema::{IndexedModel}; use tracing::Level; use tracing_subscriber::fmt::format::FmtSpan; use tracing_subscriber::FmtSubscriber; @@ -32,10 +33,12 @@ fn main() -> anyhow::Result<()> { .finish(); tracing::subscriber::set_global_default(subscriber)?; + let product_meta: IndexMap = serde_json::from_reader(File::open("../../specification/_doc_ids/product-meta.json")?)?; let schema = IndexedModel::from_reader(File::open(&cli.schema)?)?; let output = cli.output.clone(); let redirect_path = cli.redirect_path(&cli.output); - let openapi = clients_schema_to_openapi::convert_schema(schema, cli.into())?; + let openapi = clients_schema_to_openapi::convert_schema(schema, cli.into(), product_meta)?; + serde_json::to_writer_pretty(File::create(&output)?, &openapi.openapi)?; serde_json::to_writer_pretty(File::create(&output)?, &openapi.openapi)?; if let Some(redirects) = openapi.redirects { diff --git a/compiler-rs/clients_schema_to_openapi/src/paths.rs b/compiler-rs/clients_schema_to_openapi/src/paths.rs index dfacdd595b..9c6e799486 100644 --- a/compiler-rs/clients_schema_to_openapi/src/paths.rs +++ b/compiler-rs/clients_schema_to_openapi/src/paths.rs @@ -38,7 +38,8 @@ use crate::convert_availabilities; pub fn add_endpoint( endpoint: &clients_schema::Endpoint, tac: &mut TypesAndComponents, - out: &mut Paths + out: &mut Paths, + product_meta: &IndexMap ) -> anyhow::Result<()> { if endpoint.request.is_none() { // tracing::warn!("Endpoint {} is missing a request -- ignored", &endpoint.name); @@ -371,8 +372,7 @@ pub fn add_endpoint( if !code_samples.is_empty() { extensions.insert("x-codeSamples".to_string(), serde_json::json!(code_samples)); } - let mut ext_availability = crate::availability_as_extensions(&endpoint.availability, &tac.config.flavor); - extensions.append(&mut ext_availability); + extensions.append(&mut crate::product_meta_as_extensions(namespace, product_meta)); // Create the operation, it will be repeated if we have several methods let operation = openapiv3::Operation { diff --git a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js index 6a48727a33..0ecc0163a0 100644 --- a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js +++ b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js @@ -162,14 +162,6 @@ function handleError(f, args) { } } -module.exports.__wbg_readFileSync_2d82336a457bbeee = function(arg0, arg1, arg2, arg3, arg4) { - const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); -}; - module.exports.__wbg_writeFileSync_bc6b1883f11970b9 = function(arg0, arg1, arg2, arg3) { writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3)); }; @@ -179,6 +171,14 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) { return addHeapObject(ret); }; +module.exports.__wbg_readFileSync_2d82336a457bbeee = function(arg0, arg1, arg2, arg3, arg4) { + const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +}; + module.exports.__wbg_log_c9486ca5d8e2cbe8 = function(arg0, arg1) { let deferred0_0; let deferred0_1; diff --git a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm index 7c61563d99..c4d84116b5 100644 Binary files a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm and b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm differ diff --git a/compiler-rs/compiler-wasm-lib/src/lib.rs b/compiler-rs/compiler-wasm-lib/src/lib.rs index 8f9abd022c..0c16b1917d 100644 --- a/compiler-rs/compiler-wasm-lib/src/lib.rs +++ b/compiler-rs/compiler-wasm-lib/src/lib.rs @@ -15,10 +15,11 @@ // specific language governing permissions and limitations // under the License. -use std::path::PathBuf; +use std::path::{PathBuf}; use argh::FromArgs; -use clients_schema::IndexedModel; +use clients_schema::{IndexedModel}; use wasm_bindgen::prelude::*; +use clients_schema::indexmap::IndexMap; use clients_schema_to_openapi::cli::Cli; /// Minimal bindings to Node's `fs` module. @@ -63,8 +64,15 @@ pub fn convert0(cli: Cli, cwd: Option) -> anyhow::Result<()> { let json = node_fs::read_file_sync_to_string(&input.to_string_lossy(), "utf8"); let schema = IndexedModel::from_reader(json.as_bytes())?; + + let product_meta_path = match cwd { + Some(ref cwd) => format!("{cwd}/specification/_doc_ids/product-meta.json"), + None => "specification/_doc_ids/product-meta.json".to_string(), + }; + let json_product_map = node_fs::read_file_sync_to_string(&product_meta_path, "utf8"); + let product_meta: IndexMap = serde_json::from_str(&json_product_map).expect("Cannot parse product metadata file"); - let openapi = clients_schema_to_openapi::convert_schema(schema, cli.into())?; + let openapi = clients_schema_to_openapi::convert_schema(schema, cli.into(), product_meta)?; let result = serde_json::to_string_pretty(&openapi.openapi)?; node_fs::write_file_sync(&output.to_string_lossy(), &result); diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 129b097332..dc2b0f2b13 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -104,7 +104,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -164,7 +165,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_async_search/status/{id}": { @@ -253,7 +255,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/status/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_async_search": { @@ -429,7 +432,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[{\"date\":{\"order\":\"asc\"}}],\"aggs\":{\"sale_date\":{\"date_histogram\":{\"field\":\"date\",\"calendar_interval\":\"1d\"}}}}' \"$ELASTICSEARCH_URL/sales*/_async_search?size=0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_async_search": { @@ -608,7 +612,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[{\"date\":{\"order\":\"asc\"}}],\"aggs\":{\"sale_date\":{\"date_histogram\":{\"field\":\"date\",\"calendar_interval\":\"1d\"}}}}' \"$ELASTICSEARCH_URL/sales*/_async_search?size=0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_autoscaling/policy/{name}": { @@ -690,7 +695,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_autoscaling/policy/my_autoscaling_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -800,7 +806,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"roles\":[],\"deciders\":{\"fixed\":{}}}' \"$ELASTICSEARCH_URL/_autoscaling/policy/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -890,7 +897,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_autoscaling/policy/*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_autoscaling/capacity": { @@ -972,7 +980,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_autoscaling/capacity\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_bulk": { @@ -1058,7 +1067,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -1142,7 +1152,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_bulk": { @@ -1231,7 +1242,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -1318,7 +1330,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/aliases": { @@ -1374,7 +1387,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/aliases?format=json&v=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/aliases/{name}": { @@ -1433,7 +1447,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/aliases?format=json&v=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/allocation": { @@ -1492,7 +1507,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/allocation?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/allocation/{node_id}": { @@ -1554,7 +1570,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/allocation?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/component_templates": { @@ -1610,7 +1627,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/component_templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/component_templates/{name}": { @@ -1669,7 +1687,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/component_templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/count": { @@ -1719,7 +1738,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/count/my-index-000001?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/count/{index}": { @@ -1772,7 +1792,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/count/my-index-000001?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/fielddata": { @@ -1828,7 +1849,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/fielddata?v=true&fields=body&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/fielddata/{fields}": { @@ -1887,7 +1909,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/fielddata?v=true&fields=body&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/health": { @@ -1987,7 +2010,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/health?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat": { @@ -2010,7 +2034,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_cat/indices": { @@ -2081,7 +2106,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/indices/my-index-*?v=true&s=index&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/indices/{index}": { @@ -2155,7 +2181,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/indices/my-index-*?v=true&s=index&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/master": { @@ -2255,7 +2282,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/master?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/data_frame/analytics": { @@ -2314,7 +2342,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/data_frame/analytics?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/data_frame/analytics/{id}": { @@ -2376,7 +2405,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/data_frame/analytics?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/datafeeds": { @@ -2432,7 +2462,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/datafeeds?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/datafeeds/{datafeed_id}": { @@ -2491,7 +2522,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/datafeeds?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/anomaly_detectors": { @@ -2550,7 +2582,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/anomaly_detectors?h=id,s,dpr,mb&v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/anomaly_detectors/{job_id}": { @@ -2612,7 +2645,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/anomaly_detectors?h=id,s,dpr,mb&v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/trained_models": { @@ -2677,7 +2711,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/trained_models?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/trained_models/{model_id}": { @@ -2745,7 +2780,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/trained_models?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/nodeattrs": { @@ -2851,7 +2887,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/nodeattrs?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/nodes": { @@ -2994,7 +3031,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/nodes?v=true&h=id,ip,port,v,m&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/pending_tasks": { @@ -3104,7 +3142,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/pending_tasks?v=trueh=insertOrder,timeInQueue,priority,source&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/plugins": { @@ -3214,7 +3253,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/plugins?v=true&s=component&h=name,component,version,description&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/recovery": { @@ -3279,7 +3319,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/recovery?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/recovery/{index}": { @@ -3347,7 +3388,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/recovery?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/repositories": { @@ -3447,7 +3489,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/repositories?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/segments": { @@ -3506,7 +3549,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/segments?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/segments/{index}": { @@ -3568,7 +3612,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/segments?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/shards": { @@ -3627,7 +3672,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/shards?format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/shards/{index}": { @@ -3689,7 +3735,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/shards?format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/snapshots": { @@ -3748,7 +3795,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/snapshots/repo1?v=true&s=id&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/snapshots/{repository}": { @@ -3810,7 +3858,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/snapshots/repo1?v=true&s=id&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/tasks": { @@ -3966,7 +4015,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/tasks?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/templates": { @@ -4022,7 +4072,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/templates/{name}": { @@ -4081,7 +4132,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/thread_pool": { @@ -4140,7 +4192,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/thread_pool?format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/thread_pool/{thread_pool_patterns}": { @@ -4202,7 +4255,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/thread_pool?format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/transforms": { @@ -4264,7 +4318,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/transforms?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/transforms/{transform_id}": { @@ -4329,7 +4384,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/transforms?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ccr/auto_follow/{name}": { @@ -4382,7 +4438,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -4537,7 +4594,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"remote_cluster\":\"remote_cluster\",\"leader_index_patterns\":[\"leader_index*\"],\"follow_index_pattern\":\"{{leader_index}}-follower\",\"settings\":{\"index.number_of_replicas\":0},\"max_read_request_operation_count\":1024,\"max_outstanding_read_requests\":16,\"max_read_request_size\":\"1024k\",\"max_write_request_operation_count\":32768,\"max_write_request_size\":\"16k\",\"max_outstanding_write_requests\":8,\"max_write_buffer_count\":512,\"max_write_buffer_size\":\"512k\",\"max_retry_delay\":\"10s\",\"read_poll_timeout\":\"30s\"}' \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -4616,7 +4674,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/follow": { @@ -4791,7 +4850,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"remote_cluster\":\"remote_cluster\",\"leader_index\":\"leader_index\",\"settings\":{\"index.number_of_replicas\":0},\"max_read_request_operation_count\":1024,\"max_outstanding_read_requests\":16,\"max_read_request_size\":\"1024k\",\"max_write_request_operation_count\":32768,\"max_write_request_size\":\"16k\",\"max_outstanding_write_requests\":8,\"max_write_buffer_count\":512,\"max_write_buffer_size\":\"512k\",\"max_retry_delay\":\"10s\",\"read_poll_timeout\":\"30s\"}' \"$ELASTICSEARCH_URL/follower_index/_ccr/follow?wait_for_active_shards=1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/info": { @@ -4889,7 +4949,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/follower_index/_ccr/info\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/stats": { @@ -4982,7 +5043,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/follower_index/_ccr/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/forget_follower": { @@ -5101,7 +5163,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"follower_cluster\":\"\",\"follower_index\":\"\",\"follower_index_uuid\":\"\",\"leader_remote_cluster\":\"\"}' \"$ELASTICSEARCH_URL//_ccr/forget_follower\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ccr/auto_follow": { @@ -5151,7 +5214,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ccr/auto_follow/{name}/pause": { @@ -5232,7 +5296,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern/pause\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/pause_follow": { @@ -5310,7 +5375,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/follower_index/_ccr/pause_follow\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ccr/auto_follow/{name}/resume": { @@ -5391,7 +5457,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern/resume\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/resume_follow": { @@ -5519,7 +5586,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"max_read_request_operation_count\":1024,\"max_outstanding_read_requests\":16,\"max_read_request_size\":\"1024k\",\"max_write_request_operation_count\":32768,\"max_write_request_size\":\"16k\",\"max_outstanding_write_requests\":8,\"max_write_buffer_count\":512,\"max_write_buffer_size\":\"512k\",\"max_retry_delay\":\"10s\",\"read_poll_timeout\":\"30s\"}' \"$ELASTICSEARCH_URL/follower_index/_ccr/resume_follow\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ccr/stats": { @@ -5608,7 +5676,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ccr/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ccr/unfollow": { @@ -5689,7 +5758,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/follower_index/_ccr/unfollow\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/scroll": { @@ -5748,7 +5818,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5805,7 +5876,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -5851,7 +5923,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/scroll/{scroll_id}": { @@ -5913,7 +5986,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5973,7 +6047,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -6024,7 +6099,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_pit": { @@ -6116,7 +6192,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"46ToAwMDaWR5BXV1aWQyKwZub2RlXzMAAAAAAAAAACoBYwADaWR4BXV1aWQxAgZub2RlXzEAAAAAAAAAAAEBYQADaWR5BXV1aWQyKgZub2RlXzIAAAAAAAAAAAwBYgACBXV1aWQyAAAFdXVpZDEAAQltYXRjaF9hbGw_gAAAAA==\"}' \"$ELASTICSEARCH_URL/_pit\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/allocation/explain": { @@ -6175,7 +6252,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":\"my-index-000001\",\"shard\":0,\"primary\":false,\"current_node\":\"my-node\"}' \"$ELASTICSEARCH_URL/_cluster/allocation/explain\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -6232,7 +6310,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":\"my-index-000001\",\"shard\":0,\"primary\":false,\"current_node\":\"my-node\"}' \"$ELASTICSEARCH_URL/_cluster/allocation/explain\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_component_template/{name}": { @@ -6291,7 +6370,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -6345,7 +6425,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"template\":null,\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}}' \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -6399,7 +6480,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"template\":null,\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}}' \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -6479,7 +6561,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -6529,7 +6612,8 @@ } } }, - "x-state": "Generally available; Added in 7.8.0" + "x-state": "Generally available; Added in 7.8.0", + "x-product-feature": "elasticsearch" } }, "/_cluster/voting_config_exclusions": { @@ -6593,7 +6677,8 @@ } } }, - "x-state": "Generally available; Added in 7.0.0" + "x-state": "Generally available; Added in 7.0.0", + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -6635,7 +6720,8 @@ } } }, - "x-state": "Generally available; Added in 7.0.0" + "x-state": "Generally available; Added in 7.0.0", + "x-product-feature": "elasticsearch" } }, "/_component_template": { @@ -6691,7 +6777,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/settings": { @@ -6812,7 +6899,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/settings?filter_path=persistent.cluster.remote\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -6954,7 +7042,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"persistent\":{\"indices.recovery.max_bytes_per_sec\":\"50mb\"}}' \"$ELASTICSEARCH_URL/_cluster/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/health": { @@ -7031,7 +7120,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/health\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/health/{index}": { @@ -7111,7 +7201,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/health\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_info/{target}": { @@ -7196,7 +7287,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_info/_all\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/pending_tasks": { @@ -7278,7 +7370,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/pending_tasks\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_remote/info": { @@ -7333,7 +7426,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_remote/info\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/reroute": { @@ -7486,7 +7580,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"commands\":[{\"move\":{\"index\":\"test\",\"shard\":0,\"from_node\":\"node1\",\"to_node\":\"node2\"}},{\"allocate_replica\":{\"index\":\"test\",\"shard\":1,\"node\":\"node3\"}}]}' \"$ELASTICSEARCH_URL/_cluster/reroute?metric=none\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/state": { @@ -7554,7 +7649,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/state?filter_path=metadata.cluster_coordination.last_committed_config\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/state/{metric}": { @@ -7625,7 +7721,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/state?filter_path=metadata.cluster_coordination.last_committed_config\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/state/{metric}/{index}": { @@ -7699,7 +7796,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/state?filter_path=metadata.cluster_coordination.last_committed_config\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/stats": { @@ -7749,7 +7847,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/stats?human&filter_path=indices.mappings.total_deduplicated_mapping_size*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cluster/stats/nodes/{node_id}": { @@ -7802,7 +7901,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cluster/stats?human&filter_path=indices.mappings.total_deduplicated_mapping_size*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_check_in": { @@ -7877,7 +7977,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector/_check_in\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}": { @@ -7949,7 +8050,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -7996,7 +8098,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"search-google-drive\",\"name\":\"My Connector\",\"service_type\":\"google_drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -8081,7 +8184,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector-id&delete_sync_jobs=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector": { @@ -8217,7 +8321,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -8259,7 +8364,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"search-google-drive\",\"name\":\"My Connector\",\"service_type\":\"google_drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8321,7 +8427,8 @@ } } }, - "x-state": "Beta; Added in 8.12.0" + "x-state": "Beta; Added in 8.12.0", + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_cancel": { @@ -8391,7 +8498,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id/_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_check_in": { @@ -8453,7 +8561,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job/_check_in\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_claim": { @@ -8544,7 +8653,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"worker_hostname\":\"some-machine\"}' \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id/_claim\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}": { @@ -8605,7 +8715,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -8670,7 +8781,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_error": { @@ -8756,7 +8868,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"error\":\"some-error\"}' \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job/_error\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job": { @@ -8882,7 +8995,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job?connector_id=my-connector-id&size=1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8966,7 +9080,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"connector-id\",\"job_type\":\"full\",\"trigger_method\":\"on_demand\"}' \"$ELASTICSEARCH_URL/_connector/_sync_job\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_stats": { @@ -9073,7 +9188,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"deleted_document_count\":10,\"indexed_document_count\":20,\"indexed_document_volume\":1000,\"total_document_count\":2000,\"last_seen\":\"2023-01-02T10:00:00Z\"}' \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering/_activate": { @@ -9117,7 +9233,8 @@ } } }, - "x-state": "Technical preview; Added in 8.12.0" + "x-state": "Technical preview; Added in 8.12.0", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_api_key_id": { @@ -9215,7 +9332,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"api_key_id\":\"my-api-key-id\",\"api_key_secret_id\":\"my-connector-secret-id\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_api_key_id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_configuration": { @@ -9319,7 +9437,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"values\":{\"tenant_id\":\"my-tenant-id\",\"tenant_name\":\"my-sharepoint-site\",\"client_id\":\"foo\",\"secret_value\":\"bar\",\"site_collections\":\"*\"}}' \"$ELASTICSEARCH_URL/_connector/my-spo-connector/_configuration\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_error": { @@ -9424,7 +9543,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"error\":\"Houston, we have a problem!\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_error\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_features": { @@ -9525,7 +9645,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"features\":{\"document_level_security\":{\"enabled\":true},\"incremental_sync\":{\"enabled\":true},\"sync_rules\":{\"advanced\":{\"enabled\":false},\"basic\":{\"enabled\":true}}}}' \"$ELASTICSEARCH_URL/_connector/my-connector/_features\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering": { @@ -9635,7 +9756,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"field\":\"file_extension\",\"id\":\"exclude-txt-files\",\"order\":0,\"policy\":\"exclude\",\"rule\":\"equals\",\"value\":\"txt\"},{\"field\":\"_\",\"id\":\"DEFAULT\",\"order\":1,\"policy\":\"include\",\"rule\":\"regex\",\"value\":\".*\"}]}' \"$ELASTICSEARCH_URL/_connector/my-g-drive-connector/_filtering\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering/_validation": { @@ -9697,7 +9819,8 @@ } } }, - "x-state": "Technical preview; Added in 8.12.0" + "x-state": "Technical preview; Added in 8.12.0", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_index_name": { @@ -9802,7 +9925,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"data-from-my-google-drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_index_name\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_name": { @@ -9899,7 +10023,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"Custom connector\",\"description\":\"This is my customized connector\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_name\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_native": { @@ -9960,7 +10085,8 @@ } } }, - "x-state": "Beta; Added in 8.12.0" + "x-state": "Beta; Added in 8.12.0", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_pipeline": { @@ -10058,7 +10184,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"extract_binary_content\":true,\"name\":\"my-connector-pipeline\",\"reduce_whitespace\":true,\"run_ml_inference\":true}}' \"$ELASTICSEARCH_URL/_connector/my-connector/_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_scheduling": { @@ -10158,7 +10285,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scheduling\":{\"access_control\":{\"enabled\":true,\"interval\":\"0 10 0 * * ?\"},\"full\":{\"enabled\":true,\"interval\":\"0 20 0 * * ?\"},\"incremental\":{\"enabled\":false,\"interval\":\"0 30 0 * * ?\"}}}' \"$ELASTICSEARCH_URL/_connector/my-connector/_scheduling\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_service_type": { @@ -10255,7 +10383,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service_type\":\"sharepoint_online\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_service_type\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_status": { @@ -10352,7 +10481,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"status\":\"needs_configuration\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_count": { @@ -10441,7 +10571,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10528,7 +10659,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_count": { @@ -10620,7 +10752,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10710,7 +10843,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_create/{id}": { @@ -10805,7 +10939,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_create/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10898,7 +11033,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_create/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_dangling/{index_uuid}": { @@ -10997,7 +11133,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_dangling/zmM4e0JtBkeUjiHD-MihPQ?accept_data_loss=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -11088,7 +11225,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_dangling/?accept_data_loss=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_dangling": { @@ -11153,7 +11291,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_dangling\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_doc/{id}": { @@ -11343,7 +11482,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/1?stored_fields=tags,counter\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11433,7 +11573,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -11523,7 +11664,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -11680,7 +11822,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -11847,7 +11990,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_delete_by_query": { @@ -12316,7 +12460,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match_all\":{}}}' \"$ELASTICSEARCH_URL/my-index-000001,my-index-000002/_delete_by_query\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_delete_by_query/{task_id}/_rethrottle": { @@ -12388,7 +12533,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_delete_by_query/r1A2WoRbTwKZ516z6NEs5A:36619/_rethrottle?requests_per_second=-1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/{id}": { @@ -12475,7 +12621,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -12535,7 +12682,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -12595,7 +12743,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -12675,7 +12824,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy/{name}": { @@ -12725,7 +12875,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -12822,7 +12973,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"geo_match\":{\"indices\":\"postal_codes\",\"match_field\":\"location\",\"enrich_fields\":[\"location\",\"postal_code\"]}}' \"$ELASTICSEARCH_URL/_enrich/policy/postal_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -12892,7 +13044,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy/{name}/_execute": { @@ -12982,7 +13135,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy/_execute?wait_for_completion=false\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy": { @@ -13029,7 +13183,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/_stats": { @@ -13118,7 +13273,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_eql/search/{id}": { @@ -13200,7 +13356,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=?wait_for_completion_timeout=2s\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -13260,7 +13417,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_eql/search/status/{id}": { @@ -13356,7 +13514,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/status/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_eql/search": { @@ -13433,7 +13592,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n process where (process.name == \\\"cmd.exe\\\" and process.pid != 2013)\\n \"}' \"$ELASTICSEARCH_URL/my-data-stream/_eql/search\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -13508,7 +13668,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n process where (process.name == \\\"cmd.exe\\\" and process.pid != 2013)\\n \"}' \"$ELASTICSEARCH_URL/my-data-stream/_eql/search\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query/async": { @@ -13661,7 +13822,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n FROM library,remote-*:library\\n | EVAL year = DATE_TRUNC(1 YEARS, release_date)\\n | STATS MAX(page_count) BY year\\n | SORT year\\n | LIMIT 5\\n \",\"wait_for_completion_timeout\":\"2s\",\"include_ccs_metadata\":true}' \"$ELASTICSEARCH_URL/_query/async\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query/async/{id}": { @@ -13756,7 +13918,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query/async/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=?wait_for_completion_timeout=30s\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -13819,7 +13982,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query/async/FmdMX2pIang3UWhLRU5QS0lqdlppYncaMUpYQ05oSkpTc3kwZ21EdC1tbFJXQToxOTI=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query/async/{id}/stop": { @@ -13894,7 +14058,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query/async/FkpMRkJGS1gzVDRlM3g4ZzMyRGlLbkEaTXlJZHdNT09TU2VTZVBoNDM3cFZMUToxMDM=/stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query": { @@ -14038,7 +14203,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n FROM library,remote-*:library\\n | EVAL year = DATE_TRUNC(1 YEARS, release_date)\\n | STATS MAX(page_count) BY year\\n | SORT year\\n | LIMIT 5\\n \",\"include_ccs_metadata\":true}' \"$ELASTICSEARCH_URL/_query\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_source/{id}": { @@ -14214,7 +14380,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_source/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -14374,7 +14541,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_source/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_explain/{id}": { @@ -14463,7 +14631,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"message\":\"elasticsearch\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_explain/0\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -14550,7 +14719,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"message\":\"elasticsearch\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_explain/0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_features": { @@ -14631,7 +14801,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_features\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_features/_reset": { @@ -14709,7 +14880,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_features/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_field_caps": { @@ -14780,7 +14952,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -14849,7 +15022,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_field_caps": { @@ -14923,7 +15097,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -14995,7 +15170,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_fleet/global_checkpoints": { @@ -15096,7 +15272,8 @@ } } }, - "x-state": "Generally available; Added in 7.13.0" + "x-state": "Generally available; Added in 7.13.0", + "x-product-feature": "elasticsearch, fleet" } }, "/_fleet/_fleet_msearch": { @@ -15156,7 +15333,8 @@ "$ref": "#/components/responses/fleet.msearch-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" }, "post": { "tags": [ @@ -15214,7 +15392,8 @@ "$ref": "#/components/responses/fleet.msearch-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" } }, "/{index}/_fleet/_fleet_msearch": { @@ -15277,7 +15456,8 @@ "$ref": "#/components/responses/fleet.msearch-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" }, "post": { "tags": [ @@ -15338,7 +15518,8 @@ "$ref": "#/components/responses/fleet.msearch-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" } }, "/{index}/_fleet/_fleet_search": { @@ -15491,7 +15672,8 @@ "$ref": "#/components/responses/fleet.search-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" }, "post": { "tags": [ @@ -15642,7 +15824,8 @@ "$ref": "#/components/responses/fleet.search-200" } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch, fleet" } }, "/_script_context": { @@ -15702,7 +15885,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_script_context\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_script_language": { @@ -15769,7 +15953,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_script_language\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_graph/explore": { @@ -15828,7 +16013,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"query.raw\":\"midi\"}},\"vertices\":[{\"field\":\"product\"}],\"connections\":{\"vertices\":[{\"field\":\"query.raw\"}]}}' \"$ELASTICSEARCH_URL/clicklogs/_graph/explore\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -15885,7 +16071,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"query.raw\":\"midi\"}},\"vertices\":[{\"field\":\"product\"}],\"connections\":{\"vertices\":[{\"field\":\"query.raw\"}]}}' \"$ELASTICSEARCH_URL/clicklogs/_graph/explore\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_health_report": { @@ -15938,7 +16125,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_health_report\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_health_report/{feature}": { @@ -15994,7 +16182,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_health_report\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/policy/{policy}": { @@ -16047,7 +16236,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/policy/my_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -16156,7 +16346,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"policy\":{\"_meta\":{\"description\":\"used for nginx log\",\"project\":{\"name\":\"myProject\",\"department\":\"myDepartment\"}},\"phases\":{\"warm\":{\"min_age\":\"10d\",\"actions\":{\"forcemerge\":{\"max_num_segments\":1}}},\"delete\":{\"min_age\":\"30d\",\"actions\":{\"delete\":{}}}}}}' \"$ELASTICSEARCH_URL/_ilm/policy/my_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -16242,7 +16433,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/policy/my_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ilm/explain": { @@ -16351,7 +16543,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/.ds-timeseries-*/_ilm/explain\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/policy": { @@ -16401,7 +16594,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/policy/my_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/status": { @@ -16464,7 +16658,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/migrate_to_data_tiers": { @@ -16616,7 +16811,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"legacy_template_to_delete\":\"global-template\",\"node_attribute\":\"custom_attribute_name\"}' \"$ELASTICSEARCH_URL/_ilm/migrate_to_data_tiers\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/move/{index}": { @@ -16717,7 +16913,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"current_step\":{\"phase\":\"new\",\"action\":\"complete\",\"name\":\"complete\"},\"next_step\":{\"phase\":\"warm\",\"action\":\"forcemerge\",\"name\":\"forcemerge\"}}' \"$ELASTICSEARCH_URL/_ilm/move/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ilm/remove": { @@ -16800,7 +16997,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/logs-my_app-default/_ilm/remove\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_ilm/retry": { @@ -16862,7 +17060,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_ilm/retry\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/start": { @@ -16939,7 +17138,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/stop": { @@ -17016,7 +17216,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_doc": { @@ -17105,7 +17306,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_block/{block}": { @@ -17253,7 +17455,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_block/write\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_analyze": { @@ -17306,7 +17509,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -17357,7 +17561,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_analyze": { @@ -17413,7 +17618,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -17467,7 +17673,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/reindex/{index}/_cancel": { @@ -17529,7 +17736,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/reindex/my-data-stream/_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cache/clear": { @@ -17597,7 +17805,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001,my-index-000002/_cache/clear?request=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_cache/clear": { @@ -17668,7 +17877,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001,my-index-000002/_cache/clear?request=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_clone/{target}": { @@ -17730,7 +17940,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.number_of_shards\":5},\"aliases\":{\"my_search_indices\":{}}}' \"$ELASTICSEARCH_URL/my_source_index/_clone/my_target_index\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -17790,7 +18001,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.number_of_shards\":5},\"aliases\":{\"my_search_indices\":{}}}' \"$ELASTICSEARCH_URL/my_source_index/_clone/my_target_index\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_close": { @@ -17937,7 +18149,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-00001/_close\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}": { @@ -18082,7 +18295,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -18229,7 +18443,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"number_of_shards\":3,\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -18339,7 +18554,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -18455,7 +18671,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}": { @@ -18514,7 +18731,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -18594,7 +18812,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/logs-foo-bar\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -18674,7 +18893,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_create_from/{source}/{dest}": { @@ -18727,7 +18947,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_create_from/my-index/my-new-index\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -18778,7 +18999,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_create_from/my-index/my-new-index\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_stats": { @@ -18825,7 +19047,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-index-000001/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_stats": { @@ -18875,7 +19098,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-index-000001/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias/{name}": { @@ -18937,7 +19161,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -18994,7 +19219,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -19051,7 +19277,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -19105,7 +19332,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -19165,7 +19393,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_aliases/{name}": { @@ -19224,7 +19453,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -19281,7 +19511,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -19335,7 +19566,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_lifecycle": { @@ -19444,7 +19676,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/%7Bname%7D/_lifecycle?human&pretty\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -19572,7 +19805,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"data_retention\":\"7d\"}' \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_lifecycle\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -19668,7 +19902,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_lifecycle\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/{name}": { @@ -19727,7 +19962,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/*?filter_path=index_templates.name,index_templates.index_template.index_patterns,index_templates.index_template.data_stream\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -19784,7 +20020,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"template*\"],\"priority\":1,\"template\":{\"settings\":{\"number_of_shards\":2}}}' \"$ELASTICSEARCH_URL/_index_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -19841,7 +20078,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"template*\"],\"priority\":1,\"template\":{\"settings\":{\"number_of_shards\":2}}}' \"$ELASTICSEARCH_URL/_index_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -19921,7 +20159,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/my-index-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -19981,7 +20220,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_template/{name}": { @@ -20041,7 +20281,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/.monitoring-*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -20105,7 +20346,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"te*\",\"bar*\"],\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false}},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}' \"$ELASTICSEARCH_URL/_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -20169,7 +20411,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"te*\",\"bar*\"],\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false}},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}' \"$ELASTICSEARCH_URL/_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -20250,7 +20493,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/.cloud-hot-warm-allocation-0\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -20339,7 +20583,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_disk_usage": { @@ -20451,7 +20696,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_disk_usage?run_expensive_tasks=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_downsample/{target_index}": { @@ -20539,7 +20785,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fixed_interval\":\"1d\"}' \"$ELASTICSEARCH_URL/my-time-series-index/_downsample/my-downsampled-time-series-index\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_alias/{name}": { @@ -20598,7 +20845,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -20655,7 +20903,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_lifecycle/explain": { @@ -20760,7 +21009,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/.ds-metrics-2023.03.22-000001/_lifecycle/explain\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_field_usage_stats": { @@ -20868,7 +21118,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_field_usage_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_flush": { @@ -20927,7 +21178,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -20984,7 +21236,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_flush": { @@ -21046,7 +21299,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -21106,7 +21360,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_forcemerge": { @@ -21174,7 +21429,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_forcemerge\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_forcemerge": { @@ -21245,7 +21501,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_forcemerge\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_alias": { @@ -21301,7 +21558,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias": { @@ -21360,7 +21618,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_lifecycle/stats": { @@ -21438,7 +21697,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_lifecycle/stats?human&pretty\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream": { @@ -21494,7 +21754,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mapping/field/{fields}": { @@ -21556,7 +21817,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/publications/_mapping/field/title\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mapping/field/{fields}": { @@ -21621,7 +21883,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/publications/_mapping/field/title\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template": { @@ -21677,7 +21940,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/*?filter_path=index_templates.name,index_templates.index_template.index_patterns,index_templates.index_template.data_stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mapping": { @@ -21736,7 +22000,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mapping": { @@ -21798,7 +22063,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -21867,7 +22133,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"properties\":{\"user\":{\"properties\":{\"name\":{\"type\":\"keyword\"}}}}}' \"$ELASTICSEARCH_URL/my-index-000001/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -21936,7 +22203,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"properties\":{\"user\":{\"properties\":{\"name\":{\"type\":\"keyword\"}}}}}' \"$ELASTICSEARCH_URL/my-index-000001/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/reindex/{index}/_status": { @@ -22046,7 +22314,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/reindex/my-data-stream/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_settings": { @@ -22111,7 +22380,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -22183,7 +22453,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":{\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_settings": { @@ -22251,7 +22522,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -22326,7 +22598,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":{\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_settings/{name}": { @@ -22397,7 +22670,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_settings/{name}": { @@ -22465,7 +22739,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_template": { @@ -22522,7 +22797,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/.monitoring-*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/reindex": { @@ -22587,7 +22863,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"my-data-stream\"},\"mode\":\"upgrade\"}' \"$ELASTICSEARCH_URL/_migration/reindex\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_migrate/{name}": { @@ -22669,7 +22946,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/_migrate/my-time-series-data\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_modify": { @@ -22746,7 +23024,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"remove_backing_index\":{\"data_stream\":\"my-data-stream\",\"index\":\".ds-my-data-stream-2023.07.26-000001\"}},{\"add_backing_index\":{\"data_stream\":\"my-data-stream\",\"index\":\".ds-my-data-stream-2023.07.26-000001-downsample\"}}]}' \"$ELASTICSEARCH_URL/_data_stream/_modify\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_open": { @@ -22886,7 +23165,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/.ds-my-data-stream-2099.03.07-000001/_open/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_promote/{name}": { @@ -22958,7 +23238,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/_promote/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_recovery": { @@ -23008,7 +23289,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_recovery?human\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_recovery": { @@ -23061,7 +23343,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_recovery?human\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_refresh": { @@ -23114,7 +23397,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -23165,7 +23449,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_refresh": { @@ -23221,7 +23506,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -23275,7 +23561,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_reload_search_analyzers": { @@ -23337,7 +23624,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"reload_details\":[{\"index\":\"my-index-000001\",\"reloaded_analyzers\":[\"my_synonyms\"],\"reloaded_node_ids\":[\"mfdqTXn_T7SGr2Ho2KT8uw\"]}]}' \"$ELASTICSEARCH_URL/my-index-000001/_reload_search_analyzers\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -23397,7 +23685,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"reload_details\":[{\"index\":\"my-index-000001\",\"reloaded_analyzers\":[\"my_synonyms\"],\"reloaded_node_ids\":[\"mfdqTXn_T7SGr2Ho2KT8uw\"]}]}' \"$ELASTICSEARCH_URL/my-index-000001/_reload_search_analyzers\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_resolve/cluster": { @@ -23456,7 +23745,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_resolve/cluster/not-present,clust*:my-index*,oldcluster:*?ignore_unavailable=false&timeout=5s\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_resolve/cluster/{name}": { @@ -23518,7 +23808,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_resolve/cluster/not-present,clust*:my-index*,oldcluster:*?ignore_unavailable=false&timeout=5s\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_resolve/index/{name}": { @@ -23641,7 +23932,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_resolve/index/f*,remoteCluster1:bar*?expand_wildcards=all\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{alias}/_rollover": { @@ -23706,7 +23998,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"conditions\":{\"max_age\":\"7d\",\"max_docs\":1000,\"max_primary_shard_size\":\"50gb\",\"max_primary_shard_docs\":\"2000\"}}' \"$ELASTICSEARCH_URL/my-data-stream/_rollover\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{alias}/_rollover/{new_index}": { @@ -23774,7 +24067,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"conditions\":{\"max_age\":\"7d\",\"max_docs\":1000,\"max_primary_shard_size\":\"50gb\",\"max_primary_shard_docs\":\"2000\"}}' \"$ELASTICSEARCH_URL/my-data-stream/_rollover\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_segments": { @@ -23827,7 +24121,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_segments\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_segments": { @@ -23883,7 +24178,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_segments\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_shard_stores": { @@ -23939,7 +24235,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_shard_stores?status=green\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_shard_stores": { @@ -23998,7 +24295,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_shard_stores?status=green\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_shrink/{target}": { @@ -24060,7 +24358,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.routing.allocation.require._name\":null,\"index.blocks.write\":null}}' \"$ELASTICSEARCH_URL/my_source_index/_shrink/my_target_index\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24120,7 +24419,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.routing.allocation.require._name\":null,\"index.blocks.write\":null}}' \"$ELASTICSEARCH_URL/my_source_index/_shrink/my_target_index\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate_index/{name}": { @@ -24242,7 +24542,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/_simulate_index/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate": { @@ -24301,7 +24602,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"my-index-*\"],\"composed_of\":[\"ct2\"],\"priority\":10,\"template\":{\"settings\":{\"index.number_of_replicas\":1}}}' \"$ELASTICSEARCH_URL/_index_template/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate/{name}": { @@ -24363,7 +24665,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"my-index-*\"],\"composed_of\":[\"ct2\"],\"priority\":10,\"template\":{\"settings\":{\"index.number_of_replicas\":1}}}' \"$ELASTICSEARCH_URL/_index_template/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_split/{target}": { @@ -24425,7 +24728,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.number_of_shards\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_split/split-my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24485,7 +24789,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"index.number_of_shards\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_split/split-my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_stats": { @@ -24556,7 +24861,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_stats/fielddata?human&fields=my_join_field#question\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_stats/{metric}": { @@ -24630,7 +24936,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_stats/fielddata?human&fields=my_join_field#question\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_stats": { @@ -24704,7 +25011,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_stats/fielddata?human&fields=my_join_field#question\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_stats/{metric}": { @@ -24781,7 +25089,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_stats/fielddata?human&fields=my_join_field#question\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_aliases": { @@ -24877,7 +25186,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"logs-nginx.access-prod\",\"alias\":\"logs\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_validate/query": { @@ -24960,7 +25270,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -25041,7 +25352,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_validate/query": { @@ -25127,7 +25439,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -25211,7 +25524,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_inference/chat_completion/{inference_id}/_stream": { @@ -25316,7 +25630,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"model\":\"gpt-4o\",\"messages\":[{\"role\":\"user\",\"content\":\"What is Elastic?\"}]}' \"$ELASTICSEARCH_URL/_inference/chat_completion/openai-completion/_stream\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/completion/{inference_id}": { @@ -25432,7 +25747,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"What is Elastic?\"}' \"$ELASTICSEARCH_URL/_inference/completion/openai_chat_completions\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{inference_id}": { @@ -25478,7 +25794,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -25526,7 +25843,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"model_id\":\"rerank-english-v3.0\",\"api_key\":\"{{COHERE_API_KEY}}\"}}' \"$ELASTICSEARCH_URL/_inference/rerank/my-rerank-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -25551,7 +25869,8 @@ "$ref": "#/components/responses/inference.inference-200" } }, - "x-state": "Generally available; Added in 8.11.0" + "x-state": "Generally available; Added in 8.11.0", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -25601,7 +25920,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{inference_id}": { @@ -25650,7 +25970,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -25701,7 +26022,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"model_id\":\"rerank-english-v3.0\",\"api_key\":\"{{COHERE_API_KEY}}\"}}' \"$ELASTICSEARCH_URL/_inference/rerank/my-rerank-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -25729,7 +26051,8 @@ "$ref": "#/components/responses/inference.inference-200" } }, - "x-state": "Generally available; Added in 8.11.0" + "x-state": "Generally available; Added in 8.11.0", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -25782,7 +26105,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference": { @@ -25823,7 +26147,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{alibabacloud_inference_id}": { @@ -25945,7 +26270,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"alibabacloud-ai-search\",\"service_settings\":{\"host\":\"default-j01.platform-cn-shanghai.opensearch.aliyuncs.com\",\"api_key\":\"AlibabaCloud-API-Key\",\"service_id\":\"ops-qwen-turbo\",\"workspace\":\"default\"}}' \"$ELASTICSEARCH_URL/_inference/completion/alibabacloud_ai_search_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{amazonbedrock_inference_id}": { @@ -26057,7 +26383,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"amazonbedrock\",\"service_settings\":{\"access_key\":\"AWS-access-key\",\"secret_key\":\"AWS-secret-key\",\"region\":\"us-east-1\",\"provider\":\"amazontitan\",\"model\":\"amazon.titan-embed-text-v2:0\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/amazon_bedrock_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{anthropic_inference_id}": { @@ -26163,7 +26490,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"anthropic\",\"service_settings\":{\"api_key\":\"Anthropic-Api-Key\",\"model_id\":\"Model-ID\"},\"task_settings\":{\"max_tokens\":1024}}' \"$ELASTICSEARCH_URL/_inference/completion/anthropic_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{azureaistudio_inference_id}": { @@ -26275,7 +26603,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"azureaistudio\",\"service_settings\":{\"api_key\":\"Azure-AI-Studio-API-key\",\"target\":\"Target-Uri\",\"provider\":\"openai\",\"endpoint_type\":\"token\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/azure_ai_studio_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{azureopenai_inference_id}": { @@ -26387,7 +26716,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"azureopenai\",\"service_settings\":{\"api_key\":\"Api-Key\",\"resource_name\":\"Resource-name\",\"deployment_id\":\"Deployment-id\",\"api_version\":\"2024-02-01\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/azure_openai_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{cohere_inference_id}": { @@ -26499,7 +26829,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"api_key\":\"Cohere-Api-key\",\"model_id\":\"embed-english-light-v3.0\",\"embedding_type\":\"byte\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/cohere-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{elasticsearch_inference_id}": { @@ -26637,7 +26968,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"elasticsearch\",\"service_settings\":{\"adaptive_allocations\":{\"enabled\":true,\"min_number_of_allocations\":1,\"max_number_of_allocations\":4},\"num_threads\":1,\"model_id\":\".elser_model_2\"}}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{elser_inference_id}": { @@ -26753,7 +27085,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"elser\",\"service_settings\":{\"num_allocations\":1,\"num_threads\":1}}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{googleaistudio_inference_id}": { @@ -26857,7 +27190,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"googleaistudio\",\"service_settings\":{\"api_key\":\"api-key\",\"model_id\":\"model-id\"}}' \"$ELASTICSEARCH_URL/_inference/completion/google_ai_studio_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{googlevertexai_inference_id}": { @@ -26969,7 +27303,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"googlevertexai\",\"service_settings\":{\"service_account_json\":\"service-account-json\",\"model_id\":\"model-id\",\"location\":\"location\",\"project_id\":\"project-id\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/google_vertex_ai_embeddingss\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{huggingface_inference_id}": { @@ -27073,7 +27408,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"hugging_face\",\"service_settings\":{\"api_key\":\"hugging-face-access-token\",\"url\":\"url-endpoint\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/hugging-face-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{jinaai_inference_id}": { @@ -27185,7 +27521,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"jinaai\",\"service_settings\":{\"model_id\":\"jina-embeddings-v3\",\"api_key\":\"JinaAi-Api-key\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/jinaai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{mistral_inference_id}": { @@ -27288,7 +27625,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"mistral\",\"service_settings\":{\"api_key\":\"Mistral-API-Key\",\"model\":\"mistral-embed\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/mistral-embeddings-test\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{openai_inference_id}": { @@ -27400,7 +27738,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"openai\",\"service_settings\":{\"api_key\":\"OpenAI-API-Key\",\"model_id\":\"text-embedding-3-small\",\"dimensions\":128}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/openai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{voyageai_inference_id}": { @@ -27512,7 +27851,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"voyageai\",\"service_settings\":{\"model_id\":\"voyage-3-large\",\"dimensions\":512}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/openai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{watsonx_inference_id}": { @@ -27612,7 +27952,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"watsonxai\",\"service_settings\":{\"api_key\":\"Watsonx-API-Key\",\"url\":\"Wastonx-URL\",\"model_id\":\"ibm/slate-30m-english-rtrvr\",\"project_id\":\"IBM-Cloud-ID\",\"api_version\":\"2024-03-14\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/watsonx-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/rerank/{inference_id}": { @@ -27734,7 +28075,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":[\"luke\",\"like\",\"leia\",\"chewy\",\"r2d2\",\"star\",\"wars\"],\"query\":\"star wars main character\"}' \"$ELASTICSEARCH_URL/_inference/rerank/cohere_rerank\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/sparse_embedding/{inference_id}": { @@ -27850,7 +28192,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"The sky above the port was the color of television tuned to a dead channel.\"}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/completion/{inference_id}/_stream": { @@ -27950,7 +28293,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"What is Elastic?\"}' \"$ELASTICSEARCH_URL/_inference/completion/openai-completion/_stream\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/text_embedding/{inference_id}": { @@ -28066,7 +28410,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"The sky above the port was the color of television tuned to a dead channel.\",\"task_settings\":{\"input_type\":\"ingest\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/my-cohere-endpoint\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{inference_id}/_update": { @@ -28116,7 +28461,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service_settings\":{\"api_key\":\"\"}}' \"$ELASTICSEARCH_URL/_inference/my-inference-endpoint/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{inference_id}/_update": { @@ -28169,7 +28515,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service_settings\":{\"api_key\":\"\"}}' \"$ELASTICSEARCH_URL/_inference/my-inference-endpoint/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/": { @@ -28248,7 +28595,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -28265,7 +28613,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_ingest/geoip/database/{id}": { @@ -28286,7 +28635,8 @@ "$ref": "#/components/responses/ingest.get_geoip_database-200" } }, - "x-state": "Generally available; Added in 8.15.0" + "x-state": "Generally available; Added in 8.15.0", + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -28362,7 +28712,8 @@ } } }, - "x-state": "Generally available; Added in 8.15.0" + "x-state": "Generally available; Added in 8.15.0", + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -28416,7 +28767,8 @@ } } }, - "x-state": "Generally available; Added in 8.15.0" + "x-state": "Generally available; Added in 8.15.0", + "x-product-feature": "elasticsearch" } }, "/_ingest/ip_location/database/{id}": { @@ -28466,7 +28818,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -28562,7 +28915,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"GeoIP2-Domain\",\"maxmind\":{\"account_id\":\"1234567\"}}' \"$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -28642,7 +28996,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/{id}": { @@ -28698,7 +29053,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -28842,7 +29198,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"My optional pipeline description\",\"processors\":[{\"set\":{\"description\":\"My optional processor description\",\"field\":\"my-keyword-field\",\"value\":\"foo\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -28925,7 +29282,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/geoip/stats": { @@ -28993,7 +29351,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/geoip/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/geoip/database": { @@ -29009,7 +29368,8 @@ "$ref": "#/components/responses/ingest.get_geoip_database-200" } }, - "x-state": "Generally available; Added in 8.15.0" + "x-state": "Generally available; Added in 8.15.0", + "x-product-feature": "elasticsearch" } }, "/_ingest/ip_location/database": { @@ -29056,7 +29416,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline": { @@ -29109,7 +29470,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/processor/grok": { @@ -29172,7 +29534,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/processor/grok\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/_simulate": { @@ -29222,7 +29585,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29270,7 +29634,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/{id}/_simulate": { @@ -29323,7 +29688,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29374,7 +29740,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license": { @@ -29459,7 +29826,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -29513,7 +29881,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"licenses\":[{\"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\",\"type\":\"basic\",\"issue_date_in_millis\":1411948800000,\"expiry_date_in_millis\":1914278399999,\"max_nodes\":1,\"issued_to\":\"issuedTo\",\"issuer\":\"issuer\",\"signature\":\"xx\"}]}' \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29567,7 +29936,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"licenses\":[{\"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\",\"type\":\"basic\",\"issue_date_in_millis\":1411948800000,\"expiry_date_in_millis\":1914278399999,\"max_nodes\":1,\"issued_to\":\"issuedTo\",\"issuer\":\"issuer\",\"signature\":\"xx\"}]}' \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -29639,7 +30009,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license/basic_status": { @@ -29702,7 +30073,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license/basic_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license/trial_status": { @@ -29765,7 +30137,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license/trial_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license/start_basic": { @@ -29886,7 +30259,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license/start_basic?acknowledge=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license/start_trial": { @@ -29990,7 +30364,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license/start_trial?acknowledge=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_logstash/pipeline/{id}": { @@ -30040,7 +30415,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" }, "put": { "tags": [ @@ -30116,7 +30492,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Sample pipeline for illustration purposes\",\"last_modified\":\"2021-01-02T02:50:51.250Z\",\"pipeline_metadata\":{\"type\":\"logstash_pipeline\",\"version\":1},\"username\":\"elastic\",\"pipeline\":\"input {}\\\\n filter { grok {} }\\\\n output {}\",\"pipeline_settings\":{\"pipeline.workers\":1,\"pipeline.batch.size\":125,\"pipeline.batch.delay\":50,\"queue.type\":\"memory\",\"queue.max_bytes\":\"1gb\",\"queue.checkpoint.writes\":1024}}' \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" }, "delete": { "tags": [ @@ -30175,7 +30552,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" } }, "/_logstash/pipeline": { @@ -30220,7 +30598,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" } }, "/_mget": { @@ -30291,7 +30670,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -30360,7 +30740,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mget": { @@ -30434,7 +30815,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -30506,7 +30888,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/deprecations": { @@ -30548,7 +30931,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/deprecations\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_migration/deprecations": { @@ -30595,7 +30979,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/deprecations\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/system_features": { @@ -30665,7 +31050,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/system_features\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -30733,7 +31119,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/system_features\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ml/trained_models/{model_id}/deployment/cache/_clear": { @@ -30809,7 +31196,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/deployment/cache/_clear\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_close": { @@ -30937,7 +31325,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_close\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}": { @@ -30993,7 +31382,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -31091,7 +31481,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -31145,7 +31536,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -31211,7 +31603,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/events/{event_id}": { @@ -31289,7 +31682,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events/LS8LJGEBMTCMA-qz49st\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/jobs/{job_id}": { @@ -31378,7 +31772,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/jobs/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -31471,7 +31866,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/jobs/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}": { @@ -31530,7 +31926,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -31702,7 +32099,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":[\"kibana_sample_data_flights\"],\"query\":{\"range\":{\"DistanceKilometers\":{\"gt\":0}}},\"_source\":{\"includes\":[],\"excludes\":[\"FlightDelay\",\"FlightDelayType\"]}},\"dest\":{\"index\":\"df-flight-delays\",\"results_field\":\"ml-results\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"FlightDelayMin\",\"training_percent\":90}},\"analyzed_fields\":{\"includes\":[],\"excludes\":[\"FlightNum\"]},\"model_memory_limit\":\"100mb\"}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/model-flight-delays-pre\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -31788,7 +32186,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}": { @@ -31841,7 +32240,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -32076,7 +32476,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":[\"kibana_sample_data_logs\"],\"query\":{\"bool\":{\"must\":[{\"match_all\":{}}]}},\"job_id\":\"test-job\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-test-job?pretty\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -32152,7 +32553,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/_delete_expired_data/{job_id}": { @@ -32208,7 +32610,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/_delete_expired_data?timeout=1h\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/_delete_expired_data": { @@ -32261,7 +32664,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/_delete_expired_data?timeout=1h\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters/{filter_id}": { @@ -32314,7 +32718,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -32422,7 +32827,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"A list of safe domains\",\"items\":[\"*.google.com\",\"wikipedia.org\"]}' \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -32488,7 +32894,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_forecast": { @@ -32619,7 +33026,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"duration\":\"10d\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_forecast\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -32670,7 +33078,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests/_forecast/_all\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}": { @@ -32726,7 +33135,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests/_forecast/_all\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}": { @@ -32779,7 +33189,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -33043,7 +33454,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analysis_config\":{\"bucket_span\":\"15m\",\"detectors\":[{\"detector_description\":\"Sum of bytes\",\"function\":\"sum\",\"field_name\":\"bytes\"}]},\"data_description\":{\"time_field\":\"timestamp\",\"time_format\":\"epoch_ms\"},\"analysis_limits\":{\"model_memory_limit\":\"11MB\"},\"model_plot_config\":{\"enabled\":true,\"annotations_enabled\":true},\"results_index_name\":\"test-job1\",\"datafeed_config\":{\"indices\":[\"kibana_sample_data_logs\"],\"query\":{\"bool\":{\"must\":[{\"match_all\":{}}]}},\"runtime_mappings\":{\"hour_of_day\":{\"type\":\"long\",\"script\":{\"source\":\"emit(doc['\"'\"'timestamp'\"'\"'].value.getHour());\"}}},\"datafeed_id\":\"datafeed-test-job1\"}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-01\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -33145,7 +33557,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { @@ -33216,7 +33629,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"1575402236000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/model_snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -33285,7 +33699,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"1575402236000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/model_snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -33362,7 +33777,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/farequote/model_snapshots/1491948163\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}": { @@ -33430,7 +33846,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -33538,7 +33955,8 @@ } } }, - "x-state": "Generally available; Added in 7.10.0" + "x-state": "Generally available; Added in 7.10.0", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -33624,7 +34042,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/regression-job-one-1574775307356\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { @@ -33707,7 +34126,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/flight-delay-prediction-1574775339910/model_aliases/flight_delay_model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -33784,7 +34204,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/flight-delay-prediction-1574775339910/model_aliases/flight_delay_model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/_estimate_model_memory": { @@ -33882,7 +34303,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analysis_config\":{\"bucket_span\":\"5m\",\"detectors\":[{\"function\":\"sum\",\"field_name\":\"bytes\",\"by_field_name\":\"status\",\"partition_field_name\":\"app\"}],\"influencers\":[\"source_ip\",\"dest_ip\"]},\"overall_cardinality\":{\"status\":10,\"app\":50},\"max_bucket_cardinality\":{\"source_ip\":300,\"dest_ip\":30}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/_estimate_model_memory\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/_evaluate": { @@ -34011,7 +34433,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":\"animal_classification\",\"evaluation\":{\"classification\":{\"actual_field\":\"animal_class\",\"predicted_field\":\"ml.animal_class_prediction\",\"metrics\":{\"multiclass_confusion_matrix\":{}}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/_evaluate\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/_explain": { @@ -34056,7 +34479,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_explain\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34099,7 +34523,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_explain\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_explain": { @@ -34149,7 +34574,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_explain\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34197,7 +34623,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_explain\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_flush": { @@ -34354,7 +34781,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"calc_interim\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}": { @@ -34434,7 +34862,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"anomaly_score\":80,\"start\":\"1454530200001\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34512,7 +34941,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"anomaly_score\":80,\"start\":\"1454530200001\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/buckets": { @@ -34589,7 +35019,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"anomaly_score\":80,\"start\":\"1454530200001\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34664,7 +35095,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"anomaly_score\":80,\"start\":\"1454530200001\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/events": { @@ -34791,7 +35223,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34890,7 +35323,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"events\":[{\"description\":\"event 1\",\"start_time\":1513641600000,\"end_time\":1513728000000},{\"description\":\"event 2\",\"start_time\":1513814400000,\"end_time\":1513900800000},{\"description\":\"event 3\",\"start_time\":1514160000000,\"end_time\":1514246400000}]}' \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars": { @@ -34943,7 +35377,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -34994,7 +35429,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}": { @@ -35056,7 +35492,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"page\":{\"size\":1}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/esxi_log/results/categories\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -35116,7 +35553,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"page\":{\"size\":1}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/esxi_log/results/categories\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/categories": { @@ -35175,7 +35613,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"page\":{\"size\":1}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/esxi_log/results/categories\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -35232,7 +35671,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"page\":{\"size\":1}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/esxi_log/results/categories\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics": { @@ -35288,7 +35728,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/_stats": { @@ -35344,7 +35785,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/weblog-outliers/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_stats": { @@ -35403,7 +35845,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/weblog-outliers/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_stats": { @@ -35453,7 +35896,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/_stats": { @@ -35500,7 +35944,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds": { @@ -35550,7 +35995,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters": { @@ -35600,7 +36046,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/influencers": { @@ -35674,7 +36121,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":\"influencer_score\",\"desc\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/results/influencers\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -35746,7 +36194,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":\"influencer_score\",\"desc\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/results/influencers\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/_stats": { @@ -35793,7 +36242,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_stats": { @@ -35843,7 +36293,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors": { @@ -35893,7 +36344,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/memory/_stats": { @@ -35943,7 +36395,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/memory/_stats?human\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/memory/{node_id}/_stats": { @@ -35996,7 +36449,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/memory/_stats?human\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats": { @@ -36094,7 +36548,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/model_snapshots/_all/_upgrade/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots": { @@ -36162,7 +36617,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"1575402236000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/model_snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -36228,7 +36684,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"1575402236000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales/model_snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { @@ -36299,7 +36756,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"overall_score\":80,\"start\":\"1403532000000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-*/results/overall_buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -36368,7 +36826,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"overall_score\":80,\"start\":\"1403532000000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-*/results/overall_buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/records": { @@ -36442,7 +36901,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":\"record_score\",\"desc\":true,\"start\":\"1454944100000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/records\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -36514,7 +36974,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":\"record_score\",\"desc\":true,\"start\":\"1454944100000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/results/records\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models": { @@ -36579,7 +37040,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/_stats": { @@ -36635,7 +37097,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/_stats": { @@ -36688,7 +37151,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/_infer": { @@ -36804,7 +37268,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"text\":\"The fool doth think he is wise, but the wise man knows himself to be a fool.\"}]}' \"$ELASTICSEARCH_URL/_ml/trained_models/lang_ident_model_1/_infer\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/info": { @@ -36873,7 +37338,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/info\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_open": { @@ -36983,7 +37449,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"timeout\":\"35m\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-01/_open\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_data": { @@ -37123,7 +37590,8 @@ } }, "deprecated": true, - "x-state": "Generally available; Added in 5.4.0" + "x-state": "Generally available; Added in 5.4.0", + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/_preview": { @@ -37168,7 +37636,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -37211,7 +37680,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_preview": { @@ -37261,7 +37731,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -37309,7 +37780,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_preview": { @@ -37365,7 +37837,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -37419,7 +37892,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/_preview": { @@ -37472,7 +37946,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -37523,7 +37998,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/definition/{part}": { @@ -37631,7 +38107,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"definition\":\"...\",\"total_definition_length\":265632637,\"total_parts\":64}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/definition/0\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/vocabulary": { @@ -37737,7 +38214,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"vocabulary\":[\"[PAD]\",\"[unused0]\"]}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/vocabulary\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_reset": { @@ -37819,7 +38297,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert": { @@ -37931,7 +38410,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"delete_intervening_results\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/model_snapshots/1637092688/_revert\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/set_upgrade_mode": { @@ -38002,7 +38482,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/set_upgrade_mode?enabled=true\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_start": { @@ -38086,7 +38567,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_start\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_start": { @@ -38217,7 +38699,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"2019-04-07T18:22:16Z\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-low_request_rate/_start\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_start": { @@ -38381,7 +38864,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/deployment/_start?wait_for=started&timeout=1m\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_stop": { @@ -38481,7 +38965,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_stop": { @@ -38609,7 +39094,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"timeout\":\"30s\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-low_request_rate/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_stop": { @@ -38699,7 +39185,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/my_model_for_search/deployment/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_update": { @@ -38844,7 +39331,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"model_memory_limit\":\"200mb\"}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_update": { @@ -39082,7 +39570,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"geo.src\":\"US\"}}}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-test-job/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters/{filter_id}/_update": { @@ -39199,7 +39688,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Updated list of domains\",\"add_items\":[\"*.myorg.com\"],\"remove_items\":[\"wikipedia.org\"]}' \"$ELASTICSEARCH_URL/_ml/filters/safe_domains/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_update": { @@ -39429,7 +39919,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"An updated job\",\"detectors\":{\"detector_index\":0,\"description\":\"An updated detector description\"},\"groups\":[\"kibana_sample_data\",\"kibana_sample_web_logs\"],\"model_plot_config\":{\"enabled\":true},\"renormalization_window_days\":30,\"background_persist_interval\":\"2h\",\"model_snapshot_retention_days\":7,\"results_retention_days\":60}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update": { @@ -39540,7 +40031,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Snapshot 1\",\"retain\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/it_ops_new_logs/model_snapshots/1491852978/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_update": { @@ -39644,7 +40136,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"number_of_allocations\":4}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/deployment/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade": { @@ -39750,7 +40243,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/model_snapshots/1828371/_upgrade?timeout=45m&wait_for_completion=true\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_msearch": { @@ -39836,7 +40330,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -39920,7 +40415,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_msearch": { @@ -40009,7 +40505,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -40096,7 +40593,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_msearch/template": { @@ -40161,7 +40659,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -40224,7 +40723,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_msearch/template": { @@ -40292,7 +40792,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -40358,7 +40859,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mtermvectors": { @@ -40441,7 +40943,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -40522,7 +41025,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mtermvectors": { @@ -40608,7 +41112,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -40692,7 +41197,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/_repositories_metering/{max_archive_version}": { @@ -40739,7 +41245,8 @@ } } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/_repositories_metering": { @@ -40775,7 +41282,8 @@ } } }, - "x-state": "Technical preview; Added in 7.16.0" + "x-state": "Technical preview; Added in 7.16.0", + "x-product-feature": "elasticsearch" } }, "/_nodes/hot_threads": { @@ -40840,7 +41348,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/hot_threads\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/hot_threads": { @@ -40908,7 +41417,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/hot_threads\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes": { @@ -40958,7 +41468,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/_all/jvm\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}": { @@ -41011,7 +41522,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/_all/jvm\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{metric}": { @@ -41064,7 +41576,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/_all/jvm\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/{metric}": { @@ -41120,7 +41633,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/_all/jvm\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/reload_secure_settings": { @@ -41170,7 +41684,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"secure_settings_password\":\"keystore-password\"}' \"$ELASTICSEARCH_URL/_nodes/reload_secure_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/reload_secure_settings": { @@ -41223,7 +41738,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"secure_settings_password\":\"keystore-password\"}' \"$ELASTICSEARCH_URL/_nodes/reload_secure_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/stats": { @@ -41294,7 +41810,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/stats": { @@ -41368,7 +41885,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/stats/{metric}": { @@ -41442,7 +41960,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/stats/{metric}": { @@ -41519,7 +42038,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/stats/{metric}/{index_metric}": { @@ -41596,7 +42116,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/stats/{metric}/{index_metric}": { @@ -41676,7 +42197,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/usage": { @@ -41723,7 +42245,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/usage": { @@ -41773,7 +42296,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/usage/{metric}": { @@ -41823,7 +42347,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/usage/{metric}": { @@ -41876,7 +42401,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_pit": { @@ -42041,7 +42567,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_pit?keep_alive=1m&allow_partial_search_results=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/{id}/{context}": { @@ -42106,7 +42633,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -42169,7 +42697,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}/_rule/{rule_id}": { @@ -42251,7 +42780,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_rule/my-rule1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -42376,7 +42906,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"match_criteria\":{\"query_string\":\"puggles\"}}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_test\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -42447,7 +42978,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_rule/my-rule1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}": { @@ -42515,7 +43047,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -42620,7 +43153,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"rule_id\":\"my-rule1\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"contains\",\"metadata\":\"user_query\",\"values\":[\"pugs\",\"puggles\"]},{\"type\":\"exact\",\"metadata\":\"user_country\",\"values\":[\"us\"]}],\"actions\":{\"ids\":[\"id1\",\"id2\"]}},{\"rule_id\":\"my-rule2\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"fuzzy\",\"metadata\":\"user_query\",\"values\":[\"rescue dogs\"]}],\"actions\":{\"docs\":[{\"_index\":\"index1\",\"_id\":\"id3\"},{\"_index\":\"index2\",\"_id\":\"id4\"}]}}]}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -42680,7 +43214,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules": { @@ -42772,7 +43307,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/?from=0&size=3\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}/_test": { @@ -42883,7 +43419,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"rule_id\":\"my-rule1\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"contains\",\"metadata\":\"user_query\",\"values\":[\"pugs\",\"puggles\"]},{\"type\":\"exact\",\"metadata\":\"user_country\",\"values\":[\"us\"]}],\"actions\":{\"ids\":[\"id1\",\"id2\"]}},{\"rule_id\":\"my-rule2\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"fuzzy\",\"metadata\":\"user_query\",\"values\":[\"rescue dogs\"]}],\"actions\":{\"docs\":[{\"_index\":\"index1\",\"_id\":\"id3\"},{\"_index\":\"index2\",\"_id\":\"id4\"}]}}]}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rank_eval": { @@ -42942,7 +43479,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -42999,7 +43537,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_rank_eval": { @@ -43061,7 +43600,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -43121,7 +43661,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_reindex": { @@ -43417,7 +43958,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":[\"my-index-000001\",\"my-index-000002\"]},\"dest\":{\"index\":\"my-new-index-000002\"}}' \"$ELASTICSEARCH_URL/_reindex\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_reindex/{task_id}/_rethrottle": { @@ -43500,7 +44042,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_reindex/r1A2WoRbTwKZ516z6NEs5A:36619/_rethrottle?requests_per_second=-1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_render/template": { @@ -43545,7 +44088,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -43588,7 +44132,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_render/template/{id}": { @@ -43638,7 +44183,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -43686,7 +44232,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/job/{id}": { @@ -43734,7 +44281,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -43856,7 +44404,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_pattern\":\"sensor-*\",\"rollup_index\":\"sensor_rollup\",\"cron\":\"*/30 * * * * ?\",\"page_size\":1000,\"groups\":{\"date_histogram\":{\"field\":\"timestamp\",\"fixed_interval\":\"1h\",\"delay\":\"7d\"},\"terms\":{\"fields\":[\"node\"]}},\"metrics\":[{\"field\":\"temperature\",\"metrics\":[\"min\",\"max\",\"sum\"]},{\"field\":\"voltage\",\"metrics\":[\"avg\"]}]}' \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -43937,7 +44486,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/job": { @@ -43980,7 +44530,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/data/{id}": { @@ -44028,7 +44579,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/data/sensor-*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/data": { @@ -44071,7 +44623,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/data/sensor-*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_rollup/data": { @@ -44143,7 +44696,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/sensor_rollup/_rollup/data\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_rollup_search": { @@ -44200,7 +44754,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"size\":0,\"aggregations\":{\"max_temperature\":{\"max\":{\"field\":\"temperature\"}}}}' \"$ELASTICSEARCH_URL/sensor_rollup/_rollup_search\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -44255,7 +44810,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"size\":0,\"aggregations\":{\"max_temperature\":{\"max\":{\"field\":\"temperature\"}}}}' \"$ELASTICSEARCH_URL/sensor_rollup/_rollup_search\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/job/{id}/_start": { @@ -44332,7 +44888,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor/_start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/job/{id}/_stop": { @@ -44423,7 +44980,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor/_stop?wait_for_completion=true&timeout=10s\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/painless/_execute": { @@ -44468,7 +45026,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"params.count / params.total\",\"params\":{\"count\":100,\"total\":1000}}}' \"$ELASTICSEARCH_URL/_scripts/painless/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -44511,7 +45070,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"params.count / params.total\",\"params\":{\"count\":100,\"total\":1000}}}' \"$ELASTICSEARCH_URL/_scripts/painless/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search": { @@ -44690,7 +45250,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -44867,7 +45428,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_search": { @@ -45049,7 +45611,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -45229,7 +45792,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application/{name}": { @@ -45297,7 +45861,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application/my-app/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -45391,7 +45956,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":[\"index1\",\"index2\"],\"template\":{\"script\":{\"source\":{\"query\":{\"query_string\":{\"query\":\"{{query_string}}\",\"default_field\":\"{{default_field}}\"}}},\"params\":{\"query_string\":\"*\",\"default_field\":\"*\"}},\"dictionary\":{\"properties\":{\"query_string\":{\"type\":\"string\"},\"default_field\":{\"type\":\"string\",\"enum\":[\"title\",\"description\"]},\"additionalProperties\":false},\"required\":[\"query_string\"]}}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -45451,7 +46017,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application/my-app/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/analytics/{name}": { @@ -45498,7 +46065,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -45558,7 +46126,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -45619,7 +46188,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/analytics": { @@ -45661,7 +46231,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application": { @@ -45763,7 +46334,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application?from=0&size=3&q=app*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/analytics/{collection_name}/event/{event_type}": { @@ -45876,7 +46448,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"session\":{\"id\":\"1797ca95-91c9-4e2e-b1bd-9c38e6f386a9\"},\"user\":{\"id\":\"5f26f01a-bbee-4202-9298-81261067abbd\"},\"search\":{\"query\":\"search term\",\"results\":{\"items\":[{\"document\":{\"id\":\"123\",\"index\":\"products\"}}],\"total_results\":10},\"sort\":{\"name\":\"relevance\"},\"search_application\":\"website\"},\"document\":{\"id\":\"123\",\"index\":\"products\"}}' \"$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection/event/search_click\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application/{name}/_render_query": { @@ -45967,7 +46540,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"params\":{\"query_string\":\"my first query\",\"text_fields\":[{\"name\":\"title\",\"boost\":5},{\"name\":\"description\",\"boost\":1}]}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app/_render_query\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application/{name}/_search": { @@ -46020,7 +46594,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"params\":{\"query_string\":\"my first query\",\"text_fields\":[{\"name\":\"title\",\"boost\":5},{\"name\":\"description\",\"boost\":1}]}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app/_search\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46071,7 +46646,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"params\":{\"query_string\":\"my first query\",\"text_fields\":[{\"name\":\"title\",\"boost\":5},{\"name\":\"description\",\"boost\":1}]}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app/_search\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { @@ -46157,7 +46733,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grid_agg\":\"geotile\",\"grid_precision\":2,\"fields\":[\"name\",\"price\"],\"query\":{\"term\":{\"included\":true}},\"aggs\":{\"min_price\":{\"min\":{\"field\":\"price\"}},\"max_price\":{\"max\":{\"field\":\"price\"}},\"avg_price\":{\"avg\":{\"field\":\"price\"}}}}' \"$ELASTICSEARCH_URL/museums/_mvt/location/13/4207/2692\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46241,7 +46818,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grid_agg\":\"geotile\",\"grid_precision\":2,\"fields\":[\"name\",\"price\"],\"query\":{\"term\":{\"included\":true}},\"aggs\":{\"min_price\":{\"min\":{\"field\":\"price\"}},\"max_price\":{\"max\":{\"field\":\"price\"}},\"avg_price\":{\"avg\":{\"field\":\"price\"}}}}' \"$ELASTICSEARCH_URL/museums/_mvt/location/13/4207/2692\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search_shards": { @@ -46306,7 +46884,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_search_shards\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46369,7 +46948,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_search_shards\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_search_shards": { @@ -46437,7 +47017,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_search_shards\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46503,7 +47084,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_search_shards\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/template": { @@ -46592,7 +47174,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46679,7 +47262,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_search/template": { @@ -46771,7 +47355,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -46861,7 +47446,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_searchable_snapshots/cache/stats": { @@ -46911,7 +47497,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_searchable_snapshots/cache/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_searchable_snapshots/{node_id}/cache/stats": { @@ -46964,7 +47551,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_searchable_snapshots/cache/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_searchable_snapshots/cache/clear": { @@ -47020,7 +47608,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index/_searchable_snapshots/cache/clear\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_searchable_snapshots/cache/clear": { @@ -47079,7 +47668,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index/_searchable_snapshots/cache/clear\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}/_mount": { @@ -47231,7 +47821,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":\"my_docs\",\"renamed_index\":\"docs\",\"index_settings\":{\"index.number_of_replicas\":0},\"ignore_index_settings\":[\"index.refresh_interval\"]}' \"$ELASTICSEARCH_URL/_snapshot/my_repository/my_snapshot/_mount?wait_for_completion=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_searchable_snapshots/stats": { @@ -47278,7 +47869,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index/_searchable_snapshots/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_searchable_snapshots/stats": { @@ -47328,7 +47920,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index/_searchable_snapshots/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/_activate": { @@ -47419,7 +48012,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grant_type\":\"password\",\"username\":\"jacknich\",\"password\":\"l0ng-r4nd0m-p@ssw0rd\"}' \"$ELASTICSEARCH_URL/_security/profile/_activate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_authenticate": { @@ -47537,7 +48131,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/_authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role": { @@ -47579,7 +48174,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -47715,7 +48311,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"roles\":{\"my_admin_role\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\",\"index2\"],\"privileges\":[\"all\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}},\"my_user_role\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\"],\"privileges\":[\"read\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}}}}' \"$ELASTICSEARCH_URL/_security/role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -47839,7 +48436,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"names\":[\"my_admin_role\",\"my_user_role\"]}' \"$ELASTICSEARCH_URL/_security/role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key/_bulk_update": { @@ -47967,7 +48565,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"ids\":[\"VuaCfGcBCdbkQm-e5aOx\",\"H3_AhoIBA9hmeQJdg7ij\"],\"role_descriptors\":{\"role-a\":{\"indices\":[{\"names\":[\"*\"],\"privileges\":[\"write\"]}]}},\"metadata\":{\"environment\":{\"level\":2,\"trusted\":true,\"tags\":[\"production\"]}},\"expiration\":\"30d\"}' \"$ELASTICSEARCH_URL/_security/api_key/_bulk_update\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{username}/_password": { @@ -48020,7 +48619,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"new-test-password\"}' \"$ELASTICSEARCH_URL/_security/user/jacknich/_password\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -48071,7 +48671,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"new-test-password\"}' \"$ELASTICSEARCH_URL/_security/user/jacknich/_password\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/_password": { @@ -48121,7 +48722,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"new-test-password\"}' \"$ELASTICSEARCH_URL/_security/user/jacknich/_password\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -48169,7 +48771,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"new-test-password\"}' \"$ELASTICSEARCH_URL/_security/user/jacknich/_password\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key/{ids}/_clear_cache": { @@ -48250,7 +48853,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/api_key/yVGMr3QByxdh1MSaicYx/_clear_cache\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege/{application}/_clear_cache": { @@ -48331,7 +48935,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/myapp/_clear_cache\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/realm/{realms}/_clear_cache": { @@ -48428,7 +49033,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/realm/default_file/_clear_cache\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role/{name}/_clear_cache": { @@ -48509,7 +49115,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role/_clear_cache\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache": { @@ -48615,7 +49222,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential/token/token1/_clear_cache\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key": { @@ -48769,7 +49377,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/api_key?username=myuser&realm_name=native1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -48820,7 +49429,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"my-api-key\",\"expiration\":\"1d\",\"role_descriptors\":{\"role-a\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-a*\"],\"privileges\":[\"read\"]}]},\"role-b\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-b*\"],\"privileges\":[\"all\"]}]}},\"metadata\":{\"application\":\"my-application\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -48871,7 +49481,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"my-api-key\",\"expiration\":\"1d\",\"role_descriptors\":{\"role-a\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-a*\"],\"privileges\":[\"read\"]}]},\"role-b\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-b*\"],\"privileges\":[\"all\"]}]}},\"metadata\":{\"application\":\"my-application\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -49024,7 +49635,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"ids\":[\"VuaCfGcBCdbkQm-e5aOx\"]}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/cross_cluster/api_key": { @@ -49141,7 +49753,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"my-cross-cluster-api-key\",\"expiration\":\"1d\",\"access\":{\"search\":[{\"names\":[\"logs*\"]}],\"replication\":[{\"names\":[\"archive*\"]}]},\"metadata\":{\"description\":\"phase one\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}' \"$ELASTICSEARCH_URL/_security/cross_cluster/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}/{service}/credential/token/{name}": { @@ -49200,7 +49813,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential/token/token1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -49257,7 +49871,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential/token/token1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -49367,7 +49982,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential/token/token42\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}/{service}/credential/token": { @@ -49423,7 +50039,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential/token/token1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/delegate_pki": { @@ -49531,7 +50148,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"x509_certificate_chain\":[\"MIIDeDCCAmCgAwIBAgIUBzj/nGGKxP2iXawsSquHmQjCJmMwDQYJKoZIhvcNAQELBQAwUzErMCkGA1UEAxMiRWxhc3RpY3NlYXJjaCBUZXN0IEludGVybWVkaWF0ZSBDQTEWMBQGA1UECxMNRWxhc3RpY3NlYXJjaDEMMAoGA1UEChMDb3JnMB4XDTIzMDcxODE5MjkwNloXDTQzMDcxMzE5MjkwNlowSjEiMCAGA1UEAxMZRWxhc3RpY3NlYXJjaCBUZXN0IENsaWVudDEWMBQGA1UECxMNRWxhc3RpY3NlYXJjaDEMMAoGA1UEChMDb3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAllHL4pQkkfwAm/oLkxYYO+r950DEy1bjH+4viCHzNADLCTWO+lOZJVlNx7QEzJE3QGMdif9CCBBxQFMapA7oUFCLq84fPSQQu5AnvvbltVD9nwVtCs+9ZGDjMKsz98RhSLMFIkxdxi6HkQ3Lfa4ZSI4lvba4oo+T/GveazBDS+NgmKyq00EOXt3tWi1G9vEVItommzXWfv0agJWzVnLMldwkPqsw0W7zrpyT7FZS4iLbQADGceOW8fiauOGMkscu9zAnDR/SbWl/chYioQOdw6ndFLn1YIFPd37xL0WsdsldTpn0vH3YfzgLMffT/3P6YlwBegWzsx6FnM/93Ecb4wIDAQABo00wSzAJBgNVHRMEAjAAMB0GA1UdDgQWBBQKNRwjW+Ad/FN1Rpoqme/5+jrFWzAfBgNVHSMEGDAWgBRcya0c0x/PaI7MbmJVIylWgLqXNjANBgkqhkiG9w0BAQsFAAOCAQEACZ3PF7Uqu47lplXHP6YlzYL2jL0D28hpj5lGtdha4Muw1m/BjDb0Pu8l0NQ1z3AP6AVcvjNDkQq6Y5jeSz0bwQlealQpYfo7EMXjOidrft1GbqOMFmTBLpLA9SvwYGobSTXWTkJzonqVaTcf80HpMgM2uEhodwTcvz6v1WEfeT/HMjmdIsq4ImrOL9RNrcZG6nWfw0HR3JNOgrbfyEztEI471jHznZ336OEcyX7gQuvHE8tOv5+oD1d7s3Xg1yuFp+Ynh+FfOi3hPCuaHA+7F6fLmzMDLVUBAllugst1C3U+L/paD7tqIa4ka+KNPCbSfwazmJrt4XNiivPR4hwH5g==\"]}' \"$ELASTICSEARCH_URL/_security/delegate_pki\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege/{application}/{name}": { @@ -49584,7 +50202,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/myapp/read\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -49680,7 +50299,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/myapp/read\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role/{name}": { @@ -49727,7 +50347,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -49781,7 +50402,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Grants full access to all management features within the cluster.\",\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\",\"index2\"],\"privileges\":[\"all\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -49835,7 +50457,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Grants full access to all management features within the cluster.\",\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\",\"index2\"],\"privileges\":[\"all\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -49920,7 +50543,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role_mapping/{name}": { @@ -49970,7 +50594,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role_mapping/mapping1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -50024,7 +50649,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"roles\":[\"user\"],\"enabled\":true,\"rules\":{\"field\":{\"username\":\"*\"}},\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role_mapping/mapping1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50078,7 +50704,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"roles\":[\"user\"],\"enabled\":true,\"rules\":{\"field\":{\"username\":\"*\"}},\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role_mapping/mapping1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -50166,7 +50793,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role_mapping/mapping1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{username}": { @@ -50216,7 +50844,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/jacknich?with_profile_uid=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -50267,7 +50896,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"l0ng-r4nd0m-p@ssw0rd\",\"roles\":[\"admin\",\"other_role1\"],\"full_name\":\"Jack Nicholson\",\"email\":\"jacknich@example.com\",\"metadata\":{\"intelligence\":7}}' \"$ELASTICSEARCH_URL/_security/user/jacknich\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50318,7 +50948,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"password\":\"l0ng-r4nd0m-p@ssw0rd\",\"roles\":[\"admin\",\"other_role1\"],\"full_name\":\"Jack Nicholson\",\"email\":\"jacknich@example.com\",\"metadata\":{\"intelligence\":7}}' \"$ELASTICSEARCH_URL/_security/user/jacknich\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -50403,7 +51034,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/jacknich\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{username}/_disable": { @@ -50453,7 +51085,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/jacknich/_disable\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50501,7 +51134,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/jacknich/_disable\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/{uid}/_disable": { @@ -50551,7 +51185,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0/_disable\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50599,7 +51234,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0/_disable\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{username}/_enable": { @@ -50649,7 +51285,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/logstash_system/_enable\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50697,7 +51334,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/logstash_system/_enable\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/{uid}/_enable": { @@ -50747,7 +51385,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0/_enable\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -50795,7 +51434,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0/_enable\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/enroll/kibana": { @@ -50863,7 +51503,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/enroll/kibana\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/enroll/node": { @@ -50929,7 +51570,8 @@ } } }, - "x-state": "Generally available; Added in 8.0.0" + "x-state": "Generally available; Added in 8.0.0", + "x-product-feature": "elasticsearch" } }, "/_security/privilege/_builtin": { @@ -51016,7 +51658,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/_builtin\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege": { @@ -51061,7 +51704,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/myapp/read\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -51112,7 +51756,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"myapp\":{\"read\":{\"actions\":[\"data:read/*\",\"action:login\"],\"metadata\":{\"description\":\"Read access to myapp\"}}}}' \"$ELASTICSEARCH_URL/_security/privilege\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -51163,7 +51808,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"myapp\":{\"read\":{\"actions\":[\"data:read/*\",\"action:login\"],\"metadata\":{\"description\":\"Read access to myapp\"}}}}' \"$ELASTICSEARCH_URL/_security/privilege\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege/{application}": { @@ -51213,7 +51859,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/myapp/read\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role_mapping": { @@ -51258,7 +51905,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role_mapping/mapping1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}/{service}": { @@ -51311,7 +51959,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}": { @@ -51361,7 +52010,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service": { @@ -51406,7 +52056,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/service/{namespace}/{service}/credential": { @@ -51511,7 +52162,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/service/elastic/fleet-server/credential\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/settings": { @@ -51588,7 +52240,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -51692,7 +52345,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"security\":{\"index.auto_expand_replicas\":\"0-all\"},\"security-tokens\":{\"index.auto_expand_replicas\":\"0-all\"},\"security-profile\":{\"index.auto_expand_replicas\":\"0-all\"}}' \"$ELASTICSEARCH_URL/_security/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/oauth2/token": { @@ -51830,7 +52484,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grant_type\":\"client_credentials\"}' \"$ELASTICSEARCH_URL/_security/oauth2/token\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -51962,7 +52617,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"token\":\"dGhpcyBpcyBub3QgYSByZWFsIHRva2VuIGJ1dCBpdCBpcyBvbmx5IHRlc3QgZGF0YS4gZG8gbm90IHRyeSB0byByZWFkIHRva2VuIQ==\"}' \"$ELASTICSEARCH_URL/_security/oauth2/token\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user": { @@ -52009,7 +52665,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/jacknich?with_profile_uid=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/_privileges": { @@ -52154,7 +52811,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/user/_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/{uid}": { @@ -52278,7 +52936,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key/grant": { @@ -52397,7 +53056,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grant_type\":\"password\",\"username\":\"test_admin\",\"password\":\"x-pack-test-password\",\"api_key\":{\"name\":\"my-api-key\",\"expiration\":\"1d\",\"role_descriptors\":{\"role-a\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-a*\"],\"privileges\":[\"read\"]}]},\"role-b\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-b*\"],\"privileges\":[\"all\"]}]}},\"metadata\":{\"application\":\"my-application\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}}' \"$ELASTICSEARCH_URL/_security/api_key/grant\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/_has_privileges": { @@ -52445,7 +53105,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -52491,7 +53152,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{user}/_has_privileges": { @@ -52544,7 +53206,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -52595,7 +53258,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/_has_privileges": { @@ -52643,7 +53307,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"uids\":[\"u_LQPnxDxEjIH0GOUoFkZr5Y57YUwSkL9Joiq-g4OCbPc_0\",\"u_rzRnxDgEHIH0GOUoFkZr5Y27YUwSk19Joiq=g4OCxxB_1\",\"u_does-not-exist_0\"],\"privileges\":{\"cluster\":[\"monitor\",\"create_snapshot\",\"manage_ml\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"create_doc\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}}' \"$ELASTICSEARCH_URL/_security/profile/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -52689,7 +53354,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"uids\":[\"u_LQPnxDxEjIH0GOUoFkZr5Y57YUwSkL9Joiq-g4OCbPc_0\",\"u_rzRnxDgEHIH0GOUoFkZr5Y27YUwSk19Joiq=g4OCxxB_1\",\"u_does-not-exist_0\"],\"privileges\":{\"cluster\":[\"monitor\",\"create_snapshot\",\"manage_ml\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"create_doc\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}}' \"$ELASTICSEARCH_URL/_security/profile/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/oidc/authenticate": { @@ -52807,7 +53473,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"redirect_uri\":\"https://oidc-kibana.elastic.co:5603/api/security/oidc/callback?code=jtI3Ntt8v3_XvcLzCFGq&state=4dbrihtIAt3wBTwo6DxK-vdk-sSyDBV8Yf0AjdkdT5I\",\"state\":\"4dbrihtIAt3wBTwo6DxK-vdk-sSyDBV8Yf0AjdkdT5I\",\"nonce\":\"WaBPH0KqPVdG5HHdSxPRjfoZbXMCicm5v1OiAj0DUFM\",\"realm\":\"oidc1\"}' \"$ELASTICSEARCH_URL/_security/oidc/authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/oidc/logout": { @@ -52900,7 +53567,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"token\":\"dGhpcyBpcyBub3QgYSByZWFsIHRva2VuIGJ1dCBpdCBpcyBvbmx5IHRlc3QgZGF0YS4gZG8gbm90IHRyeSB0byByZWFkIHRva2VuIQ==\",\"refresh_token\":\"vLBPvmAB6KvwvJZr27cS\"}' \"$ELASTICSEARCH_URL/_security/oidc/logout\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/oidc/prepare": { @@ -53025,7 +53693,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"realm\":\"oidc1\"}' \"$ELASTICSEARCH_URL/_security/oidc/prepare\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_query/api_key": { @@ -53081,7 +53750,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"ids\":{\"values\":[\"VuaCfGcBCdbkQm-e5aOx\"]}}}' \"$ELASTICSEARCH_URL/_security/_query/api_key?with_limited_by=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -53135,7 +53805,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"ids\":{\"values\":[\"VuaCfGcBCdbkQm-e5aOx\"]}}}' \"$ELASTICSEARCH_URL/_security/_query/api_key?with_limited_by=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_query/role": { @@ -53180,7 +53851,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[\"name\"]}' \"$ELASTICSEARCH_URL/_security/_query/role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -53223,7 +53895,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[\"name\"]}' \"$ELASTICSEARCH_URL/_security/_query/role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_query/user": { @@ -53273,7 +53946,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"prefix\":{\"roles\":\"other\"}}}' \"$ELASTICSEARCH_URL/_security/_query/user?with_profile_uid=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -53321,7 +53995,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"prefix\":{\"roles\":\"other\"}}}' \"$ELASTICSEARCH_URL/_security/_query/user?with_profile_uid=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/authenticate": { @@ -53441,7 +54116,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"content\":\"PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMD.....\",\"ids\":[\"4fee3b046395c4e751011e97f8900b5273d56685\"]}' \"$ELASTICSEARCH_URL/_security/saml/authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/complete_logout": { @@ -53532,7 +54208,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"realm\":\"saml1\",\"ids\":[\"_1c368075e0b3...\"],\"query_string\":\"SAMLResponse=fZHLasMwEEVbfb1bf...&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=CuCmFn%2BLqnaZGZJqK...\"}' \"$ELASTICSEARCH_URL/_security/saml/complete_logout\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/invalidate": { @@ -53642,7 +54319,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query_string\":\"SAMLRequest=nZFda4MwFIb%2FiuS%2BmviRpqFaClKQdbvo2g12M2KMraCJ9cRR9utnW4Wyi13sMie873MeznJ1aWrnS3VQGR0j4mLkKC1NUeljjA77zYyhVbIE0dR%2By7fmaHq7U%2BdegXWGpAZ%2B%2F4pR32luBFTAtWgUcCv56%2Fp5y30X87Yz1khTIycdgpUW9kY7WdsC9zxoXTvMvWuVV98YyMnSGH2SYE5pwALBIr9QKiwDGpW0oGVUznGeMyJZKFkQ4jBf5HnhUymjIhzCAL3KNFihbYx8TBYzzGaY7EnIyZwHzCWMfiDnbRIftkSjJr%2BFu0e9v%2B0EgOquRiiZjKpiVFp6j50T4WXoyNJ%2FEWC9fdqc1t%2F1%2B2F3aUpjzhPiXpqMz1%2FHSn4A&SigAlg=http%3A%2F%2Fwww.w3.org%2F2001%2F04%2Fxmldsig-more%23rsa-sha256&Signature=MsAYz2NFdovMG2mXf6TSpu5vlQQyEJAg%2B4KCwBqJTmrb3yGXKUtIgvjqf88eCAK32v3eN8vupjPC8LglYmke1ZnjK0%2FKxzkvSjTVA7mMQe2AQdKbkyC038zzRq%2FYHcjFDE%2Bz0qISwSHZY2NyLePmwU7SexEXnIz37jKC6NMEhus%3D\",\"realm\":\"saml1\"}' \"$ELASTICSEARCH_URL/_security/saml/invalidate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/logout": { @@ -53738,7 +54416,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"token\":\"46ToAxZVaXVVZTVKOVF5YU04ZFJVUDVSZlV3\",\"refresh_token\":\"mJdXLtmvTUSpoLwMvdBt_w\"}' \"$ELASTICSEARCH_URL/_security/saml/logout\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/prepare": { @@ -53850,7 +54529,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"realm\":\"saml1\"}' \"$ELASTICSEARCH_URL/_security/saml/prepare\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/saml/metadata/{realm_name}": { @@ -53927,7 +54607,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/profile/u_P_0BMHgaOK3p7k-PFWUCbw9dQ-UFjt01oWJ_Dp2PmPc_0/_data\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/_suggest": { @@ -53977,7 +54658,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"jack\",\"hint\":{\"uids\":[\"u_8RKO7AKfEbSiIHZkZZ2LJy2MUSDPWDr3tMI_CkIGApU_0\",\"u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0\"],\"labels\":{\"direction\":[\"north\",\"east\"]}}}' \"$ELASTICSEARCH_URL/_security/profile/_suggest\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -54025,7 +54707,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"jack\",\"hint\":{\"uids\":[\"u_8RKO7AKfEbSiIHZkZZ2LJy2MUSDPWDr3tMI_CkIGApU_0\",\"u_79HkWkwmnBH5gqFKwoxggWPjEBOur1zLPXQPEl1VBW0_0\"],\"labels\":{\"direction\":[\"north\",\"east\"]}}}' \"$ELASTICSEARCH_URL/_security/profile/_suggest\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key/{id}": { @@ -54139,7 +54822,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"role_descriptors\":{\"role-a\":{\"indices\":[{\"names\":[\"*\"],\"privileges\":[\"write\"]}]}},\"metadata\":{\"environment\":{\"level\":2,\"trusted\":true,\"tags\":[\"production\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key/VuaCfGcBCdbkQm-e5aOx\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/cross_cluster/api_key/{id}": { @@ -54249,7 +54933,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"access\":{\"replication\":[{\"names\":[\"archive\"]}]},\"metadata\":{\"application\":\"replication\"}}' \"$ELASTICSEARCH_URL/_security/cross_cluster/api_key/VuaCfGcBCdbkQm-e5aOx\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/profile/{uid}/_data": { @@ -54308,7 +54993,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"labels\":{\"direction\":\"east\"},\"data\":{\"app1\":{\"theme\":\"default\"}}}' \"$ELASTICSEARCH_URL/_security/profile/u_P_0BMHgaOK3p7k-PFWUCbw9dQ-UFjt01oWJ_Dp2PmPc_0/_data\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -54365,7 +55051,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"labels\":{\"direction\":\"east\"},\"data\":{\"app1\":{\"theme\":\"default\"}}}' \"$ELASTICSEARCH_URL/_security/profile/u_P_0BMHgaOK3p7k-PFWUCbw9dQ-UFjt01oWJ_Dp2PmPc_0/_data\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{node_id}/shutdown": { @@ -54415,7 +55102,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -54532,7 +55220,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"type\":\"restart\",\"reason\":\"Demonstrating how the node shutdown API works\",\"allocation_delay\":\"20m\"}' \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -54618,7 +55307,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/shutdown": { @@ -54665,7 +55355,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/_simulate": { @@ -54715,7 +55406,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":123,\"_index\":\"my-index\",\"_source\":{\"foo\":\"bar\"}},{\"_id\":456,\"_index\":\"my-index\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -54763,7 +55455,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":123,\"_index\":\"my-index\",\"_source\":{\"foo\":\"bar\"}},{\"_id\":456,\"_index\":\"my-index\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/{index}/_simulate": { @@ -54816,7 +55509,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":123,\"_index\":\"my-index\",\"_source\":{\"foo\":\"bar\"}},{\"_id\":456,\"_index\":\"my-index\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -54867,7 +55561,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":123,\"_index\":\"my-index\",\"_source\":{\"foo\":\"bar\"}},{\"_id\":456,\"_index\":\"my-index\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/policy/{policy_id}": { @@ -54920,7 +55615,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/policy/daily-snapshots?human\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -55039,7 +55735,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"schedule\":\"0 30 1 * * ?\",\"name\":\"\",\"repository\":\"my_repository\",\"config\":{\"indices\":[\"data-*\",\"important\"],\"ignore_unavailable\":false,\"include_global_state\":false},\"retention\":{\"expire_after\":\"30d\",\"min_count\":5,\"max_count\":50}}' \"$ELASTICSEARCH_URL/_slm/policy/daily-snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -55119,7 +55816,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/policy/daily-snapshots\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/policy/{policy_id}/_execute": { @@ -55215,7 +55913,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/policy/daily-snapshots/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/_execute_retention": { @@ -55286,7 +55985,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/_execute_retention\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/policy": { @@ -55336,7 +56036,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/policy/daily-snapshots?human\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/stats": { @@ -55460,7 +56161,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/status": { @@ -55545,7 +56247,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/start": { @@ -55622,7 +56325,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/stop": { @@ -55667,7 +56371,8 @@ } } }, - "x-state": "Generally available; Added in 7.6.0" + "x-state": "Generally available; Added in 7.6.0", + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/_cleanup": { @@ -55766,7 +56471,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/_cleanup\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}": { @@ -55885,7 +56591,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":\"index_a,index_b\"}' \"$ELASTICSEARCH_URL/_snapshot/my_repository/source_snapshot/_clone/target_snapshot\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}": { @@ -56126,7 +56833,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_*?sort=start_time&from_sort_value=1577833200000\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -56186,7 +56894,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":\"index_1,index_2\",\"ignore_unavailable\":true,\"include_global_state\":false,\"metadata\":{\"taken_by\":\"user123\",\"taken_because\":\"backup before upgrading\"}}' \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2?wait_for_completion=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -56246,7 +56955,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":\"index_1,index_2\",\"ignore_unavailable\":true,\"include_global_state\":false,\"metadata\":{\"taken_by\":\"user123\",\"taken_because\":\"backup before upgrading\"}}' \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2?wait_for_completion=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -56333,7 +57043,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2,snapshot_3\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}": { @@ -56386,7 +57097,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -56446,7 +57158,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"type\":\"fs\",\"settings\":{\"location\":\"my_backup_location\"}}' \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -56506,7 +57219,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"type\":\"fs\",\"settings\":{\"location\":\"my_backup_location\"}}' \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -56586,7 +57300,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot": { @@ -56636,7 +57351,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/_analyze": { @@ -56916,7 +57632,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/_analyze?blob_count=10&max_blob_size=1mb&timeout=120s\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}/_restore": { @@ -57093,7 +57810,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":\"index_1,index_2\",\"ignore_unavailable\":true,\"include_global_state\":false,\"rename_pattern\":\"index_(.+)\",\"rename_replacement\":\"restored_index_$1\",\"include_aliases\":false}' \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2/_restore?wait_for_completion=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/_status": { @@ -57143,7 +57861,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/_status": { @@ -57196,7 +57915,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}/_status": { @@ -57252,7 +57972,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/snapshot_2/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/_verify": { @@ -57349,7 +58070,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_unverified_backup/_verify\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/close": { @@ -57430,7 +58152,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cursor\":\"sDXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAAEWYUpOYklQMHhRUEtld3RsNnFtYU1hQQ==:BAFmBGRhdGUBZgVsaWtlcwFzB21lc3NhZ2UBZgR1c2Vy9f///w8=\"}' \"$ELASTICSEARCH_URL/_sql/close\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/delete/{id}": { @@ -57492,7 +58215,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/delete/FmdMX2pIang3UWhLRU5QS0lqdlppYncaMUpYQ05oSkpTc3kwZ21EdC1tbFJXQToxOTI=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/{id}": { @@ -57631,7 +58355,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=?wait_for_completion_timeout=2s&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/status/{id}": { @@ -57723,7 +58448,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/status/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql": { @@ -57773,7 +58499,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC LIMIT 5\"}' \"$ELASTICSEARCH_URL/_sql?format=txt\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -57821,7 +58548,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC LIMIT 5\"}' \"$ELASTICSEARCH_URL/_sql?format=txt\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/translate": { @@ -57866,7 +58594,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC\",\"fetch_size\":10}' \"$ELASTICSEARCH_URL/_sql/translate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -57909,7 +58638,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC\",\"fetch_size\":10}' \"$ELASTICSEARCH_URL/_sql/translate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ssl/certificates": { @@ -57970,7 +58700,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ssl/certificates\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms/{id}": { @@ -58075,7 +58806,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -58176,7 +58908,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -58236,7 +58969,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms/{set_id}/{rule_id}": { @@ -58315,7 +59049,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -58417,7 +59152,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"synonyms\":\"hello, hi, howdy\"}' \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -58494,7 +59230,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms": { @@ -58588,7 +59325,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/_cancel": { @@ -58644,7 +59382,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks//_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/{task_id}/_cancel": { @@ -58703,7 +59442,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks//_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/{task_id}": { @@ -58815,7 +59555,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks?detailed=true&actions=*/delete/byquery\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks": { @@ -58952,7 +59693,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks?actions=*search&detailed\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_terms_enum": { @@ -59002,7 +59744,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"field\":\"tags\",\"string\":\"kiba\"}' \"$ELASTICSEARCH_URL/stackoverflow/_terms_enum\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -59050,7 +59793,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"field\":\"tags\",\"string\":\"kiba\"}' \"$ELASTICSEARCH_URL/stackoverflow/_terms_enum\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_termvectors/{id}": { @@ -59139,7 +59883,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -59226,7 +59971,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_termvectors": { @@ -59312,7 +60058,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -59396,7 +60143,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_text_structure/find_field_structure": { @@ -59662,7 +60410,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_text_structure/find_field_structure?index=test-logs&field=message\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_text_structure/find_message_structure": { @@ -59742,7 +60491,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"messages\":[\"[2024-03-05T10:52:36,256][INFO ][o.a.l.u.VectorUtilPanamaProvider] [laptop] Java vector incubator API enabled; uses preferredBitSize=128\",\"[2024-03-05T10:52:41,038][INFO ][o.e.p.PluginsService ] [laptop] loaded module [repository-url]\",\"[2024-03-05T10:52:41,042][INFO ][o.e.p.PluginsService ] [laptop] loaded module [rest-root]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-core]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-redact]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [ingest-user-agent]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-monitoring]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [repository-s3]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-analytics]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-ent-search]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-autoscaling]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [lang-painless]]\",\"[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService ] [laptop] loaded module [lang-expression]\",\"[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-eql]\",\"[2024-03-05T10:52:43,291][INFO ][o.e.e.NodeEnvironment ] [laptop] heap size [16gb], compressed ordinary object pointers [true]\",\"[2024-03-05T10:52:46,098][INFO ][o.e.x.s.Security ] [laptop] Security is enabled\",\"[2024-03-05T10:52:47,227][INFO ][o.e.x.p.ProfilingPlugin ] [laptop] Profiling is enabled\",\"[2024-03-05T10:52:47,259][INFO ][o.e.x.p.ProfilingPlugin ] [laptop] profiling index templates will not be installed or reinstalled\",\"[2024-03-05T10:52:47,755][INFO ][o.e.i.r.RecoverySettings ] [laptop] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]\",\"[2024-03-05T10:52:47,787][INFO ][o.e.d.DiscoveryModule ] [laptop] using discovery type [multi-node] and seed hosts providers [settings]\",\"[2024-03-05T10:52:49,188][INFO ][o.e.n.Node ] [laptop] initialized\",\"[2024-03-05T10:52:49,199][INFO ][o.e.n.Node ] [laptop] starting ...\"]}' \"$ELASTICSEARCH_URL/_text_structure/find_message_structure\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -59820,7 +60570,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"messages\":[\"[2024-03-05T10:52:36,256][INFO ][o.a.l.u.VectorUtilPanamaProvider] [laptop] Java vector incubator API enabled; uses preferredBitSize=128\",\"[2024-03-05T10:52:41,038][INFO ][o.e.p.PluginsService ] [laptop] loaded module [repository-url]\",\"[2024-03-05T10:52:41,042][INFO ][o.e.p.PluginsService ] [laptop] loaded module [rest-root]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-core]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-redact]\",\"[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService ] [laptop] loaded module [ingest-user-agent]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-monitoring]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [repository-s3]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-analytics]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-ent-search]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-autoscaling]\",\"[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService ] [laptop] loaded module [lang-painless]]\",\"[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService ] [laptop] loaded module [lang-expression]\",\"[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService ] [laptop] loaded module [x-pack-eql]\",\"[2024-03-05T10:52:43,291][INFO ][o.e.e.NodeEnvironment ] [laptop] heap size [16gb], compressed ordinary object pointers [true]\",\"[2024-03-05T10:52:46,098][INFO ][o.e.x.s.Security ] [laptop] Security is enabled\",\"[2024-03-05T10:52:47,227][INFO ][o.e.x.p.ProfilingPlugin ] [laptop] Profiling is enabled\",\"[2024-03-05T10:52:47,259][INFO ][o.e.x.p.ProfilingPlugin ] [laptop] profiling index templates will not be installed or reinstalled\",\"[2024-03-05T10:52:47,755][INFO ][o.e.i.r.RecoverySettings ] [laptop] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]\",\"[2024-03-05T10:52:47,787][INFO ][o.e.d.DiscoveryModule ] [laptop] using discovery type [multi-node] and seed hosts providers [settings]\",\"[2024-03-05T10:52:49,188][INFO ][o.e.n.Node ] [laptop] initialized\",\"[2024-03-05T10:52:49,199][INFO ][o.e.n.Node ] [laptop] starting ...\"]}' \"$ELASTICSEARCH_URL/_text_structure/find_message_structure\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_text_structure/find_structure": { @@ -60152,7 +60903,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"name\":\"Leviathan Wakes\",\"author\":\"James S.A. Corey\",\"release_date\":\"2011-06-02\",\"page_count\":561},{\"name\":\"Hyperion\",\"author\":\"Dan Simmons\",\"release_date\":\"1989-05-26\",\"page_count\":482},{\"name\":\"Dune\",\"author\":\"Frank Herbert\",\"release_date\":\"1965-06-01\",\"page_count\":604},{\"name\":\"Dune Messiah\",\"author\":\"Frank Herbert\",\"release_date\":\"1969-10-15\",\"page_count\":331},{\"name\":\"Children of Dune\",\"author\":\"Frank Herbert\",\"release_date\":\"1976-04-21\",\"page_count\":408},{\"name\":\"God Emperor of Dune\",\"author\":\"Frank Herbert\",\"release_date\":\"1981-05-28\",\"page_count\":454},{\"name\":\"Consider Phlebas\",\"author\":\"Iain M. Banks\",\"release_date\":\"1987-04-23\",\"page_count\":471},{\"name\":\"Pandora'\"'\"'s Star\",\"author\":\"Peter F. Hamilton\",\"release_date\":\"2004-03-02\",\"page_count\":768},{\"name\":\"Revelation Space\",\"author\":\"Alastair Reynolds\",\"release_date\":\"2000-03-15\",\"page_count\":585},{\"name\":\"A Fire Upon the Deep\",\"author\":\"Vernor Vinge\",\"release_date\":\"1992-06-01\",\"page_count\":613},{\"name\":\"Ender'\"'\"'s Game\",\"author\":\"Orson Scott Card\",\"release_date\":\"1985-06-01\",\"page_count\":324},{\"name\":\"1984\",\"author\":\"George Orwell\",\"release_date\":\"1985-06-01\",\"page_count\":328},{\"name\":\"Fahrenheit 451\",\"author\":\"Ray Bradbury\",\"release_date\":\"1953-10-15\",\"page_count\":227},{\"name\":\"Brave New World\",\"author\":\"Aldous Huxley\",\"release_date\":\"1932-06-01\",\"page_count\":268},{\"name\":\"Foundation\",\"author\":\"Isaac Asimov\",\"release_date\":\"1951-06-01\",\"page_count\":224},{\"name\":\"The Giver\",\"author\":\"Lois Lowry\",\"release_date\":\"1993-04-26\",\"page_count\":208},{\"name\":\"Slaughterhouse-Five\",\"author\":\"Kurt Vonnegut\",\"release_date\":\"1969-06-01\",\"page_count\":275},{\"name\":\"The Hitchhiker'\"'\"'s Guide to the Galaxy\",\"author\":\"Douglas Adams\",\"release_date\":\"1979-10-12\",\"page_count\":180},{\"name\":\"Snow Crash\",\"author\":\"Neal Stephenson\",\"release_date\":\"1992-06-01\",\"page_count\":470},{\"name\":\"Neuromancer\",\"author\":\"William Gibson\",\"release_date\":\"1984-07-01\",\"page_count\":271},{\"name\":\"The Handmaid'\"'\"'s Tale\",\"author\":\"Margaret Atwood\",\"release_date\":\"1985-06-01\",\"page_count\":311},{\"name\":\"Starship Troopers\",\"author\":\"Robert A. Heinlein\",\"release_date\":\"1959-12-01\",\"page_count\":335},{\"name\":\"The Left Hand of Darkness\",\"author\":\"Ursula K. Le Guin\",\"release_date\":\"1969-06-01\",\"page_count\":304},{\"name\":\"The Moon is a Harsh Mistress\",\"author\":\"Robert A. Heinlein\",\"release_date\":\"1966-04-01\",\"page_count\":288}]' \"$ELASTICSEARCH_URL/_text_structure/find_structure\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_text_structure/test_grok_pattern": { @@ -60205,7 +60957,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grok_pattern\":\"Hello %{WORD:first_name} %{WORD:last_name}\",\"text\":[\"Hello John Doe\",\"this does not match\"]}' \"$ELASTICSEARCH_URL/_text_structure/test_grok_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -60256,7 +61009,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grok_pattern\":\"Hello %{WORD:first_name} %{WORD:last_name}\",\"text\":[\"Hello John Doe\",\"this does not match\"]}' \"$ELASTICSEARCH_URL/_text_structure/test_grok_pattern\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}": { @@ -60315,7 +61069,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -60460,7 +61215,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\",\"query\":{\"term\":{\"geoip.continent_name\":{\"value\":\"Asia\"}}}},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}},\"description\":\"Maximum priced ecommerce data by customer_id in Asia\",\"dest\":{\"index\":\"kibana_sample_data_ecommerce_transform1\",\"pipeline\":\"add_timestamp_pipeline\"},\"frequency\":\"5m\",\"sync\":{\"time\":{\"field\":\"order_date\",\"delay\":\"60s\"}},\"retention_policy\":{\"time\":{\"field\":\"order_date\",\"max_age\":\"30d\"}}}' \"$ELASTICSEARCH_URL/_transform/ecommerce_transform1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -60556,7 +61312,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform": { @@ -60612,7 +61369,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_stats": { @@ -60735,7 +61493,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce-customer-transform/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_preview": { @@ -60788,7 +61547,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -60839,7 +61599,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/_preview": { @@ -60889,7 +61650,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -60937,7 +61699,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_reset": { @@ -61025,7 +61788,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_schedule_now": { @@ -61103,7 +61867,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_schedule_now\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_start": { @@ -61191,7 +61956,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce-customer-transform/_start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_stop": { @@ -61309,7 +62075,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_update": { @@ -61502,7 +62269,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\",\"query\":{\"term\":{\"geoip.continent_name\":{\"value\":\"Asia\"}}}},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}},\"description\":\"Maximum priced ecommerce data by customer_id in Asia\",\"dest\":{\"index\":\"kibana_sample_data_ecommerce_transform1\",\"pipeline\":\"add_timestamp_pipeline\"},\"frequency\":\"5m\",\"sync\":{\"time\":{\"field\":\"order_date\",\"delay\":\"60s\"}},\"retention_policy\":{\"time\":{\"field\":\"order_date\",\"max_age\":\"30d\"}}}' \"$ELASTICSEARCH_URL/_transform/simple-kibana-ecomm-pivot/_update\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/_upgrade": { @@ -61598,7 +62366,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/_upgrade\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_update/{id}": { @@ -61903,7 +62672,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"ctx._source.counter += params.count\",\"lang\":\"painless\",\"params\":{\"count\":4}}}' \"$ELASTICSEARCH_URL/test/_update/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_update_by_query": { @@ -62392,7 +63162,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_update_by_query?conflicts=proceed\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_update_by_query/{task_id}/_rethrottle": { @@ -62475,7 +63246,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_update_by_query/r1A2WoRbTwKZ516z6NEs5A:36619/_rethrottle?requests_per_second=-1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{watch_id}/_ack": { @@ -62522,7 +63294,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_ack\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -62567,7 +63340,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_ack\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{watch_id}/_ack/{action_id}": { @@ -62617,7 +63391,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_ack\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -62665,7 +63440,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_ack\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{watch_id}/_activate": { @@ -62715,7 +63491,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_activate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -62763,7 +63540,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_activate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{watch_id}/_deactivate": { @@ -62813,7 +63591,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_deactivate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -62861,7 +63640,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_deactivate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{id}": { @@ -62956,7 +63736,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -63016,7 +63797,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger\":{\"schedule\":{\"cron\":\"0 0/1 * * * ?\"}},\"input\":{\"search\":{\"request\":{\"indices\":[\"logstash*\"],\"body\":{\"query\":{\"bool\":{\"must\":{\"match\":{\"response\":404}},\"filter\":{\"range\":{\"@timestamp\":{\"from\":\"{{ctx.trigger.scheduled_time}}||-5m\",\"to\":\"{{ctx.trigger.triggered_time}}\"}}}}}}}}},\"condition\":{\"compare\":{\"ctx.payload.hits.total\":{\"gt\":0}}},\"actions\":{\"email_admin\":{\"email\":{\"to\":\"admin@domain.host.com\",\"subject\":\"404 recently encountered\"}}}}' \"$ELASTICSEARCH_URL/_watcher/watch/my-watch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -63076,7 +63858,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger\":{\"schedule\":{\"cron\":\"0 0/1 * * * ?\"}},\"input\":{\"search\":{\"request\":{\"indices\":[\"logstash*\"],\"body\":{\"query\":{\"bool\":{\"must\":{\"match\":{\"response\":404}},\"filter\":{\"range\":{\"@timestamp\":{\"from\":\"{{ctx.trigger.scheduled_time}}||-5m\",\"to\":\"{{ctx.trigger.triggered_time}}\"}}}}}}}}},\"condition\":{\"compare\":{\"ctx.payload.hits.total\":{\"gt\":0}}},\"actions\":{\"email_admin\":{\"email\":{\"to\":\"admin@domain.host.com\",\"subject\":\"404 recently encountered\"}}}}' \"$ELASTICSEARCH_URL/_watcher/watch/my-watch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -63158,7 +63941,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/watch/my_watch\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/{id}/_execute": { @@ -63211,7 +63995,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger_data\":{\"triggered_time\":\"now\",\"scheduled_time\":\"now\"},\"alternative_input\":{\"foo\":\"bar\"},\"ignore_condition\":true,\"action_modes\":{\"my-action\":\"force_simulate\"},\"record_execution\":true}' \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -63262,7 +64047,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger_data\":{\"triggered_time\":\"now\",\"scheduled_time\":\"now\"},\"alternative_input\":{\"foo\":\"bar\"},\"ignore_condition\":true,\"action_modes\":{\"my-action\":\"force_simulate\"},\"record_execution\":true}' \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/watch/_execute": { @@ -63312,7 +64098,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger_data\":{\"triggered_time\":\"now\",\"scheduled_time\":\"now\"},\"alternative_input\":{\"foo\":\"bar\"},\"ignore_condition\":true,\"action_modes\":{\"my-action\":\"force_simulate\"},\"record_execution\":true}' \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -63360,7 +64147,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"trigger_data\":{\"triggered_time\":\"now\",\"scheduled_time\":\"now\"},\"alternative_input\":{\"foo\":\"bar\"},\"ignore_condition\":true,\"action_modes\":{\"my-action\":\"force_simulate\"},\"record_execution\":true}' \"$ELASTICSEARCH_URL/_watcher/watch/my_watch/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/settings": { @@ -63435,7 +64223,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -63535,7 +64324,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index.auto_expand_replicas\":\"0-4\"}' \"$ELASTICSEARCH_URL/_watcher/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/_query/watches": { @@ -63580,7 +64370,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_query/watches\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -63623,7 +64414,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_query/watches\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/_start": { @@ -63690,7 +64482,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/stats": { @@ -63740,7 +64533,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/stats/{metric}": { @@ -63793,7 +64587,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/_stop": { @@ -63860,7 +64655,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_xpack": { @@ -63970,7 +64766,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_xpack\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_xpack/usage": { @@ -64145,7 +64942,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_xpack/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index c681a731aa..639c2c010c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -104,7 +104,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -164,7 +165,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_async_search/status/{id}": { @@ -253,7 +255,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_async_search/status/FmRldE8zREVEUzA2ZVpUeGs2ejJFUFEaMkZ5QTVrSTZSaVN3WlNFVmtlWHJsdzoxMDc=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_async_search": { @@ -429,7 +432,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[{\"date\":{\"order\":\"asc\"}}],\"aggs\":{\"sale_date\":{\"date_histogram\":{\"field\":\"date\",\"calendar_interval\":\"1d\"}}}}' \"$ELASTICSEARCH_URL/sales*/_async_search?size=0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_async_search": { @@ -608,7 +612,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[{\"date\":{\"order\":\"asc\"}}],\"aggs\":{\"sale_date\":{\"date_histogram\":{\"field\":\"date\",\"calendar_interval\":\"1d\"}}}}' \"$ELASTICSEARCH_URL/sales*/_async_search?size=0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_bulk": { @@ -694,7 +699,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -778,7 +784,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_bulk": { @@ -867,7 +874,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -954,7 +962,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{\"index\":{\"_index\":\"test\",\"_id\":\"1\"}},{\"field1\":\"value1\"},{\"delete\":{\"_index\":\"test\",\"_id\":\"2\"}},{\"create\":{\"_index\":\"test\",\"_id\":\"3\"}},{\"field1\":\"value3\"},{\"update\":{\"_id\":\"1\",\"_index\":\"test\"}},{\"doc\":{\"field2\":\"value2\"}}]' \"$ELASTICSEARCH_URL/_bulk\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/aliases": { @@ -1010,7 +1019,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/aliases?format=json&v=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/aliases/{name}": { @@ -1069,7 +1079,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/aliases?format=json&v=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/component_templates": { @@ -1125,7 +1136,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/component_templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/component_templates/{name}": { @@ -1184,7 +1196,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/component_templates/my-template-*?v=true&s=name&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/count": { @@ -1234,7 +1247,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/count/my-index-000001?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/count/{index}": { @@ -1287,7 +1301,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/count/my-index-000001?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat": { @@ -1310,7 +1325,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_cat/indices": { @@ -1381,7 +1397,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/indices/my-index-*?v=true&s=index&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/indices/{index}": { @@ -1455,7 +1472,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/indices/my-index-*?v=true&s=index&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/data_frame/analytics": { @@ -1514,7 +1532,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/data_frame/analytics?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/data_frame/analytics/{id}": { @@ -1576,7 +1595,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/data_frame/analytics?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/datafeeds": { @@ -1632,7 +1652,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/datafeeds?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/datafeeds/{datafeed_id}": { @@ -1691,7 +1712,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/datafeeds?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/anomaly_detectors": { @@ -1750,7 +1772,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/anomaly_detectors?h=id,s,dpr,mb&v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/anomaly_detectors/{job_id}": { @@ -1812,7 +1835,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/anomaly_detectors?h=id,s,dpr,mb&v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/trained_models": { @@ -1877,7 +1901,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/trained_models?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/ml/trained_models/{model_id}": { @@ -1945,7 +1970,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/ml/trained_models?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/transforms": { @@ -2007,7 +2033,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/transforms?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_cat/transforms/{transform_id}": { @@ -2072,7 +2099,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_cat/transforms?v=true&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/scroll": { @@ -2131,7 +2159,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -2188,7 +2217,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -2234,7 +2264,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/scroll/{scroll_id}": { @@ -2296,7 +2327,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -2356,7 +2388,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -2407,7 +2440,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scroll_id\":\"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\"}' \"$ELASTICSEARCH_URL/_search/scroll\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_pit": { @@ -2499,7 +2533,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"46ToAwMDaWR5BXV1aWQyKwZub2RlXzMAAAAAAAAAACoBYwADaWR4BXV1aWQxAgZub2RlXzEAAAAAAAAAAAEBYQADaWR5BXV1aWQyKgZub2RlXzIAAAAAAAAAAAwBYgACBXV1aWQyAAAFdXVpZDEAAQltYXRjaF9hbGw_gAAAAA==\"}' \"$ELASTICSEARCH_URL/_pit\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_component_template/{name}": { @@ -2558,7 +2593,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -2612,7 +2648,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"template\":null,\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}}' \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -2666,7 +2703,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"template\":null,\"settings\":{\"number_of_shards\":1},\"mappings\":{\"_source\":{\"enabled\":false},\"properties\":{\"host_name\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\",\"format\":\"EEE MMM dd HH:mm:ss Z yyyy\"}}}}' \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -2746,7 +2784,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -2796,7 +2835,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_component_template": { @@ -2852,7 +2892,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_component_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_info/{target}": { @@ -2937,7 +2978,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_info/_all\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_check_in": { @@ -3012,7 +3054,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector/_check_in\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}": { @@ -3084,7 +3127,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -3131,7 +3175,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"search-google-drive\",\"name\":\"My Connector\",\"service_type\":\"google_drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -3216,7 +3261,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/my-connector-id&delete_sync_jobs=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector": { @@ -3352,7 +3398,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -3394,7 +3441,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"search-google-drive\",\"name\":\"My Connector\",\"service_type\":\"google_drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -3456,7 +3504,8 @@ } } }, - "x-state": "Beta" + "x-state": "Beta", + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}/_cancel": { @@ -3526,7 +3575,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id/_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job/{connector_sync_job_id}": { @@ -3587,7 +3637,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -3652,7 +3703,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/_sync_job": { @@ -3778,7 +3830,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_connector/_sync_job?connector_id=my-connector-id&size=1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -3862,7 +3915,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"connector-id\",\"job_type\":\"full\",\"trigger_method\":\"on_demand\"}' \"$ELASTICSEARCH_URL/_connector/_sync_job\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering/_activate": { @@ -3906,7 +3960,8 @@ } } }, - "x-state": "Technical preview" + "x-state": "Technical preview", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_api_key_id": { @@ -4004,7 +4059,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"api_key_id\":\"my-api-key-id\",\"api_key_secret_id\":\"my-connector-secret-id\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_api_key_id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_configuration": { @@ -4108,7 +4164,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"values\":{\"tenant_id\":\"my-tenant-id\",\"tenant_name\":\"my-sharepoint-site\",\"client_id\":\"foo\",\"secret_value\":\"bar\",\"site_collections\":\"*\"}}' \"$ELASTICSEARCH_URL/_connector/my-spo-connector/_configuration\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_error": { @@ -4213,7 +4270,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"error\":\"Houston, we have a problem!\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_error\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering": { @@ -4323,7 +4381,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"field\":\"file_extension\",\"id\":\"exclude-txt-files\",\"order\":0,\"policy\":\"exclude\",\"rule\":\"equals\",\"value\":\"txt\"},{\"field\":\"_\",\"id\":\"DEFAULT\",\"order\":1,\"policy\":\"include\",\"rule\":\"regex\",\"value\":\".*\"}]}' \"$ELASTICSEARCH_URL/_connector/my-g-drive-connector/_filtering\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_filtering/_validation": { @@ -4385,7 +4444,8 @@ } } }, - "x-state": "Technical preview" + "x-state": "Technical preview", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_index_name": { @@ -4490,7 +4550,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_name\":\"data-from-my-google-drive\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_index_name\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_name": { @@ -4587,7 +4648,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"Custom connector\",\"description\":\"This is my customized connector\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_name\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_native": { @@ -4648,7 +4710,8 @@ } } }, - "x-state": "Beta" + "x-state": "Beta", + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_pipeline": { @@ -4746,7 +4809,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"extract_binary_content\":true,\"name\":\"my-connector-pipeline\",\"reduce_whitespace\":true,\"run_ml_inference\":true}}' \"$ELASTICSEARCH_URL/_connector/my-connector/_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_scheduling": { @@ -4846,7 +4910,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"scheduling\":{\"access_control\":{\"enabled\":true,\"interval\":\"0 10 0 * * ?\"},\"full\":{\"enabled\":true,\"interval\":\"0 20 0 * * ?\"},\"incremental\":{\"enabled\":false,\"interval\":\"0 30 0 * * ?\"}}}' \"$ELASTICSEARCH_URL/_connector/my-connector/_scheduling\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_service_type": { @@ -4943,7 +5008,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service_type\":\"sharepoint_online\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_service_type\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_connector/{connector_id}/_status": { @@ -5040,7 +5106,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"status\":\"needs_configuration\"}' \"$ELASTICSEARCH_URL/_connector/my-connector/_status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_count": { @@ -5129,7 +5196,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5216,7 +5284,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_count": { @@ -5308,7 +5377,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5398,7 +5468,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_count\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_create/{id}": { @@ -5493,7 +5564,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_create/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5586,7 +5658,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_create/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_doc/{id}": { @@ -5776,7 +5849,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/1?stored_fields=tags,counter\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -5866,7 +5940,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -5956,7 +6031,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -6113,7 +6189,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -6280,7 +6357,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_doc/0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_delete_by_query": { @@ -6749,7 +6827,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match_all\":{}}}' \"$ELASTICSEARCH_URL/my-index-000001,my-index-000002/_delete_by_query\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/{id}": { @@ -6836,7 +6915,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -6896,7 +6976,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -6956,7 +7037,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -7036,7 +7118,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy/{name}": { @@ -7086,7 +7169,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -7183,7 +7267,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"geo_match\":{\"indices\":\"postal_codes\",\"match_field\":\"location\",\"enrich_fields\":[\"location\",\"postal_code\"]}}' \"$ELASTICSEARCH_URL/_enrich/policy/postal_policy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -7253,7 +7338,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy/{name}/_execute": { @@ -7343,7 +7429,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy/_execute?wait_for_completion=false\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_enrich/policy": { @@ -7390,7 +7477,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_enrich/policy/my-policy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_eql/search/{id}": { @@ -7472,7 +7560,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=?wait_for_completion_timeout=2s\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -7532,7 +7621,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_eql/search/status/{id}": { @@ -7628,7 +7718,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_eql/search/status/FmNJRUZ1YWZCU3dHY1BIOUhaenVSRkEaaXFlZ3h4c1RTWFNocDdnY2FSaERnUTozNDE=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_eql/search": { @@ -7705,7 +7796,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n process where (process.name == \\\"cmd.exe\\\" and process.pid != 2013)\\n \"}' \"$ELASTICSEARCH_URL/my-data-stream/_eql/search\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -7780,7 +7872,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n process where (process.name == \\\"cmd.exe\\\" and process.pid != 2013)\\n \"}' \"$ELASTICSEARCH_URL/my-data-stream/_eql/search\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query": { @@ -7924,7 +8017,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"\\n FROM library,remote-*:library\\n | EVAL year = DATE_TRUNC(1 YEARS, release_date)\\n | STATS MAX(page_count) BY year\\n | SORT year\\n | LIMIT 5\\n \",\"include_ccs_metadata\":true}' \"$ELASTICSEARCH_URL/_query\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_source/{id}": { @@ -8100,7 +8194,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_source/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -8260,7 +8355,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_source/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_explain/{id}": { @@ -8349,7 +8445,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"message\":\"elasticsearch\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_explain/0\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8436,7 +8533,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"message\":\"elasticsearch\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_explain/0\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_field_caps": { @@ -8507,7 +8605,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8576,7 +8675,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_field_caps": { @@ -8650,7 +8750,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8722,7 +8823,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_filter\":{\"range\":{\"@timestamp\":{\"gte\":\"2018\"}}}}' \"$ELASTICSEARCH_URL/my-index-*/_field_caps?fields=rating\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_graph/explore": { @@ -8781,7 +8883,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"query.raw\":\"midi\"}},\"vertices\":[{\"field\":\"product\"}],\"connections\":{\"vertices\":[{\"field\":\"query.raw\"}]}}' \"$ELASTICSEARCH_URL/clicklogs/_graph/explore\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -8838,7 +8941,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"match\":{\"query.raw\":\"midi\"}},\"vertices\":[{\"field\":\"product\"}],\"connections\":{\"vertices\":[{\"field\":\"query.raw\"}]}}' \"$ELASTICSEARCH_URL/clicklogs/_graph/explore\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_doc": { @@ -8927,7 +9031,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"@timestamp\":\"2099-11-15T13:12:00\",\"message\":\"GET /search HTTP/1.1 200 1070000\",\"user\":{\"id\":\"kimchy\"}}' \"$ELASTICSEARCH_URL/my-index-000001/_doc/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_block/{block}": { @@ -9075,7 +9180,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_block/write\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_analyze": { @@ -9128,7 +9234,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -9179,7 +9286,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_analyze": { @@ -9235,7 +9343,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -9289,7 +9398,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analyzer\":\"standard\",\"text\":\"this is a test\"}' \"$ELASTICSEARCH_URL/_analyze\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}": { @@ -9434,7 +9544,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -9581,7 +9692,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"settings\":{\"number_of_shards\":3,\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -9691,7 +9803,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -9807,7 +9920,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}": { @@ -9866,7 +9980,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -9946,7 +10061,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/logs-foo-bar\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -10026,7 +10142,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias/{name}": { @@ -10088,7 +10205,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -10145,7 +10263,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10202,7 +10321,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -10256,7 +10376,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -10316,7 +10437,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_aliases/{name}": { @@ -10375,7 +10497,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10432,7 +10555,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"my-data-stream\",\"alias\":\"my-alias\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -10486,7 +10610,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/{name}": { @@ -10545,7 +10670,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/*?filter_path=index_templates.name,index_templates.index_template.index_patterns,index_templates.index_template.data_stream\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -10602,7 +10728,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"template*\"],\"priority\":1,\"template\":{\"settings\":{\"number_of_shards\":2}}}' \"$ELASTICSEARCH_URL/_index_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -10659,7 +10786,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"template*\"],\"priority\":1,\"template\":{\"settings\":{\"number_of_shards\":2}}}' \"$ELASTICSEARCH_URL/_index_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -10739,7 +10867,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/my-index-template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -10799,7 +10928,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_alias/{name}": { @@ -10858,7 +10988,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -10915,7 +11046,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_lifecycle/explain": { @@ -11020,7 +11152,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/.ds-metrics-2023.03.22-000001/_lifecycle/explain\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_alias": { @@ -11076,7 +11209,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias": { @@ -11135,7 +11269,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_lifecycle": { @@ -11244,7 +11379,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/%7Bname%7D/_lifecycle?human&pretty\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11372,7 +11508,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"data_retention\":\"7d\"}' \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_lifecycle\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream": { @@ -11428,7 +11565,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template": { @@ -11484,7 +11622,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/*?filter_path=index_templates.name,index_templates.index_template.index_patterns,index_templates.index_template.data_stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mapping": { @@ -11543,7 +11682,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mapping": { @@ -11605,7 +11745,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11674,7 +11815,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"properties\":{\"user\":{\"properties\":{\"name\":{\"type\":\"keyword\"}}}}}' \"$ELASTICSEARCH_URL/my-index-000001/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -11743,7 +11885,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"properties\":{\"user\":{\"properties\":{\"name\":{\"type\":\"keyword\"}}}}}' \"$ELASTICSEARCH_URL/my-index-000001/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_settings": { @@ -11808,7 +11951,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11880,7 +12024,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":{\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_settings": { @@ -11948,7 +12093,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -12023,7 +12169,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":{\"number_of_replicas\":2}}' \"$ELASTICSEARCH_URL/my-index-000001/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_settings/{name}": { @@ -12094,7 +12241,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_settings/{name}": { @@ -12162,7 +12310,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_all/_settings?expand_wildcards=all&filter_path=*.settings.index.*.slowlog\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_migrate/{name}": { @@ -12244,7 +12393,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/_migrate/my-time-series-data\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/_modify": { @@ -12321,7 +12471,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"remove_backing_index\":{\"data_stream\":\"my-data-stream\",\"index\":\".ds-my-data-stream-2023.07.26-000001\"}},{\"add_backing_index\":{\"data_stream\":\"my-data-stream\",\"index\":\".ds-my-data-stream-2023.07.26-000001-downsample\"}}]}' \"$ELASTICSEARCH_URL/_data_stream/_modify\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_refresh": { @@ -12374,7 +12525,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -12425,7 +12577,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_refresh": { @@ -12481,7 +12634,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -12535,7 +12689,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_resolve/index/{name}": { @@ -12658,7 +12813,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_resolve/index/f*,remoteCluster1:bar*?expand_wildcards=all\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{alias}/_rollover": { @@ -12723,7 +12879,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"conditions\":{\"max_age\":\"7d\",\"max_docs\":1000,\"max_primary_shard_size\":\"50gb\",\"max_primary_shard_docs\":\"2000\"}}' \"$ELASTICSEARCH_URL/my-data-stream/_rollover\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{alias}/_rollover/{new_index}": { @@ -12791,7 +12948,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"conditions\":{\"max_age\":\"7d\",\"max_docs\":1000,\"max_primary_shard_size\":\"50gb\",\"max_primary_shard_docs\":\"2000\"}}' \"$ELASTICSEARCH_URL/my-data-stream/_rollover\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate_index/{name}": { @@ -12913,7 +13071,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_index_template/_simulate_index/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate": { @@ -12972,7 +13131,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"my-index-*\"],\"composed_of\":[\"ct2\"],\"priority\":10,\"template\":{\"settings\":{\"index.number_of_replicas\":1}}}' \"$ELASTICSEARCH_URL/_index_template/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template/_simulate/{name}": { @@ -13034,7 +13194,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index_patterns\":[\"my-index-*\"],\"composed_of\":[\"ct2\"],\"priority\":10,\"template\":{\"settings\":{\"index.number_of_replicas\":1}}}' \"$ELASTICSEARCH_URL/_index_template/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_aliases": { @@ -13130,7 +13291,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"actions\":[{\"add\":{\"index\":\"logs-nginx.access-prod\",\"alias\":\"logs\"}}]}' \"$ELASTICSEARCH_URL/_aliases\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_validate/query": { @@ -13213,7 +13375,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -13294,7 +13457,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_validate/query": { @@ -13380,7 +13544,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -13464,7 +13629,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_validate/query?q=user.id:kimchy\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_inference/chat_completion/{inference_id}/_stream": { @@ -13569,7 +13735,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"model\":\"gpt-4o\",\"messages\":[{\"role\":\"user\",\"content\":\"What is Elastic?\"}]}' \"$ELASTICSEARCH_URL/_inference/chat_completion/openai-completion/_stream\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/completion/{inference_id}": { @@ -13685,7 +13852,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"What is Elastic?\"}' \"$ELASTICSEARCH_URL/_inference/completion/openai_chat_completions\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{inference_id}": { @@ -13731,7 +13899,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -13779,7 +13948,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"model_id\":\"rerank-english-v3.0\",\"api_key\":\"{{COHERE_API_KEY}}\"}}' \"$ELASTICSEARCH_URL/_inference/rerank/my-rerank-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -13804,7 +13974,8 @@ "$ref": "#/components/responses/inference.inference-200" } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -13854,7 +14025,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{inference_id}": { @@ -13903,7 +14075,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -13954,7 +14127,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"model_id\":\"rerank-english-v3.0\",\"api_key\":\"{{COHERE_API_KEY}}\"}}' \"$ELASTICSEARCH_URL/_inference/rerank/my-rerank-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -13982,7 +14156,8 @@ "$ref": "#/components/responses/inference.inference-200" } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -14035,7 +14210,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference": { @@ -14076,7 +14252,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{alibabacloud_inference_id}": { @@ -14198,7 +14375,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"alibabacloud-ai-search\",\"service_settings\":{\"host\":\"default-j01.platform-cn-shanghai.opensearch.aliyuncs.com\",\"api_key\":\"AlibabaCloud-API-Key\",\"service_id\":\"ops-qwen-turbo\",\"workspace\":\"default\"}}' \"$ELASTICSEARCH_URL/_inference/completion/alibabacloud_ai_search_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{amazonbedrock_inference_id}": { @@ -14310,7 +14488,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"amazonbedrock\",\"service_settings\":{\"access_key\":\"AWS-access-key\",\"secret_key\":\"AWS-secret-key\",\"region\":\"us-east-1\",\"provider\":\"amazontitan\",\"model\":\"amazon.titan-embed-text-v2:0\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/amazon_bedrock_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{anthropic_inference_id}": { @@ -14416,7 +14595,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"anthropic\",\"service_settings\":{\"api_key\":\"Anthropic-Api-Key\",\"model_id\":\"Model-ID\"},\"task_settings\":{\"max_tokens\":1024}}' \"$ELASTICSEARCH_URL/_inference/completion/anthropic_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{azureaistudio_inference_id}": { @@ -14528,7 +14708,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"azureaistudio\",\"service_settings\":{\"api_key\":\"Azure-AI-Studio-API-key\",\"target\":\"Target-Uri\",\"provider\":\"openai\",\"endpoint_type\":\"token\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/azure_ai_studio_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{azureopenai_inference_id}": { @@ -14640,7 +14821,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"azureopenai\",\"service_settings\":{\"api_key\":\"Api-Key\",\"resource_name\":\"Resource-name\",\"deployment_id\":\"Deployment-id\",\"api_version\":\"2024-02-01\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/azure_openai_embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{cohere_inference_id}": { @@ -14752,7 +14934,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"cohere\",\"service_settings\":{\"api_key\":\"Cohere-Api-key\",\"model_id\":\"embed-english-light-v3.0\",\"embedding_type\":\"byte\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/cohere-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{elasticsearch_inference_id}": { @@ -14890,7 +15073,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"elasticsearch\",\"service_settings\":{\"adaptive_allocations\":{\"enabled\":true,\"min_number_of_allocations\":1,\"max_number_of_allocations\":4},\"num_threads\":1,\"model_id\":\".elser_model_2\"}}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{elser_inference_id}": { @@ -15006,7 +15190,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"elser\",\"service_settings\":{\"num_allocations\":1,\"num_threads\":1}}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{googleaistudio_inference_id}": { @@ -15110,7 +15295,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"googleaistudio\",\"service_settings\":{\"api_key\":\"api-key\",\"model_id\":\"model-id\"}}' \"$ELASTICSEARCH_URL/_inference/completion/google_ai_studio_completion\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{googlevertexai_inference_id}": { @@ -15222,7 +15408,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"googlevertexai\",\"service_settings\":{\"service_account_json\":\"service-account-json\",\"model_id\":\"model-id\",\"location\":\"location\",\"project_id\":\"project-id\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/google_vertex_ai_embeddingss\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{huggingface_inference_id}": { @@ -15326,7 +15513,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"hugging_face\",\"service_settings\":{\"api_key\":\"hugging-face-access-token\",\"url\":\"url-endpoint\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/hugging-face-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{jinaai_inference_id}": { @@ -15438,7 +15626,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"jinaai\",\"service_settings\":{\"model_id\":\"jina-embeddings-v3\",\"api_key\":\"JinaAi-Api-key\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/jinaai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{mistral_inference_id}": { @@ -15541,7 +15730,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"mistral\",\"service_settings\":{\"api_key\":\"Mistral-API-Key\",\"model\":\"mistral-embed\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/mistral-embeddings-test\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{openai_inference_id}": { @@ -15653,7 +15843,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"openai\",\"service_settings\":{\"api_key\":\"OpenAI-API-Key\",\"model_id\":\"text-embedding-3-small\",\"dimensions\":128}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/openai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{voyageai_inference_id}": { @@ -15765,7 +15956,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"voyageai\",\"service_settings\":{\"model_id\":\"voyage-3-large\",\"dimensions\":512}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/openai-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/{task_type}/{watsonx_inference_id}": { @@ -15865,7 +16057,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"service\":\"watsonxai\",\"service_settings\":{\"api_key\":\"Watsonx-API-Key\",\"url\":\"Wastonx-URL\",\"model_id\":\"ibm/slate-30m-english-rtrvr\",\"project_id\":\"IBM-Cloud-ID\",\"api_version\":\"2024-03-14\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/watsonx-embeddings\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/rerank/{inference_id}": { @@ -15987,7 +16180,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":[\"luke\",\"like\",\"leia\",\"chewy\",\"r2d2\",\"star\",\"wars\"],\"query\":\"star wars main character\"}' \"$ELASTICSEARCH_URL/_inference/rerank/cohere_rerank\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/sparse_embedding/{inference_id}": { @@ -16103,7 +16297,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"The sky above the port was the color of television tuned to a dead channel.\"}' \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_inference/text_embedding/{inference_id}": { @@ -16219,7 +16414,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"input\":\"The sky above the port was the color of television tuned to a dead channel.\",\"task_settings\":{\"input_type\":\"ingest\"}}' \"$ELASTICSEARCH_URL/_inference/text_embedding/my-cohere-endpoint\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/": { @@ -16298,7 +16494,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -16315,7 +16512,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/{id}": { @@ -16371,7 +16569,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -16515,7 +16714,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"My optional pipeline description\",\"processors\":[{\"set\":{\"description\":\"My optional processor description\",\"field\":\"my-keyword-field\",\"value\":\"foo\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -16598,7 +16798,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline": { @@ -16651,7 +16852,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/processor/grok": { @@ -16714,7 +16916,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ingest/processor/grok\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/_simulate": { @@ -16764,7 +16967,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -16812,7 +17016,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/{id}/_simulate": { @@ -16865,7 +17070,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -16916,7 +17122,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"pipeline\":{\"description\":\"_description\",\"processors\":[{\"set\":{\"field\":\"field2\",\"value\":\"_value\"}}]},\"docs\":[{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"bar\"}},{\"_index\":\"index\",\"_id\":\"id\",\"_source\":{\"foo\":\"rab\"}}]}' \"$ELASTICSEARCH_URL/_ingest/pipeline/_simulate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license": { @@ -17001,7 +17208,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_logstash/pipeline/{id}": { @@ -17051,7 +17259,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" }, "put": { "tags": [ @@ -17127,7 +17336,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Sample pipeline for illustration purposes\",\"last_modified\":\"2021-01-02T02:50:51.250Z\",\"pipeline_metadata\":{\"type\":\"logstash_pipeline\",\"version\":1},\"username\":\"elastic\",\"pipeline\":\"input {}\\\\n filter { grok {} }\\\\n output {}\",\"pipeline_settings\":{\"pipeline.workers\":1,\"pipeline.batch.size\":125,\"pipeline.batch.delay\":50,\"queue.type\":\"memory\",\"queue.max_bytes\":\"1gb\",\"queue.checkpoint.writes\":1024}}' \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" }, "delete": { "tags": [ @@ -17186,7 +17396,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" } }, "/_logstash/pipeline": { @@ -17231,7 +17442,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline\"" } - ] + ], + "x-product-feature": "elasticsearch, logstash" } }, "/_mget": { @@ -17302,7 +17514,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -17371,7 +17584,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mget": { @@ -17445,7 +17659,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -17517,7 +17732,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"1\"},{\"_id\":\"2\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mget\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ml/anomaly_detectors/{job_id}/_close": { @@ -17645,7 +17861,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_close\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}": { @@ -17701,7 +17918,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -17799,7 +18017,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -17853,7 +18072,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -17919,7 +18139,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/events/{event_id}": { @@ -17997,7 +18218,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events/LS8LJGEBMTCMA-qz49st\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/jobs/{job_id}": { @@ -18086,7 +18308,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/jobs/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -18179,7 +18402,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/jobs/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}": { @@ -18238,7 +18462,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -18410,7 +18635,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":[\"kibana_sample_data_flights\"],\"query\":{\"range\":{\"DistanceKilometers\":{\"gt\":0}}},\"_source\":{\"includes\":[],\"excludes\":[\"FlightDelay\",\"FlightDelayType\"]}},\"dest\":{\"index\":\"df-flight-delays\",\"results_field\":\"ml-results\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"FlightDelayMin\",\"training_percent\":90}},\"analyzed_fields\":{\"includes\":[],\"excludes\":[\"FlightNum\"]},\"model_memory_limit\":\"100mb\"}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/model-flight-delays-pre\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -18496,7 +18722,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}": { @@ -18549,7 +18776,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -18784,7 +19012,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":[\"kibana_sample_data_logs\"],\"query\":{\"bool\":{\"must\":[{\"match_all\":{}}]}},\"job_id\":\"test-job\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-test-job?pretty\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -18860,7 +19089,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters/{filter_id}": { @@ -18913,7 +19143,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -19021,7 +19252,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"A list of safe domains\",\"items\":[\"*.google.com\",\"wikipedia.org\"]}' \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -19087,7 +19319,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}": { @@ -19140,7 +19373,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -19404,7 +19638,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analysis_config\":{\"bucket_span\":\"15m\",\"detectors\":[{\"detector_description\":\"Sum of bytes\",\"function\":\"sum\",\"field_name\":\"bytes\"}]},\"data_description\":{\"time_field\":\"timestamp\",\"time_format\":\"epoch_ms\"},\"analysis_limits\":{\"model_memory_limit\":\"11MB\"},\"model_plot_config\":{\"enabled\":true,\"annotations_enabled\":true},\"results_index_name\":\"test-job1\",\"datafeed_config\":{\"indices\":[\"kibana_sample_data_logs\"],\"query\":{\"bool\":{\"must\":[{\"match_all\":{}}]}},\"runtime_mappings\":{\"hour_of_day\":{\"type\":\"long\",\"script\":{\"source\":\"emit(doc['\"'\"'timestamp'\"'\"'].value.getHour());\"}}},\"datafeed_id\":\"datafeed-test-job1\"}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-01\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -19506,7 +19741,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}": { @@ -19574,7 +19810,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "put": { "tags": [ @@ -19682,7 +19919,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -19768,7 +20006,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/regression-job-one-1574775307356\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { @@ -19851,7 +20090,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/flight-delay-prediction-1574775339910/model_aliases/flight_delay_model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -19928,7 +20168,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/flight-delay-prediction-1574775339910/model_aliases/flight_delay_model\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/_estimate_model_memory": { @@ -20026,7 +20267,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"analysis_config\":{\"bucket_span\":\"5m\",\"detectors\":[{\"function\":\"sum\",\"field_name\":\"bytes\",\"by_field_name\":\"status\",\"partition_field_name\":\"app\"}],\"influencers\":[\"source_ip\",\"dest_ip\"]},\"overall_cardinality\":{\"status\":10,\"app\":50},\"max_bucket_cardinality\":{\"source_ip\":300,\"dest_ip\":30}}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/_estimate_model_memory\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/_evaluate": { @@ -20155,7 +20397,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index\":\"animal_classification\",\"evaluation\":{\"classification\":{\"actual_field\":\"animal_class\",\"predicted_field\":\"ml.animal_class_prediction\",\"metrics\":{\"multiclass_confusion_matrix\":{}}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/_evaluate\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_flush": { @@ -20312,7 +20555,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"calc_interim\":true}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars/{calendar_id}/events": { @@ -20439,7 +20683,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -20538,7 +20783,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"events\":[{\"description\":\"event 1\",\"start_time\":1513641600000,\"end_time\":1513728000000},{\"description\":\"event 2\",\"start_time\":1513814400000,\"end_time\":1513900800000},{\"description\":\"event 3\",\"start_time\":1514160000000,\"end_time\":1514246400000}]}' \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages/events\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/calendars": { @@ -20591,7 +20837,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -20642,7 +20889,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/calendars/planned-outages\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics": { @@ -20698,7 +20946,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/_stats": { @@ -20754,7 +21003,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/weblog-outliers/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_stats": { @@ -20813,7 +21063,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/weblog-outliers/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_stats": { @@ -20863,7 +21114,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/_stats": { @@ -20910,7 +21162,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds": { @@ -20960,7 +21213,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters": { @@ -21010,7 +21264,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/filters/safe_domains\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/_stats": { @@ -21057,7 +21312,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_stats": { @@ -21107,7 +21363,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors": { @@ -21157,7 +21414,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/high_sum_total_sales\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { @@ -21228,7 +21486,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"overall_score\":80,\"start\":\"1403532000000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-*/results/overall_buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -21297,7 +21556,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"overall_score\":80,\"start\":\"1403532000000\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-*/results/overall_buckets\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models": { @@ -21362,7 +21622,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/_stats": { @@ -21418,7 +21679,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/_stats": { @@ -21471,7 +21733,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/_infer": { @@ -21587,7 +21850,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"text\":\"The fool doth think he is wise, but the wise man knows himself to be a fool.\"}]}' \"$ELASTICSEARCH_URL/_ml/trained_models/lang_ident_model_1/_infer\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_open": { @@ -21697,7 +21961,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"timeout\":\"35m\"}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/job-01/_open\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/_preview": { @@ -21742,7 +22007,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -21785,7 +22051,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_preview": { @@ -21835,7 +22102,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -21883,7 +22151,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"config\":{\"source\":{\"index\":\"houses_sold_last_10_yrs\"},\"analysis\":{\"regression\":{\"dependent_variable\":\"price\"}}}}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_preview": { @@ -21939,7 +22208,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -21993,7 +22263,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/_preview": { @@ -22046,7 +22317,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" }, "post": { "tags": [ @@ -22097,7 +22369,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-high_sum_total_sales/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/definition/{part}": { @@ -22205,7 +22478,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"definition\":\"...\",\"total_definition_length\":265632637,\"total_parts\":64}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/definition/0\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/vocabulary": { @@ -22311,7 +22585,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"vocabulary\":[\"[PAD]\",\"[unused0]\"]}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/vocabulary\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_reset": { @@ -22393,7 +22668,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_start": { @@ -22477,7 +22753,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_start\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_start": { @@ -22608,7 +22885,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"start\":\"2019-04-07T18:22:16Z\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-low_request_rate/_start\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_start": { @@ -22762,7 +23040,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/deployment/_start?wait_for=started&timeout=1m\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_stop": { @@ -22862,7 +23141,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_stop": { @@ -22990,7 +23270,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"timeout\":\"30s\"}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-low_request_rate/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_stop": { @@ -23080,7 +23361,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ml/trained_models/my_model_for_search/deployment/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/data_frame/analytics/{id}/_update": { @@ -23225,7 +23507,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"model_memory_limit\":\"200mb\"}' \"$ELASTICSEARCH_URL/_ml/data_frame/analytics/loganalytics/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/datafeeds/{datafeed_id}/_update": { @@ -23463,7 +23746,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"geo.src\":\"US\"}}}' \"$ELASTICSEARCH_URL/_ml/datafeeds/datafeed-test-job/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/filters/{filter_id}/_update": { @@ -23580,7 +23864,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Updated list of domains\",\"add_items\":[\"*.myorg.com\"],\"remove_items\":[\"wikipedia.org\"]}' \"$ELASTICSEARCH_URL/_ml/filters/safe_domains/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/anomaly_detectors/{job_id}/_update": { @@ -23810,7 +24095,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"An updated job\",\"detectors\":{\"detector_index\":0,\"description\":\"An updated detector description\"},\"groups\":[\"kibana_sample_data\",\"kibana_sample_web_logs\"],\"model_plot_config\":{\"enabled\":true},\"renormalization_window_days\":30,\"background_persist_interval\":\"2h\",\"model_snapshot_retention_days\":7,\"results_retention_days\":60}' \"$ELASTICSEARCH_URL/_ml/anomaly_detectors/low_request_rate/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_ml/trained_models/{model_id}/deployment/_update": { @@ -23914,7 +24200,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"number_of_allocations\":4}' \"$ELASTICSEARCH_URL/_ml/trained_models/elastic__distilbert-base-uncased-finetuned-conll03-english/deployment/_update\"" } - ] + ], + "x-product-feature": "elasticsearch, machine-learning" } }, "/_msearch": { @@ -24000,7 +24287,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24084,7 +24372,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_msearch": { @@ -24173,7 +24462,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24260,7 +24550,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"query\":{\"match\":{\"message\":\"this is a test\"}}},{\"index\":\"my-index-000002\"},{\"query\":{\"match_all\":{}}}]' \"$ELASTICSEARCH_URL/my-index-000001/_msearch\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_msearch/template": { @@ -24325,7 +24616,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24388,7 +24680,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_msearch/template": { @@ -24456,7 +24749,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24522,7 +24816,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '[{},{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}},{},{\"id\":\"my-other-search-template\",\"params\":{\"query_type\":\"match_all\"}}]' \"$ELASTICSEARCH_URL/my-index/_msearch/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mtermvectors": { @@ -24605,7 +24900,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24686,7 +24982,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mtermvectors": { @@ -24772,7 +25069,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -24856,7 +25154,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"docs\":[{\"_id\":\"2\",\"fields\":[\"message\"],\"term_statistics\":true},{\"_id\":\"1\"}]}' \"$ELASTICSEARCH_URL/my-index-000001/_mtermvectors\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_pit": { @@ -25021,7 +25320,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_pit?keep_alive=1m&allow_partial_search_results=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/{id}/{context}": { @@ -25086,70 +25386,72 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" } - ] - }, - "post": { - "tags": [ - "script" ], - "summary": "Create or update a script or search template", - "description": "Creates or updates a stored script or search template.\n\n## Required authorization\n\n* Cluster privileges: `manage`\n", - "externalDocs": { - "url": "https://www.elastic.co/docs/solutions/search/search-templates" - }, - "operationId": "put-script-3", - "parameters": [ - { - "$ref": "#/components/parameters/put_script-id" - }, - { - "$ref": "#/components/parameters/put_script-context" - }, - { - "$ref": "#/components/parameters/put_script-context_" - }, - { - "$ref": "#/components/parameters/put_script-master_timeout" - }, - { - "$ref": "#/components/parameters/put_script-timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/put_script" - }, - "responses": { - "200": { - "$ref": "#/components/responses/put_script-200" - } - }, - "x-state": "Generally available", - "x-codeSamples": [ - { - "lang": "Console", - "source": "PUT _scripts/my-search-template\n{\n \"script\": {\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n }\n}" - }, - { - "lang": "Python", - "source": "resp = client.put_script(\n id=\"my-search-template\",\n script={\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n },\n)" - }, - { - "lang": "JavaScript", - "source": "const response = await client.putScript({\n id: \"my-search-template\",\n script: {\n lang: \"mustache\",\n source: {\n query: {\n match: {\n message: \"{{query_string}}\",\n },\n },\n from: \"{{from}}\",\n size: \"{{size}}\",\n },\n },\n});" - }, - { - "lang": "Ruby", - "source": "response = client.put_script(\n id: \"my-search-template\",\n body: {\n \"script\": {\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n }\n }\n)" - }, - { - "lang": "PHP", - "source": "$resp = $client->putScript([\n \"id\" => \"my-search-template\",\n \"body\" => [\n \"script\" => [\n \"lang\" => \"mustache\",\n \"source\" => [\n \"query\" => [\n \"match\" => [\n \"message\" => \"{{query_string}}\",\n ],\n ],\n \"from\" => \"{{from}}\",\n \"size\" => \"{{size}}\",\n ],\n ],\n ],\n]);" - }, - { - "lang": "curl", - "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" - } - ] + "x-product-feature": "elasticsearch" + }, + "post": { + "tags": [ + "script" + ], + "summary": "Create or update a script or search template", + "description": "Creates or updates a stored script or search template.\n\n## Required authorization\n\n* Cluster privileges: `manage`\n", + "externalDocs": { + "url": "https://www.elastic.co/docs/solutions/search/search-templates" + }, + "operationId": "put-script-3", + "parameters": [ + { + "$ref": "#/components/parameters/put_script-id" + }, + { + "$ref": "#/components/parameters/put_script-context" + }, + { + "$ref": "#/components/parameters/put_script-context_" + }, + { + "$ref": "#/components/parameters/put_script-master_timeout" + }, + { + "$ref": "#/components/parameters/put_script-timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script-200" + } + }, + "x-state": "Generally available", + "x-codeSamples": [ + { + "lang": "Console", + "source": "PUT _scripts/my-search-template\n{\n \"script\": {\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n }\n}" + }, + { + "lang": "Python", + "source": "resp = client.put_script(\n id=\"my-search-template\",\n script={\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n },\n)" + }, + { + "lang": "JavaScript", + "source": "const response = await client.putScript({\n id: \"my-search-template\",\n script: {\n lang: \"mustache\",\n source: {\n query: {\n match: {\n message: \"{{query_string}}\",\n },\n },\n from: \"{{from}}\",\n size: \"{{size}}\",\n },\n },\n});" + }, + { + "lang": "Ruby", + "source": "response = client.put_script(\n id: \"my-search-template\",\n body: {\n \"script\": {\n \"lang\": \"mustache\",\n \"source\": {\n \"query\": {\n \"match\": {\n \"message\": \"{{query_string}}\"\n }\n },\n \"from\": \"{{from}}\",\n \"size\": \"{{size}}\"\n }\n }\n }\n)" + }, + { + "lang": "PHP", + "source": "$resp = $client->putScript([\n \"id\" => \"my-search-template\",\n \"body\" => [\n \"script\" => [\n \"lang\" => \"mustache\",\n \"source\" => [\n \"query\" => [\n \"match\" => [\n \"message\" => \"{{query_string}}\",\n ],\n ],\n \"from\" => \"{{from}}\",\n \"size\" => \"{{size}}\",\n ],\n ],\n ],\n]);" + }, + { + "lang": "curl", + "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"lang\":\"mustache\",\"source\":{\"query\":{\"match\":{\"message\":\"{{query_string}}\"}},\"from\":\"{{from}}\",\"size\":\"{{size}}\"}}}' \"$ELASTICSEARCH_URL/_scripts/my-search-template\"" + } + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}/_rule/{rule_id}": { @@ -25231,7 +25533,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_rule/my-rule1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -25356,7 +25659,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"match_criteria\":{\"query_string\":\"puggles\"}}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_test\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -25427,7 +25731,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/_rule/my-rule1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}": { @@ -25495,7 +25800,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -25600,7 +25906,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"rule_id\":\"my-rule1\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"contains\",\"metadata\":\"user_query\",\"values\":[\"pugs\",\"puggles\"]},{\"type\":\"exact\",\"metadata\":\"user_country\",\"values\":[\"us\"]}],\"actions\":{\"ids\":[\"id1\",\"id2\"]}},{\"rule_id\":\"my-rule2\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"fuzzy\",\"metadata\":\"user_query\",\"values\":[\"rescue dogs\"]}],\"actions\":{\"docs\":[{\"_index\":\"index1\",\"_id\":\"id3\"},{\"_index\":\"index2\",\"_id\":\"id4\"}]}}]}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -25660,7 +25967,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/my-ruleset/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules": { @@ -25752,7 +26060,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query_rules/?from=0&size=3\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query_rules/{ruleset_id}/_test": { @@ -25863,7 +26172,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"rules\":[{\"rule_id\":\"my-rule1\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"contains\",\"metadata\":\"user_query\",\"values\":[\"pugs\",\"puggles\"]},{\"type\":\"exact\",\"metadata\":\"user_country\",\"values\":[\"us\"]}],\"actions\":{\"ids\":[\"id1\",\"id2\"]}},{\"rule_id\":\"my-rule2\",\"type\":\"pinned\",\"criteria\":[{\"type\":\"fuzzy\",\"metadata\":\"user_query\",\"values\":[\"rescue dogs\"]}],\"actions\":{\"docs\":[{\"_index\":\"index1\",\"_id\":\"id3\"},{\"_index\":\"index2\",\"_id\":\"id4\"}]}}]}' \"$ELASTICSEARCH_URL/_query_rules/my-ruleset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rank_eval": { @@ -25922,7 +26232,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -25979,7 +26290,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_rank_eval": { @@ -26041,7 +26353,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -26101,7 +26414,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"requests\":[{\"id\":\"JFK query\",\"request\":{\"query\":{\"match_all\":{}}},\"ratings\":[]}],\"metric\":{\"precision\":{\"k\":20,\"relevant_rating_threshold\":1,\"ignore_unlabeled\":false}}}' \"$ELASTICSEARCH_URL/my-index-000001/_rank_eval\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_reindex": { @@ -26397,7 +26711,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":[\"my-index-000001\",\"my-index-000002\"]},\"dest\":{\"index\":\"my-new-index-000002\"}}' \"$ELASTICSEARCH_URL/_reindex\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_render/template": { @@ -26442,7 +26757,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -26485,7 +26801,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_render/template/{id}": { @@ -26535,7 +26852,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -26583,7 +26901,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":20,\"size\":10}}' \"$ELASTICSEARCH_URL/_render/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_scripts/painless/_execute": { @@ -26628,7 +26947,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"params.count / params.total\",\"params\":{\"count\":100,\"total\":1000}}}' \"$ELASTICSEARCH_URL/_scripts/painless/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -26671,7 +26991,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"params.count / params.total\",\"params\":{\"count\":100,\"total\":1000}}}' \"$ELASTICSEARCH_URL/_scripts/painless/_execute\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search": { @@ -26850,7 +27171,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -27027,7 +27349,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_search": { @@ -27209,7 +27532,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -27389,7 +27713,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_search?from=40&size=20\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application/{name}": { @@ -27457,7 +27782,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application/my-app/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -27551,7 +27877,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"indices\":[\"index1\",\"index2\"],\"template\":{\"script\":{\"source\":{\"query\":{\"query_string\":{\"query\":\"{{query_string}}\",\"default_field\":\"{{default_field}}\"}}},\"params\":{\"query_string\":\"*\",\"default_field\":\"*\"}},\"dictionary\":{\"properties\":{\"query_string\":{\"type\":\"string\"},\"default_field\":{\"type\":\"string\",\"enum\":[\"title\",\"description\"]},\"additionalProperties\":false},\"required\":[\"query_string\"]}}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -27611,7 +27938,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application/my-app/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/analytics/{name}": { @@ -27658,7 +27986,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -27718,7 +28047,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -27779,7 +28109,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection/\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/analytics": { @@ -27821,7 +28152,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application": { @@ -27923,7 +28255,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/search_application?from=0&size=3&q=app*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_application/search_application/{name}/_search": { @@ -27976,7 +28309,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"params\":{\"query_string\":\"my first query\",\"text_fields\":[{\"name\":\"title\",\"boost\":5},{\"name\":\"description\",\"boost\":1}]}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app/_search\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -28027,7 +28361,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"params\":{\"query_string\":\"my first query\",\"text_fields\":[{\"name\":\"title\",\"boost\":5},{\"name\":\"description\",\"boost\":1}]}}' \"$ELASTICSEARCH_URL/_application/search_application/my-app/_search\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { @@ -28113,7 +28448,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grid_agg\":\"geotile\",\"grid_precision\":2,\"fields\":[\"name\",\"price\"],\"query\":{\"term\":{\"included\":true}},\"aggs\":{\"min_price\":{\"min\":{\"field\":\"price\"}},\"max_price\":{\"max\":{\"field\":\"price\"}},\"avg_price\":{\"avg\":{\"field\":\"price\"}}}}' \"$ELASTICSEARCH_URL/museums/_mvt/location/13/4207/2692\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -28197,7 +28533,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"grid_agg\":\"geotile\",\"grid_precision\":2,\"fields\":[\"name\",\"price\"],\"query\":{\"term\":{\"included\":true}},\"aggs\":{\"min_price\":{\"min\":{\"field\":\"price\"}},\"max_price\":{\"max\":{\"field\":\"price\"}},\"avg_price\":{\"avg\":{\"field\":\"price\"}}}}' \"$ELASTICSEARCH_URL/museums/_mvt/location/13/4207/2692\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_search/template": { @@ -28286,7 +28623,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -28373,7 +28711,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_search/template": { @@ -28465,7 +28804,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -28555,7 +28895,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"id\":\"my-search-template\",\"params\":{\"query_string\":\"hello world\",\"from\":0,\"size\":10}}' \"$ELASTICSEARCH_URL/my-index/_search/template\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_authenticate": { @@ -28673,7 +29014,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/_authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key": { @@ -28827,7 +29169,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/api_key?username=myuser&realm_name=native1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -28878,7 +29221,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"my-api-key\",\"expiration\":\"1d\",\"role_descriptors\":{\"role-a\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-a*\"],\"privileges\":[\"read\"]}]},\"role-b\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-b*\"],\"privileges\":[\"all\"]}]}},\"metadata\":{\"application\":\"my-application\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -28929,7 +29273,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"name\":\"my-api-key\",\"expiration\":\"1d\",\"role_descriptors\":{\"role-a\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-a*\"],\"privileges\":[\"read\"]}]},\"role-b\":{\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index-b*\"],\"privileges\":[\"all\"]}]}},\"metadata\":{\"application\":\"my-application\",\"environment\":{\"level\":1,\"trusted\":true,\"tags\":[\"dev\",\"staging\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -29082,7 +29427,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"ids\":[\"VuaCfGcBCdbkQm-e5aOx\"]}' \"$ELASTICSEARCH_URL/_security/api_key\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role/{name}": { @@ -29129,7 +29475,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -29183,7 +29530,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Grants full access to all management features within the cluster.\",\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\",\"index2\"],\"privileges\":[\"all\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29237,7 +29585,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"description\":\"Grants full access to all management features within the cluster.\",\"cluster\":[\"all\"],\"indices\":[{\"names\":[\"index1\",\"index2\"],\"privileges\":[\"all\"],\"field_security\":{\"grant\":[\"title\",\"body\"]},\"query\":\"{\\\"match\\\": {\\\"title\\\": \\\"foo\\\"}}\"}],\"applications\":[{\"application\":\"myapp\",\"privileges\":[\"admin\",\"read\"],\"resources\":[\"*\"]}],\"run_as\":[\"other_user\"],\"metadata\":{\"version\":1}}' \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -29322,7 +29671,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege/_builtin": { @@ -29400,7 +29750,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/_builtin\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role": { @@ -29442,7 +29793,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/role/my_admin_role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/_has_privileges": { @@ -29490,7 +29842,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29536,7 +29889,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/user/{user}/_has_privileges": { @@ -29589,7 +29943,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29640,7 +29995,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cluster\":[\"monitor\",\"manage\"],\"index\":[{\"names\":[\"suppliers\",\"products\"],\"privileges\":[\"read\"]},{\"names\":[\"inventory\"],\"privileges\":[\"read\",\"write\"]}],\"application\":[{\"application\":\"inventory_manager\",\"privileges\":[\"read\",\"data:write/inventory\"],\"resources\":[\"product/1852563\"]}]}' \"$ELASTICSEARCH_URL/_security/user/_has_privileges\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_query/api_key": { @@ -29696,7 +30052,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"ids\":{\"values\":[\"VuaCfGcBCdbkQm-e5aOx\"]}}}' \"$ELASTICSEARCH_URL/_security/_query/api_key?with_limited_by=true\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29750,7 +30107,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"ids\":{\"values\":[\"VuaCfGcBCdbkQm-e5aOx\"]}}}' \"$ELASTICSEARCH_URL/_security/_query/api_key?with_limited_by=true\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/_query/role": { @@ -29795,7 +30153,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[\"name\"]}' \"$ELASTICSEARCH_URL/_security/_query/role\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -29838,7 +30197,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"sort\":[\"name\"]}' \"$ELASTICSEARCH_URL/_security/_query/role\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key/{id}": { @@ -29952,7 +30312,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"role_descriptors\":{\"role-a\":{\"indices\":[{\"names\":[\"*\"],\"privileges\":[\"write\"]}]}},\"metadata\":{\"environment\":{\"level\":2,\"trusted\":true,\"tags\":[\"production\"]}}}' \"$ELASTICSEARCH_URL/_security/api_key/VuaCfGcBCdbkQm-e5aOx\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/close": { @@ -30033,7 +30394,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"cursor\":\"sDXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAAEWYUpOYklQMHhRUEtld3RsNnFtYU1hQQ==:BAFmBGRhdGUBZgVsaWtlcwFzB21lc3NhZ2UBZgR1c2Vy9f///w8=\"}' \"$ELASTICSEARCH_URL/_sql/close\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/delete/{id}": { @@ -30095,7 +30457,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/delete/FmdMX2pIang3UWhLRU5QS0lqdlppYncaMUpYQ05oSkpTc3kwZ21EdC1tbFJXQToxOTI=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/{id}": { @@ -30234,7 +30597,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=?wait_for_completion_timeout=2s&format=json\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/async/status/{id}": { @@ -30326,7 +30690,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/status/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql": { @@ -30376,7 +30741,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC LIMIT 5\"}' \"$ELASTICSEARCH_URL/_sql?format=txt\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -30424,7 +30790,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC LIMIT 5\"}' \"$ELASTICSEARCH_URL/_sql?format=txt\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql/translate": { @@ -30469,7 +30836,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC\",\"fetch_size\":10}' \"$ELASTICSEARCH_URL/_sql/translate\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -30512,7 +30880,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":\"SELECT * FROM library ORDER BY page_count DESC\",\"fetch_size\":10}' \"$ELASTICSEARCH_URL/_sql/translate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms/{id}": { @@ -30617,7 +30986,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -30718,7 +31088,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -30778,7 +31149,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms/{set_id}/{rule_id}": { @@ -30857,7 +31229,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -30959,7 +31332,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"synonyms\":\"hello, hi, howdy\"}' \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -31036,7 +31410,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms/my-synonyms-set/test-1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms": { @@ -31130,7 +31505,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/{task_id}": { @@ -31242,7 +31618,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks?detailed=true&actions=*/delete/byquery\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_terms_enum": { @@ -31292,7 +31669,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"field\":\"tags\",\"string\":\"kiba\"}' \"$ELASTICSEARCH_URL/stackoverflow/_terms_enum\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -31340,7 +31718,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"field\":\"tags\",\"string\":\"kiba\"}' \"$ELASTICSEARCH_URL/stackoverflow/_terms_enum\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_termvectors/{id}": { @@ -31429,7 +31808,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -31516,7 +31896,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_termvectors": { @@ -31602,7 +31983,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -31686,7 +32068,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"fields\":[\"text\"],\"offsets\":true,\"payloads\":true,\"positions\":true,\"term_statistics\":true,\"field_statistics\":true}' \"$ELASTICSEARCH_URL/my-index-000001/_termvectors/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}": { @@ -31745,7 +32128,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -31890,7 +32274,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\",\"query\":{\"term\":{\"geoip.continent_name\":{\"value\":\"Asia\"}}}},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}},\"description\":\"Maximum priced ecommerce data by customer_id in Asia\",\"dest\":{\"index\":\"kibana_sample_data_ecommerce_transform1\",\"pipeline\":\"add_timestamp_pipeline\"},\"frequency\":\"5m\",\"sync\":{\"time\":{\"field\":\"order_date\",\"delay\":\"60s\"}},\"retention_policy\":{\"time\":{\"field\":\"order_date\",\"max_age\":\"30d\"}}}' \"$ELASTICSEARCH_URL/_transform/ecommerce_transform1\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -31986,7 +32371,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform": { @@ -32042,7 +32428,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_stats": { @@ -32165,7 +32552,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce-customer-transform/_stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_preview": { @@ -32218,7 +32606,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -32269,7 +32658,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/_preview": { @@ -32319,7 +32709,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -32367,7 +32758,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\"},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}}}' \"$ELASTICSEARCH_URL/_transform/_preview\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_reset": { @@ -32455,7 +32847,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_schedule_now": { @@ -32533,7 +32926,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_schedule_now\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_start": { @@ -32621,7 +33015,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce-customer-transform/_start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_stop": { @@ -32739,7 +33134,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform/{transform_id}/_update": { @@ -32932,7 +33328,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"source\":{\"index\":\"kibana_sample_data_ecommerce\",\"query\":{\"term\":{\"geoip.continent_name\":{\"value\":\"Asia\"}}}},\"pivot\":{\"group_by\":{\"customer_id\":{\"terms\":{\"field\":\"customer_id\",\"missing_bucket\":true}}},\"aggregations\":{\"max_price\":{\"max\":{\"field\":\"taxful_total_price\"}}}},\"description\":\"Maximum priced ecommerce data by customer_id in Asia\",\"dest\":{\"index\":\"kibana_sample_data_ecommerce_transform1\",\"pipeline\":\"add_timestamp_pipeline\"},\"frequency\":\"5m\",\"sync\":{\"time\":{\"field\":\"order_date\",\"delay\":\"60s\"}},\"retention_policy\":{\"time\":{\"field\":\"order_date\",\"max_age\":\"30d\"}}}' \"$ELASTICSEARCH_URL/_transform/simple-kibana-ecomm-pivot/_update\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_update/{id}": { @@ -33237,7 +33634,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"script\":{\"source\":\"ctx._source.counter += params.count\",\"lang\":\"painless\",\"params\":{\"count\":4}}}' \"$ELASTICSEARCH_URL/test/_update/1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_update_by_query": { @@ -33726,7 +34124,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}' \"$ELASTICSEARCH_URL/my-index-000001/_update_by_query?conflicts=proceed\"" } - ] + ], + "x-product-feature": "elasticsearch" } } }, diff --git a/specification/_doc_ids/product-meta.json b/specification/_doc_ids/product-meta.json new file mode 100644 index 0000000000..f2f4f91363 --- /dev/null +++ b/specification/_doc_ids/product-meta.json @@ -0,0 +1,6 @@ +{ + "fleet": "fleet", + "inference": "machine-learning", + "logstash": "logstash", + "ml": "machine-learning" +}