diff --git a/compiler-rs/clients_schema_to_openapi/src/lib.rs b/compiler-rs/clients_schema_to_openapi/src/lib.rs index 1c088329be..c3ef560938 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_bg.wasm b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm index 0d68f1da64..2c8dc15d67 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 0acdd6954d..2e4c4ab717 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": { @@ -13671,7 +13832,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}": { @@ -13766,7 +13928,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": [ @@ -13829,7 +13992,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": { @@ -13904,7 +14068,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_query/async/FkpMRkJGS1gzVDRlM3g4ZzMyRGlLbkEaTXlJZHdNT09TU2VTZVBoNDM3cFZMUToxMDM=/stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_query/queries/{id}": { @@ -13975,7 +14140,8 @@ } } }, - "x-state": "Technical preview; Added in 9.1.0" + "x-state": "Technical preview; Added in 9.1.0", + "x-product-feature": "elasticsearch" } }, "/_query/queries": { @@ -14009,7 +14175,8 @@ } } }, - "x-state": "Technical preview; Added in 9.1.0" + "x-state": "Technical preview; Added in 9.1.0", + "x-product-feature": "elasticsearch" } }, "/_query": { @@ -14163,7 +14330,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}": { @@ -14339,7 +14507,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": [ @@ -14499,7 +14668,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}": { @@ -14588,7 +14758,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": [ @@ -14675,7 +14846,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": { @@ -14756,7 +14928,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_features\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_features/_reset": { @@ -14834,7 +15007,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_features/_reset\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_field_caps": { @@ -14905,7 +15079,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": [ @@ -14974,7 +15149,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": { @@ -15048,7 +15224,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": [ @@ -15120,7 +15297,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": { @@ -15221,7 +15399,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": { @@ -15281,7 +15460,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": [ @@ -15339,7 +15519,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": { @@ -15402,7 +15583,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": [ @@ -15463,7 +15645,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": { @@ -15616,7 +15799,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": [ @@ -15767,7 +15951,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": { @@ -15827,7 +16012,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_script_context\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_script_language": { @@ -15894,7 +16080,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_script_language\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_graph/explore": { @@ -15953,7 +16140,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": [ @@ -16010,7 +16198,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": { @@ -16063,7 +16252,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_health_report\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_health_report/{feature}": { @@ -16119,7 +16309,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_health_report\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/policy/{policy}": { @@ -16172,7 +16363,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": [ @@ -16281,7 +16473,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": [ @@ -16367,7 +16560,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": { @@ -16476,7 +16670,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": { @@ -16526,7 +16721,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": { @@ -16589,7 +16785,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": { @@ -16741,7 +16938,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}": { @@ -16842,7 +17040,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": { @@ -16925,7 +17124,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": { @@ -16987,7 +17187,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": { @@ -17064,7 +17265,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ilm/stop": { @@ -17141,7 +17343,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ilm/stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_doc": { @@ -17230,7 +17433,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}": { @@ -17378,7 +17582,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": { @@ -17431,7 +17636,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": [ @@ -17482,7 +17688,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": { @@ -17538,7 +17745,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": [ @@ -17592,7 +17800,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": { @@ -17654,7 +17863,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": { @@ -17722,7 +17932,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": { @@ -17793,7 +18004,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}": { @@ -17855,7 +18067,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": [ @@ -17915,7 +18128,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": { @@ -18062,7 +18276,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-00001/_close\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}": { @@ -18207,7 +18422,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -18354,7 +18570,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": [ @@ -18464,7 +18681,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -18580,7 +18798,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}": { @@ -18639,7 +18858,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": [ @@ -18719,7 +18939,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": [ @@ -18799,7 +19020,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}": { @@ -18852,7 +19074,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": [ @@ -18903,7 +19126,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": { @@ -18950,7 +19174,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": { @@ -19000,7 +19225,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}": { @@ -19062,7 +19288,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -19119,7 +19346,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": [ @@ -19176,7 +19404,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": [ @@ -19230,7 +19459,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": [ @@ -19290,7 +19520,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_aliases/{name}": { @@ -19349,7 +19580,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": [ @@ -19406,7 +19638,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": [ @@ -19460,7 +19693,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": { @@ -19569,7 +19803,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": [ @@ -19697,7 +19932,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": [ @@ -19793,7 +20029,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" } }, "/_data_stream/{name}/_options": { @@ -19860,7 +20097,8 @@ } } }, - "x-state": "Generally available; Added in 8.19.0" + "x-state": "Generally available; Added in 8.19.0", + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -19938,7 +20176,8 @@ } } }, - "x-state": "Generally available; Added in 8.19.0" + "x-state": "Generally available; Added in 8.19.0", + "x-product-feature": "elasticsearch" }, "delete": { "tags": [ @@ -20008,7 +20247,8 @@ } } }, - "x-state": "Generally available; Added in 8.19.0" + "x-state": "Generally available; Added in 8.19.0", + "x-product-feature": "elasticsearch" } }, "/_index_template/{name}": { @@ -20067,7 +20307,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": [ @@ -20124,7 +20365,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": [ @@ -20181,7 +20423,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": [ @@ -20261,7 +20504,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": [ @@ -20321,7 +20565,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_template/{name}": { @@ -20381,7 +20626,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/.monitoring-*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -20445,7 +20691,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": [ @@ -20509,7 +20756,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": [ @@ -20590,7 +20838,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": [ @@ -20679,7 +20928,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/template_1\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_disk_usage": { @@ -20791,7 +21041,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}": { @@ -20879,7 +21130,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}": { @@ -20938,7 +21190,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -20995,7 +21248,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_lifecycle/explain": { @@ -21100,7 +21354,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": { @@ -21208,7 +21463,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": { @@ -21267,7 +21523,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -21324,7 +21581,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_flush": { @@ -21386,7 +21644,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -21446,7 +21705,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_flush\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_forcemerge": { @@ -21514,7 +21774,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": { @@ -21585,7 +21846,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001/_forcemerge\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_alias": { @@ -21641,7 +21903,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias": { @@ -21700,7 +21963,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_lifecycle/stats": { @@ -21778,7 +22042,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": { @@ -21834,7 +22099,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_settings": { @@ -21924,7 +22190,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -22059,7 +22326,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index.lifecycle.name\":\"new-test-policy\",\"index.number_of_shards\":11}' \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_mapping/field/{fields}": { @@ -22118,7 +22386,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}": { @@ -22180,7 +22449,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": { @@ -22236,7 +22506,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": { @@ -22295,7 +22566,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mapping": { @@ -22357,7 +22629,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -22426,7 +22699,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": [ @@ -22495,7 +22769,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": { @@ -22605,7 +22880,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": { @@ -22670,7 +22946,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": [ @@ -22742,7 +23019,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": { @@ -22810,7 +23088,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": [ @@ -22885,7 +23164,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}": { @@ -22956,7 +23236,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}": { @@ -23024,7 +23305,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": { @@ -23081,7 +23363,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_template/.monitoring-*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/reindex": { @@ -23146,7 +23429,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}": { @@ -23228,7 +23512,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": { @@ -23305,7 +23590,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": { @@ -23445,7 +23731,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}": { @@ -23517,7 +23804,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": { @@ -23567,7 +23855,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_recovery?human\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_recovery": { @@ -23620,7 +23909,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_recovery?human\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_refresh": { @@ -23673,7 +23963,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -23724,7 +24015,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_refresh": { @@ -23780,7 +24072,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -23834,7 +24127,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_reload_search_analyzers": { @@ -23896,7 +24190,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": [ @@ -23956,7 +24251,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": { @@ -24015,7 +24311,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}": { @@ -24077,7 +24374,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}": { @@ -24200,7 +24498,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": { @@ -24265,7 +24564,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}": { @@ -24333,7 +24633,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": { @@ -24386,7 +24687,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": { @@ -24442,7 +24744,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": { @@ -24498,7 +24801,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": { @@ -24557,7 +24861,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}": { @@ -24619,7 +24924,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": [ @@ -24679,7 +24985,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}": { @@ -24801,7 +25108,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": { @@ -24860,7 +25168,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}": { @@ -24922,7 +25231,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}": { @@ -24984,7 +25294,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": [ @@ -25044,7 +25355,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": { @@ -25115,7 +25427,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}": { @@ -25189,7 +25502,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": { @@ -25263,7 +25577,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}": { @@ -25340,7 +25655,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": { @@ -25436,7 +25752,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": { @@ -25519,7 +25836,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": [ @@ -25600,7 +25918,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": { @@ -25686,7 +26005,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": [ @@ -25770,7 +26090,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": { @@ -25875,7 +26196,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}": { @@ -25991,7 +26313,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}": { @@ -26037,7 +26360,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": [ @@ -26085,7 +26409,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": [ @@ -26110,7 +26435,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": [ @@ -26160,7 +26486,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}": { @@ -26209,7 +26536,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": [ @@ -26260,7 +26588,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": [ @@ -26288,7 +26617,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": [ @@ -26341,7 +26671,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": { @@ -26382,7 +26713,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}": { @@ -26504,7 +26836,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}": { @@ -26616,7 +26949,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}": { @@ -26722,7 +27056,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}": { @@ -26834,7 +27169,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}": { @@ -26946,7 +27282,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}": { @@ -27058,7 +27395,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}": { @@ -27196,7 +27534,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}": { @@ -27312,7 +27651,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}": { @@ -27416,7 +27756,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}": { @@ -27528,7 +27869,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}": { @@ -27640,7 +27982,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}": { @@ -27752,7 +28095,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}": { @@ -27855,7 +28199,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}": { @@ -27967,7 +28312,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}": { @@ -28079,7 +28425,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}": { @@ -28179,7 +28526,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}": { @@ -28321,7 +28669,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}": { @@ -28437,7 +28786,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": { @@ -28537,7 +28887,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}": { @@ -28653,7 +29004,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": { @@ -28703,7 +29055,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": { @@ -28756,7 +29109,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" } }, "/": { @@ -28835,7 +29189,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -28852,7 +29207,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_ingest/geoip/database/{id}": { @@ -28873,7 +29229,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": [ @@ -28949,7 +29306,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": [ @@ -29003,7 +29361,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}": { @@ -29053,7 +29412,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": [ @@ -29149,7 +29509,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": [ @@ -29229,7 +29590,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}": { @@ -29285,7 +29647,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": [ @@ -29429,7 +29792,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": [ @@ -29512,7 +29876,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": { @@ -29580,7 +29945,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": { @@ -29596,7 +29962,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": { @@ -29643,7 +30010,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": { @@ -29696,7 +30064,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": { @@ -29759,7 +30128,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": { @@ -29809,7 +30179,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": [ @@ -29857,7 +30228,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": { @@ -29910,7 +30282,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": [ @@ -29961,7 +30334,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": { @@ -30046,7 +30420,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -30100,7 +30475,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": [ @@ -30154,7 +30530,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": [ @@ -30226,7 +30603,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_license/basic_status": { @@ -30289,7 +30667,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": { @@ -30352,7 +30731,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": { @@ -30473,7 +30853,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": { @@ -30577,7 +30958,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}": { @@ -30627,7 +31009,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": [ @@ -30703,7 +31086,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": [ @@ -30762,7 +31146,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": { @@ -30807,7 +31192,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": { @@ -30878,7 +31264,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": [ @@ -30947,7 +31334,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": { @@ -31021,7 +31409,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": [ @@ -31093,7 +31482,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": { @@ -31135,7 +31525,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/deprecations\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_migration/deprecations": { @@ -31182,7 +31573,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/deprecations\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_migration/system_features": { @@ -31252,7 +31644,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_migration/system_features\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -31322,7 +31715,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": { @@ -31398,7 +31792,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": { @@ -31526,7 +31921,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}": { @@ -31582,7 +31978,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": [ @@ -31680,7 +32077,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": [ @@ -31734,7 +32132,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": [ @@ -31800,7 +32199,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}": { @@ -31878,7 +32278,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}": { @@ -31967,7 +32368,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": [ @@ -32060,7 +32462,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}": { @@ -32119,7 +32522,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": [ @@ -32291,7 +32695,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": [ @@ -32377,7 +32782,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}": { @@ -32430,7 +32836,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": [ @@ -32665,7 +33072,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": [ @@ -32741,7 +33149,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}": { @@ -32797,7 +33206,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": { @@ -32850,7 +33260,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}": { @@ -32903,7 +33314,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": [ @@ -33011,7 +33423,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": [ @@ -33077,7 +33490,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": { @@ -33208,7 +33622,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": [ @@ -33259,7 +33674,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}": { @@ -33315,7 +33731,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}": { @@ -33368,7 +33785,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": [ @@ -33632,7 +34050,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": [ @@ -33734,7 +34153,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}": { @@ -33805,7 +34225,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": [ @@ -33874,7 +34295,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": [ @@ -33951,7 +34373,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}": { @@ -34019,7 +34442,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": [ @@ -34127,7 +34551,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": [ @@ -34213,7 +34638,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}": { @@ -34296,7 +34722,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": [ @@ -34373,7 +34800,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": { @@ -34471,7 +34899,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": { @@ -34600,7 +35029,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": { @@ -34645,7 +35075,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": [ @@ -34688,7 +35119,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": { @@ -34738,7 +35170,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": [ @@ -34786,7 +35219,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": { @@ -34944,7 +35378,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}": { @@ -35024,7 +35459,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": [ @@ -35102,7 +35538,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": { @@ -35179,7 +35616,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": [ @@ -35254,7 +35692,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": { @@ -35381,7 +35820,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": [ @@ -35480,7 +35920,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": { @@ -35533,7 +35974,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": [ @@ -35584,7 +36026,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}": { @@ -35646,7 +36089,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": [ @@ -35706,7 +36150,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": { @@ -35765,7 +36210,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": [ @@ -35822,7 +36268,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": { @@ -35878,7 +36325,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": { @@ -35934,7 +36382,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": { @@ -35993,7 +36442,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": { @@ -36043,7 +36493,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": { @@ -36090,7 +36541,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": { @@ -36140,7 +36592,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": { @@ -36190,7 +36643,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": { @@ -36264,7 +36718,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": [ @@ -36336,7 +36791,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": { @@ -36383,7 +36839,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": { @@ -36433,7 +36890,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": { @@ -36483,7 +36941,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": { @@ -36533,7 +36992,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": { @@ -36586,7 +37046,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": { @@ -36684,7 +37145,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": { @@ -36752,7 +37214,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": [ @@ -36818,7 +37281,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": { @@ -36889,7 +37353,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": [ @@ -36958,7 +37423,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": { @@ -37032,7 +37498,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": [ @@ -37104,7 +37571,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": { @@ -37169,7 +37637,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": { @@ -37225,7 +37694,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": { @@ -37278,7 +37748,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": { @@ -37394,7 +37865,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": { @@ -37463,7 +37935,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": { @@ -37573,7 +38046,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": { @@ -37713,7 +38187,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": { @@ -37758,7 +38233,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": [ @@ -37801,7 +38277,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": { @@ -37851,7 +38328,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": [ @@ -37899,7 +38377,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": { @@ -37955,7 +38434,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": [ @@ -38009,7 +38489,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": { @@ -38062,7 +38543,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": [ @@ -38113,7 +38595,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}": { @@ -38221,7 +38704,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": { @@ -38327,7 +38811,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": { @@ -38409,7 +38894,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": { @@ -38521,7 +39007,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": { @@ -38592,7 +39079,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": { @@ -38676,7 +39164,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": { @@ -38807,7 +39296,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": { @@ -38971,7 +39461,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": { @@ -39071,7 +39562,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": { @@ -39199,7 +39691,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": { @@ -39289,7 +39782,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": { @@ -39434,7 +39928,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": { @@ -39672,7 +40167,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": { @@ -39789,7 +40285,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": { @@ -40019,7 +40516,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": { @@ -40130,7 +40628,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": { @@ -40234,7 +40733,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": { @@ -40340,7 +40840,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": { @@ -40426,7 +40927,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": [ @@ -40510,7 +41012,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": { @@ -40599,7 +41102,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": [ @@ -40686,7 +41190,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": { @@ -40751,7 +41256,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": [ @@ -40814,7 +41320,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": { @@ -40882,7 +41389,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": [ @@ -40948,7 +41456,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": { @@ -41031,7 +41540,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": [ @@ -41112,7 +41622,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": { @@ -41198,7 +41709,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": [ @@ -41282,7 +41794,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}": { @@ -41329,7 +41842,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": { @@ -41365,7 +41879,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": { @@ -41430,7 +41945,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": { @@ -41498,7 +42014,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/hot_threads\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes": { @@ -41548,7 +42065,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}": { @@ -41601,7 +42119,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/_all/jvm\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/{metric}": { @@ -41654,7 +42173,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}": { @@ -41710,7 +42230,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": { @@ -41760,7 +42281,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": { @@ -41813,7 +42335,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": { @@ -41884,7 +42407,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": { @@ -41958,7 +42482,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}": { @@ -42032,7 +42557,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}": { @@ -42109,7 +42635,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}": { @@ -42186,7 +42713,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}": { @@ -42266,7 +42794,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": { @@ -42313,7 +42842,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": { @@ -42363,7 +42893,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/usage/{metric}": { @@ -42413,7 +42944,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}": { @@ -42466,7 +42998,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/usage\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_pit": { @@ -42631,7 +43164,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}": { @@ -42696,7 +43230,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": [ @@ -42759,7 +43294,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}": { @@ -42841,7 +43377,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": [ @@ -42966,7 +43503,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": [ @@ -43037,7 +43575,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}": { @@ -43105,7 +43644,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": [ @@ -43210,7 +43750,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": [ @@ -43270,7 +43811,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": { @@ -43362,7 +43904,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": { @@ -43473,7 +44016,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": { @@ -43532,7 +44076,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": [ @@ -43589,7 +44134,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": { @@ -43651,7 +44197,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": [ @@ -43711,7 +44258,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": { @@ -44007,7 +44555,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": { @@ -44090,7 +44639,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": { @@ -44135,7 +44685,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": [ @@ -44178,7 +44729,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}": { @@ -44228,7 +44780,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": [ @@ -44276,7 +44829,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}": { @@ -44324,7 +44878,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -44446,7 +45001,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": [ @@ -44527,7 +45083,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/job/sensor\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/job": { @@ -44570,7 +45127,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}": { @@ -44618,7 +45176,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_rollup/data/sensor-*\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_rollup/data": { @@ -44661,7 +45220,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": { @@ -44733,7 +45293,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": { @@ -44790,7 +45351,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": [ @@ -44845,7 +45407,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": { @@ -44922,7 +45485,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": { @@ -45013,7 +45577,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": { @@ -45058,7 +45623,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": [ @@ -45101,7 +45667,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": { @@ -45280,7 +45847,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": [ @@ -45457,7 +46025,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": { @@ -45639,7 +46208,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": [ @@ -45819,7 +46389,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}": { @@ -45887,7 +46458,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": [ @@ -45981,7 +46553,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": [ @@ -46041,7 +46614,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}": { @@ -46088,7 +46662,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -46148,7 +46723,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": [ @@ -46209,7 +46785,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": { @@ -46251,7 +46828,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": { @@ -46353,7 +46931,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}": { @@ -46466,7 +47045,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": { @@ -46557,7 +47137,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": { @@ -46610,7 +47191,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": [ @@ -46661,7 +47243,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}": { @@ -46747,7 +47330,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": [ @@ -46831,7 +47415,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": { @@ -46896,7 +47481,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": [ @@ -46959,7 +47545,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": { @@ -47027,7 +47614,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": [ @@ -47093,7 +47681,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": { @@ -47182,7 +47771,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": [ @@ -47269,7 +47859,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": { @@ -47361,7 +47952,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": [ @@ -47451,7 +48043,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": { @@ -47501,7 +48094,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": { @@ -47554,7 +48148,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": { @@ -47610,7 +48205,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": { @@ -47669,7 +48265,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": { @@ -47821,7 +48418,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": { @@ -47868,7 +48466,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": { @@ -47918,7 +48517,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": { @@ -48009,7 +48609,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": { @@ -48127,7 +48728,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/_authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role": { @@ -48169,7 +48771,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": [ @@ -48305,7 +48908,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": [ @@ -48429,7 +49033,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": { @@ -48557,7 +49162,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": { @@ -48610,7 +49216,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": [ @@ -48661,7 +49268,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": { @@ -48711,7 +49319,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": [ @@ -48759,7 +49368,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": { @@ -48840,7 +49450,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": { @@ -48921,7 +49532,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": { @@ -49018,7 +49630,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": { @@ -49099,7 +49712,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": { @@ -49205,7 +49819,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": { @@ -49359,7 +49974,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": [ @@ -49410,7 +50026,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": [ @@ -49461,7 +50078,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": [ @@ -49614,7 +50232,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": { @@ -49731,7 +50350,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}": { @@ -49790,7 +50410,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": [ @@ -49847,7 +50468,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": [ @@ -49957,7 +50579,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": { @@ -50013,7 +50636,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": { @@ -50121,7 +50745,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}": { @@ -50174,7 +50799,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": [ @@ -50270,7 +50896,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}": { @@ -50317,7 +50944,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": [ @@ -50371,7 +50999,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": [ @@ -50425,7 +51054,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": [ @@ -50510,7 +51140,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}": { @@ -50560,7 +51191,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": [ @@ -50614,7 +51246,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": [ @@ -50668,7 +51301,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": [ @@ -50756,7 +51390,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}": { @@ -50806,7 +51441,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": [ @@ -50857,7 +51493,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": [ @@ -50908,7 +51545,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": [ @@ -50993,7 +51631,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": { @@ -51043,7 +51682,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": [ @@ -51091,7 +51731,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": { @@ -51141,7 +51782,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": [ @@ -51189,7 +51831,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": { @@ -51239,7 +51882,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": [ @@ -51287,7 +51931,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": { @@ -51337,7 +51982,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": [ @@ -51385,7 +52031,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": { @@ -51453,7 +52100,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": { @@ -51519,7 +52167,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": { @@ -51606,7 +52255,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/_builtin\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/privilege": { @@ -51651,7 +52301,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": [ @@ -51702,7 +52353,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": [ @@ -51753,7 +52405,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}": { @@ -51803,7 +52456,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": { @@ -51848,7 +52502,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}": { @@ -51901,7 +52556,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}": { @@ -51951,7 +52607,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": { @@ -51996,7 +52653,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": { @@ -52101,7 +52759,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": { @@ -52178,7 +52837,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -52282,7 +52942,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": { @@ -52420,7 +53081,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": [ @@ -52552,7 +53214,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": { @@ -52599,7 +53262,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": { @@ -52744,7 +53408,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}": { @@ -52868,7 +53533,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": { @@ -52987,7 +53653,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": { @@ -53035,7 +53702,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": [ @@ -53081,7 +53749,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": { @@ -53134,7 +53803,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": [ @@ -53185,7 +53855,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": { @@ -53233,7 +53904,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": [ @@ -53279,7 +53951,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": { @@ -53397,7 +54070,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": { @@ -53490,7 +54164,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": { @@ -53615,7 +54290,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": { @@ -53671,7 +54347,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": [ @@ -53725,7 +54402,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": { @@ -53770,7 +54448,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": [ @@ -53813,7 +54492,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": { @@ -53863,7 +54543,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": [ @@ -53911,7 +54592,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": { @@ -54031,7 +54713,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": { @@ -54122,7 +54805,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": { @@ -54232,7 +54916,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": { @@ -54328,7 +55013,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": { @@ -54440,7 +55126,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}": { @@ -54517,7 +55204,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": { @@ -54567,7 +55255,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": [ @@ -54615,7 +55304,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}": { @@ -54729,7 +55419,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}": { @@ -54839,7 +55530,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": { @@ -54898,7 +55590,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": [ @@ -54955,7 +55648,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": { @@ -55005,7 +55699,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -55122,7 +55817,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": [ @@ -55208,7 +55904,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_nodes/shutdown": { @@ -55255,7 +55952,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_ingest/_simulate": { @@ -55305,7 +56003,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": [ @@ -55353,7 +56052,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": { @@ -55406,7 +56106,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": [ @@ -55457,7 +56158,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}": { @@ -55510,7 +56212,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": [ @@ -55629,7 +56332,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": [ @@ -55709,7 +56413,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": { @@ -55805,7 +56510,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": { @@ -55876,7 +56582,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/_execute_retention\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/policy": { @@ -55926,7 +56633,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": { @@ -56050,7 +56758,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/status": { @@ -56135,7 +56844,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/status\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/start": { @@ -56212,7 +56922,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_slm/start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_slm/stop": { @@ -56257,7 +56968,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": { @@ -56356,7 +57068,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}": { @@ -56475,7 +57188,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}": { @@ -56716,7 +57430,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": [ @@ -56776,7 +57491,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": [ @@ -56836,7 +57552,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": [ @@ -56923,7 +57640,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}": { @@ -56976,7 +57694,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -57036,7 +57755,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": [ @@ -57096,7 +57816,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": [ @@ -57176,7 +57897,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot": { @@ -57226,7 +57948,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": { @@ -57506,7 +58229,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}/_verify_integrity": { @@ -57648,7 +58372,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_snapshot/my_repository/_verify_integrity\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_snapshot/{repository}/{snapshot}/_restore": { @@ -57825,7 +58550,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": { @@ -57875,7 +58601,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": { @@ -57928,7 +58655,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": { @@ -57984,7 +58712,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": { @@ -58081,7 +58810,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": { @@ -58162,7 +58892,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}": { @@ -58224,7 +58955,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}": { @@ -58363,7 +59095,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}": { @@ -58455,7 +59188,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/status/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql": { @@ -58505,7 +59239,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": [ @@ -58553,7 +59288,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": { @@ -58598,7 +59334,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": [ @@ -58641,7 +59378,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": { @@ -58702,7 +59440,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_ssl/certificates\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_synonyms/{id}": { @@ -58807,7 +59546,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": [ @@ -58917,7 +59657,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": [ @@ -58977,7 +59718,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}": { @@ -59056,7 +59798,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": [ @@ -59168,7 +59911,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": [ @@ -59255,7 +59999,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": { @@ -59349,7 +60094,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/_cancel": { @@ -59405,7 +60151,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": { @@ -59464,7 +60211,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_tasks//_cancel\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/{task_id}": { @@ -59576,7 +60324,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": { @@ -59713,7 +60462,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": { @@ -59763,7 +60513,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": [ @@ -59811,7 +60562,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}": { @@ -59900,7 +60652,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": [ @@ -59987,7 +60740,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": { @@ -60073,7 +60827,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": [ @@ -60157,7 +60912,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": { @@ -60423,7 +61179,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": { @@ -60503,7 +61260,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": [ @@ -60581,7 +61339,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": { @@ -60913,7 +61672,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": { @@ -60966,7 +61726,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": [ @@ -61017,7 +61778,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}": { @@ -61076,7 +61838,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -61221,7 +61984,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": [ @@ -61317,7 +62081,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform": { @@ -61373,7 +62138,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": { @@ -61496,7 +62262,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": { @@ -61549,7 +62316,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": [ @@ -61600,7 +62368,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": { @@ -61650,7 +62419,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": [ @@ -61698,7 +62468,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": { @@ -61786,7 +62557,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": { @@ -61864,7 +62636,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": { @@ -61952,7 +62725,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": { @@ -62070,7 +62844,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": { @@ -62263,7 +63038,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": { @@ -62359,7 +63135,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/_upgrade\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_update/{id}": { @@ -62664,7 +63441,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": { @@ -63153,7 +63931,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": { @@ -63236,7 +64015,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": { @@ -63283,7 +64063,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": [ @@ -63328,7 +64109,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}": { @@ -63378,7 +64160,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": [ @@ -63426,7 +64209,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": { @@ -63476,7 +64260,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": [ @@ -63524,7 +64309,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": { @@ -63574,7 +64360,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": [ @@ -63622,7 +64409,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}": { @@ -63717,7 +64505,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": [ @@ -63777,7 +64566,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": [ @@ -63837,7 +64627,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": [ @@ -63919,7 +64710,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": { @@ -63972,7 +64764,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": [ @@ -64023,7 +64816,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": { @@ -64073,7 +64867,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": [ @@ -64121,7 +64916,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": { @@ -64196,7 +64992,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -64296,7 +65093,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": { @@ -64341,7 +65139,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_query/watches\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -64384,7 +65183,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_query/watches\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/_start": { @@ -64451,7 +65251,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_start\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/stats": { @@ -64501,7 +65302,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/stats/{metric}": { @@ -64554,7 +65356,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/stats\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_watcher/_stop": { @@ -64621,7 +65424,8 @@ "lang": "curl", "source": "curl -X POST -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_watcher/_stop\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_xpack": { @@ -64731,7 +65535,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_xpack\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_xpack/usage": { @@ -64906,7 +65711,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 d375516d9f..3f930c176f 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/queries/{id}": { @@ -7851,7 +7944,8 @@ } } }, - "x-state": "Technical preview" + "x-state": "Technical preview", + "x-product-feature": "elasticsearch" } }, "/_query/queries": { @@ -7885,7 +7979,8 @@ } } }, - "x-state": "Technical preview" + "x-state": "Technical preview", + "x-product-feature": "elasticsearch" } }, "/_query": { @@ -8039,7 +8134,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}": { @@ -8215,7 +8311,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": [ @@ -8375,7 +8472,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}": { @@ -8464,7 +8562,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": [ @@ -8551,7 +8650,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": { @@ -8622,7 +8722,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": [ @@ -8691,7 +8792,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": { @@ -8765,7 +8867,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": [ @@ -8837,7 +8940,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": { @@ -8896,7 +9000,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": [ @@ -8953,7 +9058,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": { @@ -9042,7 +9148,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}": { @@ -9190,7 +9297,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": { @@ -9243,7 +9351,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": [ @@ -9294,7 +9403,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": { @@ -9350,7 +9460,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": [ @@ -9404,7 +9515,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}": { @@ -9549,7 +9661,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-index-000001\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -9696,7 +9809,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": [ @@ -9806,7 +9920,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -9922,7 +10037,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}": { @@ -9981,7 +10097,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": [ @@ -10061,7 +10178,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": [ @@ -10141,7 +10259,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}": { @@ -10203,7 +10322,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -10260,7 +10380,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": [ @@ -10317,7 +10438,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": [ @@ -10371,7 +10493,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": [ @@ -10431,7 +10554,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_aliases/{name}": { @@ -10490,7 +10614,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": [ @@ -10547,7 +10672,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": [ @@ -10601,7 +10727,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}": { @@ -10660,7 +10787,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": [ @@ -10717,7 +10845,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": [ @@ -10774,7 +10903,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": [ @@ -10854,7 +10984,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": [ @@ -10914,7 +11045,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_alias/{name}": { @@ -10973,7 +11105,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -11030,7 +11163,8 @@ "lang": "curl", "source": "curl --head -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias/my-alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_lifecycle/explain": { @@ -11135,7 +11269,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": { @@ -11191,7 +11326,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_alias": { @@ -11250,7 +11386,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_alias\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_lifecycle": { @@ -11359,7 +11496,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": [ @@ -11487,7 +11625,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": { @@ -11543,7 +11682,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_options": { @@ -11610,7 +11750,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11688,7 +11829,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_data_stream/{name}/_settings": { @@ -11778,7 +11920,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -11913,7 +12056,8 @@ "lang": "curl", "source": "curl -X PUT -H \"Authorization: ApiKey $ELASTIC_API_KEY\" -H \"Content-Type: application/json\" -d '{\"index.lifecycle.name\":\"new-test-policy\",\"index.number_of_shards\":11}' \"$ELASTICSEARCH_URL/_data_stream/my-data-stream/_settings\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_index_template": { @@ -11969,7 +12113,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": { @@ -12028,7 +12173,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_mapping": { @@ -12090,7 +12236,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/books/_mapping\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -12159,7 +12306,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": [ @@ -12228,7 +12376,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": { @@ -12293,7 +12442,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": [ @@ -12365,7 +12515,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": { @@ -12433,7 +12584,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": [ @@ -12508,7 +12660,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}": { @@ -12579,7 +12732,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}": { @@ -12647,7 +12801,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}": { @@ -12729,7 +12884,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": { @@ -12806,7 +12962,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": { @@ -12859,7 +13016,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -12910,7 +13068,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/{index}/_refresh": { @@ -12966,7 +13125,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "post": { "tags": [ @@ -13020,7 +13180,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_refresh\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_resolve/index/{name}": { @@ -13143,7 +13304,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": { @@ -13208,7 +13370,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}": { @@ -13276,7 +13439,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}": { @@ -13398,7 +13562,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": { @@ -13457,7 +13622,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}": { @@ -13519,7 +13685,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": { @@ -13615,7 +13782,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": { @@ -13698,7 +13866,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": [ @@ -13779,7 +13948,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": { @@ -13865,7 +14035,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": [ @@ -13949,7 +14120,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": { @@ -14054,7 +14226,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}": { @@ -14170,7 +14343,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}": { @@ -14216,7 +14390,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": [ @@ -14264,182 +14439,187 @@ "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\"" } - ] - }, - "post": { - "tags": [ - "inference" - ], - "summary": "Perform inference on the service", - "description": "This API enables you to use machine learning models to perform specific tasks on data that you provide as an input.\nIt returns a response with the results of the tasks.\nThe inference endpoint you use can perform one specific task that has been defined when the endpoint was created with the create inference API.\n\nFor details about using this API with a service, such as Amazon Bedrock, Anthropic, or HuggingFace, refer to the service-specific documentation.\n\n> info\n> The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face. For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models. However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.\n\n## Required authorization\n\n* Cluster privileges: `monitor_inference`\n", - "operationId": "inference-inference", - "parameters": [ - { - "$ref": "#/components/parameters/inference.inference-inference_id" - }, - { - "$ref": "#/components/parameters/inference.inference-timeout" - } ], - "requestBody": { - "$ref": "#/components/requestBodies/inference.inference" - }, - "responses": { - "200": { - "$ref": "#/components/responses/inference.inference-200" - } - }, - "x-state": "Generally available" - }, - "delete": { - "tags": [ - "inference" - ], - "summary": "Delete an inference endpoint", - "operationId": "inference-delete", - "parameters": [ - { - "$ref": "#/components/parameters/inference.delete-inference_id" - }, - { - "$ref": "#/components/parameters/inference.delete-dry_run" - }, - { - "$ref": "#/components/parameters/inference.delete-force" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/inference.delete-200" - } - }, - "x-state": "Generally available", - "x-codeSamples": [ - { - "lang": "Console", - "source": "DELETE /_inference/sparse_embedding/my-elser-model\n" - }, - { - "lang": "Python", - "source": "resp = client.inference.delete(\n task_type=\"sparse_embedding\",\n inference_id=\"my-elser-model\",\n)" - }, - { - "lang": "JavaScript", - "source": "const response = await client.inference.delete({\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\",\n});" - }, - { - "lang": "Ruby", - "source": "response = client.inference.delete(\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\"\n)" - }, - { - "lang": "PHP", - "source": "$resp = $client->inference()->delete([\n \"task_type\" => \"sparse_embedding\",\n \"inference_id\" => \"my-elser-model\",\n]);" - }, - { - "lang": "curl", - "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" - } - ] - } - }, - "/_inference/{task_type}/{inference_id}": { - "get": { - "tags": [ - "inference" - ], - "summary": "Get an inference endpoint", - "operationId": "inference-get-2", - "parameters": [ - { - "$ref": "#/components/parameters/inference.get-task_type" - }, - { - "$ref": "#/components/parameters/inference.get-inference_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/inference.get-200" - } - }, - "x-state": "Generally available", - "x-codeSamples": [ - { - "lang": "Console", - "source": "GET _inference/sparse_embedding/my-elser-model\n" - }, - { - "lang": "Python", - "source": "resp = client.inference.get(\n task_type=\"sparse_embedding\",\n inference_id=\"my-elser-model\",\n)" - }, - { - "lang": "JavaScript", - "source": "const response = await client.inference.get({\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\",\n});" - }, - { - "lang": "Ruby", - "source": "response = client.inference.get(\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\"\n)" - }, - { - "lang": "PHP", - "source": "$resp = $client->inference()->get([\n \"task_type\" => \"sparse_embedding\",\n \"inference_id\" => \"my-elser-model\",\n]);" - }, - { - "lang": "curl", - "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model\"" - } - ] - }, - "put": { - "tags": [ - "inference" - ], - "summary": "Create an inference endpoint", - "description": "IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Mistral, Azure OpenAI, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face.\nFor built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models.\nHowever, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.\n\nThe following integrations are available through the inference API. You can find the available task types next to the integration name:\n* AlibabaCloud AI Search (`completion`, `rerank`, `sparse_embedding`, `text_embedding`)\n* Amazon Bedrock (`completion`, `text_embedding`)\n* Anthropic (`completion`)\n* Azure AI Studio (`completion`, `text_embedding`)\n* Azure OpenAI (`completion`, `text_embedding`)\n* Cohere (`completion`, `rerank`, `text_embedding`)\n* Elasticsearch (`rerank`, `sparse_embedding`, `text_embedding` - this service is for built-in models and models uploaded through Eland)\n* ELSER (`sparse_embedding`)\n* Google AI Studio (`completion`, `text_embedding`)\n* Google Vertex AI (`rerank`, `text_embedding`)\n* Hugging Face (`chat_completion`, `completion`, `rerank`, `text_embedding`)\n* Mistral (`chat_completion`, `completion`, `text_embedding`)\n* OpenAI (`chat_completion`, `completion`, `text_embedding`)\n* VoyageAI (`text_embedding`, `rerank`)\n* Watsonx inference integration (`text_embedding`)\n* JinaAI (`text_embedding`, `rerank`)\n\n## Required authorization\n\n* Cluster privileges: `manage_inference`\n", - "operationId": "inference-put-1", - "parameters": [ - { - "$ref": "#/components/parameters/inference.put-task_type" - }, - { - "$ref": "#/components/parameters/inference.put-inference_id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/inference.put" - }, - "responses": { - "200": { - "$ref": "#/components/responses/inference.put-200" - } - }, - "x-state": "Generally available", - "x-codeSamples": [ - { - "lang": "Console", - "source": "PUT _inference/rerank/my-rerank-model\n{\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n}" - }, - { - "lang": "Python", - "source": "resp = client.inference.put(\n task_type=\"rerank\",\n inference_id=\"my-rerank-model\",\n inference_config={\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n },\n)" - }, - { - "lang": "JavaScript", - "source": "const response = await client.inference.put({\n task_type: \"rerank\",\n inference_id: \"my-rerank-model\",\n inference_config: {\n service: \"cohere\",\n service_settings: {\n model_id: \"rerank-english-v3.0\",\n api_key: \"{{COHERE_API_KEY}}\",\n },\n },\n});" - }, - { - "lang": "Ruby", - "source": "response = client.inference.put(\n task_type: \"rerank\",\n inference_id: \"my-rerank-model\",\n body: {\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n }\n)" - }, - { - "lang": "PHP", - "source": "$resp = $client->inference()->put([\n \"task_type\" => \"rerank\",\n \"inference_id\" => \"my-rerank-model\",\n \"body\" => [\n \"service\" => \"cohere\",\n \"service_settings\" => [\n \"model_id\" => \"rerank-english-v3.0\",\n \"api_key\" => \"{{COHERE_API_KEY}}\",\n ],\n ],\n]);" - }, - { - "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": [ + "inference" + ], + "summary": "Perform inference on the service", + "description": "This API enables you to use machine learning models to perform specific tasks on data that you provide as an input.\nIt returns a response with the results of the tasks.\nThe inference endpoint you use can perform one specific task that has been defined when the endpoint was created with the create inference API.\n\nFor details about using this API with a service, such as Amazon Bedrock, Anthropic, or HuggingFace, refer to the service-specific documentation.\n\n> info\n> The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face. For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models. However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.\n\n## Required authorization\n\n* Cluster privileges: `monitor_inference`\n", + "operationId": "inference-inference", + "parameters": [ + { + "$ref": "#/components/parameters/inference.inference-inference_id" + }, + { + "$ref": "#/components/parameters/inference.inference-timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/inference.inference" + }, + "responses": { + "200": { + "$ref": "#/components/responses/inference.inference-200" + } + }, + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" + }, + "delete": { + "tags": [ + "inference" + ], + "summary": "Delete an inference endpoint", + "operationId": "inference-delete", + "parameters": [ + { + "$ref": "#/components/parameters/inference.delete-inference_id" + }, + { + "$ref": "#/components/parameters/inference.delete-dry_run" + }, + { + "$ref": "#/components/parameters/inference.delete-force" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/inference.delete-200" + } + }, + "x-state": "Generally available", + "x-codeSamples": [ + { + "lang": "Console", + "source": "DELETE /_inference/sparse_embedding/my-elser-model\n" + }, + { + "lang": "Python", + "source": "resp = client.inference.delete(\n task_type=\"sparse_embedding\",\n inference_id=\"my-elser-model\",\n)" + }, + { + "lang": "JavaScript", + "source": "const response = await client.inference.delete({\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\",\n});" + }, + { + "lang": "Ruby", + "source": "response = client.inference.delete(\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\"\n)" + }, + { + "lang": "PHP", + "source": "$resp = $client->inference()->delete([\n \"task_type\" => \"sparse_embedding\",\n \"inference_id\" => \"my-elser-model\",\n]);" + }, + { + "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}": { + "get": { + "tags": [ + "inference" + ], + "summary": "Get an inference endpoint", + "operationId": "inference-get-2", + "parameters": [ + { + "$ref": "#/components/parameters/inference.get-task_type" + }, + { + "$ref": "#/components/parameters/inference.get-inference_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/inference.get-200" + } + }, + "x-state": "Generally available", + "x-codeSamples": [ + { + "lang": "Console", + "source": "GET _inference/sparse_embedding/my-elser-model\n" + }, + { + "lang": "Python", + "source": "resp = client.inference.get(\n task_type=\"sparse_embedding\",\n inference_id=\"my-elser-model\",\n)" + }, + { + "lang": "JavaScript", + "source": "const response = await client.inference.get({\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\",\n});" + }, + { + "lang": "Ruby", + "source": "response = client.inference.get(\n task_type: \"sparse_embedding\",\n inference_id: \"my-elser-model\"\n)" + }, + { + "lang": "PHP", + "source": "$resp = $client->inference()->get([\n \"task_type\" => \"sparse_embedding\",\n \"inference_id\" => \"my-elser-model\",\n]);" + }, + { + "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": [ + "inference" + ], + "summary": "Create an inference endpoint", + "description": "IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Mistral, Azure OpenAI, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face.\nFor built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models.\nHowever, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.\n\nThe following integrations are available through the inference API. You can find the available task types next to the integration name:\n* AlibabaCloud AI Search (`completion`, `rerank`, `sparse_embedding`, `text_embedding`)\n* Amazon Bedrock (`completion`, `text_embedding`)\n* Anthropic (`completion`)\n* Azure AI Studio (`completion`, `text_embedding`)\n* Azure OpenAI (`completion`, `text_embedding`)\n* Cohere (`completion`, `rerank`, `text_embedding`)\n* Elasticsearch (`rerank`, `sparse_embedding`, `text_embedding` - this service is for built-in models and models uploaded through Eland)\n* ELSER (`sparse_embedding`)\n* Google AI Studio (`completion`, `text_embedding`)\n* Google Vertex AI (`rerank`, `text_embedding`)\n* Hugging Face (`chat_completion`, `completion`, `rerank`, `text_embedding`)\n* Mistral (`chat_completion`, `completion`, `text_embedding`)\n* OpenAI (`chat_completion`, `completion`, `text_embedding`)\n* VoyageAI (`text_embedding`, `rerank`)\n* Watsonx inference integration (`text_embedding`)\n* JinaAI (`text_embedding`, `rerank`)\n\n## Required authorization\n\n* Cluster privileges: `manage_inference`\n", + "operationId": "inference-put-1", + "parameters": [ + { + "$ref": "#/components/parameters/inference.put-task_type" + }, + { + "$ref": "#/components/parameters/inference.put-inference_id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/inference.put" + }, + "responses": { + "200": { + "$ref": "#/components/responses/inference.put-200" + } + }, + "x-state": "Generally available", + "x-codeSamples": [ + { + "lang": "Console", + "source": "PUT _inference/rerank/my-rerank-model\n{\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n}" + }, + { + "lang": "Python", + "source": "resp = client.inference.put(\n task_type=\"rerank\",\n inference_id=\"my-rerank-model\",\n inference_config={\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n },\n)" + }, + { + "lang": "JavaScript", + "source": "const response = await client.inference.put({\n task_type: \"rerank\",\n inference_id: \"my-rerank-model\",\n inference_config: {\n service: \"cohere\",\n service_settings: {\n model_id: \"rerank-english-v3.0\",\n api_key: \"{{COHERE_API_KEY}}\",\n },\n },\n});" + }, + { + "lang": "Ruby", + "source": "response = client.inference.put(\n task_type: \"rerank\",\n inference_id: \"my-rerank-model\",\n body: {\n \"service\": \"cohere\",\n \"service_settings\": {\n \"model_id\": \"rerank-english-v3.0\",\n \"api_key\": \"{{COHERE_API_KEY}}\"\n }\n }\n)" + }, + { + "lang": "PHP", + "source": "$resp = $client->inference()->put([\n \"task_type\" => \"rerank\",\n \"inference_id\" => \"my-rerank-model\",\n \"body\" => [\n \"service\" => \"cohere\",\n \"service_settings\" => [\n \"model_id\" => \"rerank-english-v3.0\",\n \"api_key\" => \"{{COHERE_API_KEY}}\",\n ],\n ],\n]);" + }, + { + "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": [ @@ -14467,7 +14647,8 @@ "$ref": "#/components/responses/inference.inference-200" } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -14520,7 +14701,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": { @@ -14561,7 +14743,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}": { @@ -14683,7 +14866,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}": { @@ -14795,7 +14979,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}": { @@ -14901,7 +15086,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}": { @@ -15013,7 +15199,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}": { @@ -15125,7 +15312,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}": { @@ -15237,7 +15425,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}": { @@ -15375,7 +15564,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}": { @@ -15491,7 +15681,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}": { @@ -15595,7 +15786,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}": { @@ -15707,7 +15899,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}": { @@ -15819,7 +16012,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}": { @@ -15931,7 +16125,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}": { @@ -16034,7 +16229,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}": { @@ -16146,7 +16342,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}": { @@ -16258,7 +16455,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}": { @@ -16358,7 +16556,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}": { @@ -16500,7 +16699,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}": { @@ -16616,7 +16816,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}": { @@ -16732,7 +16933,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" } }, "/": { @@ -16811,7 +17013,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "head": { "tags": [ @@ -16828,7 +17031,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch" } }, "/_ingest/pipeline/{id}": { @@ -16884,7 +17088,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": [ @@ -17028,7 +17233,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": [ @@ -17111,7 +17317,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": { @@ -17164,7 +17371,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": { @@ -17227,7 +17435,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": { @@ -17277,7 +17486,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": [ @@ -17325,7 +17535,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": { @@ -17378,7 +17589,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": [ @@ -17429,7 +17641,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": { @@ -17514,7 +17727,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_license\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_logstash/pipeline/{id}": { @@ -17564,7 +17778,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": [ @@ -17640,7 +17855,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": [ @@ -17699,7 +17915,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": { @@ -17744,7 +17961,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": { @@ -17815,7 +18033,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": [ @@ -17884,7 +18103,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": { @@ -17958,7 +18178,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": [ @@ -18030,7 +18251,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": { @@ -18158,7 +18380,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}": { @@ -18214,7 +18437,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": [ @@ -18312,7 +18536,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": [ @@ -18366,7 +18591,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": [ @@ -18432,7 +18658,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}": { @@ -18510,7 +18737,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}": { @@ -18599,7 +18827,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": [ @@ -18692,7 +18921,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}": { @@ -18751,7 +18981,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": [ @@ -18923,7 +19154,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": [ @@ -19009,7 +19241,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}": { @@ -19062,7 +19295,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": [ @@ -19297,7 +19531,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": [ @@ -19373,7 +19608,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}": { @@ -19426,7 +19662,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": [ @@ -19534,7 +19771,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": [ @@ -19600,7 +19838,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}": { @@ -19653,7 +19892,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": [ @@ -19917,7 +20157,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": [ @@ -20019,7 +20260,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}": { @@ -20087,7 +20329,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": [ @@ -20195,7 +20438,8 @@ } } }, - "x-state": "Generally available" + "x-state": "Generally available", + "x-product-feature": "elasticsearch, machine-learning" }, "delete": { "tags": [ @@ -20281,7 +20525,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}": { @@ -20364,7 +20609,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": [ @@ -20441,7 +20687,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": { @@ -20539,7 +20786,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": { @@ -20668,7 +20916,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": { @@ -20826,7 +21075,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": { @@ -20953,7 +21203,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": [ @@ -21052,7 +21303,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": { @@ -21105,7 +21357,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": [ @@ -21156,7 +21409,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": { @@ -21212,7 +21466,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": { @@ -21268,7 +21523,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": { @@ -21327,7 +21583,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": { @@ -21377,7 +21634,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": { @@ -21424,7 +21682,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": { @@ -21474,7 +21733,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": { @@ -21524,7 +21784,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": { @@ -21571,7 +21832,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": { @@ -21621,7 +21883,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": { @@ -21671,7 +21934,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": { @@ -21742,7 +22006,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": [ @@ -21811,7 +22076,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": { @@ -21876,7 +22142,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": { @@ -21932,7 +22199,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": { @@ -21985,7 +22253,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": { @@ -22101,7 +22370,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": { @@ -22211,7 +22481,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": { @@ -22256,7 +22527,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": [ @@ -22299,7 +22571,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": { @@ -22349,7 +22622,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": [ @@ -22397,7 +22671,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": { @@ -22453,7 +22728,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": [ @@ -22507,7 +22783,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": { @@ -22560,7 +22837,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": [ @@ -22611,7 +22889,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}": { @@ -22719,7 +22998,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": { @@ -22825,7 +23105,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": { @@ -22907,7 +23188,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": { @@ -22991,7 +23273,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": { @@ -23122,7 +23405,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": { @@ -23276,7 +23560,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": { @@ -23376,7 +23661,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": { @@ -23504,7 +23790,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": { @@ -23594,7 +23881,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": { @@ -23739,7 +24027,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": { @@ -23977,7 +24266,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": { @@ -24094,7 +24384,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": { @@ -24324,7 +24615,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": { @@ -24428,7 +24720,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": { @@ -24514,7 +24807,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": [ @@ -24598,7 +24892,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": { @@ -24687,7 +24982,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": [ @@ -24774,7 +25070,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": { @@ -24839,7 +25136,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": [ @@ -24902,7 +25200,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": { @@ -24970,7 +25269,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": [ @@ -25036,7 +25336,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": { @@ -25119,7 +25420,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": [ @@ -25200,7 +25502,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": { @@ -25286,7 +25589,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": [ @@ -25370,7 +25674,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": { @@ -25535,7 +25840,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}": { @@ -25600,70 +25906,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}": { @@ -25745,7 +26053,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": [ @@ -25870,7 +26179,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": [ @@ -25941,7 +26251,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}": { @@ -26009,7 +26320,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": [ @@ -26114,7 +26426,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": [ @@ -26174,7 +26487,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": { @@ -26266,7 +26580,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": { @@ -26377,7 +26692,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": { @@ -26436,7 +26752,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": [ @@ -26493,7 +26810,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": { @@ -26555,7 +26873,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": [ @@ -26615,7 +26934,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": { @@ -26911,7 +27231,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": { @@ -26956,7 +27277,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": [ @@ -26999,7 +27321,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}": { @@ -27049,7 +27372,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": [ @@ -27097,7 +27421,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": { @@ -27142,7 +27467,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": [ @@ -27185,7 +27511,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": { @@ -27364,7 +27691,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": [ @@ -27541,7 +27869,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": { @@ -27723,7 +28052,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": [ @@ -27903,7 +28233,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}": { @@ -27971,7 +28302,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": [ @@ -28065,7 +28397,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": [ @@ -28125,7 +28458,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}": { @@ -28172,7 +28506,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_application/analytics/my*\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -28232,7 +28567,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": [ @@ -28293,7 +28629,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": { @@ -28335,7 +28672,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": { @@ -28437,7 +28775,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": { @@ -28490,7 +28829,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": [ @@ -28541,7 +28881,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}": { @@ -28627,7 +28968,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": [ @@ -28711,7 +29053,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": { @@ -28800,7 +29143,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": [ @@ -28887,7 +29231,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": { @@ -28979,7 +29324,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": [ @@ -29069,7 +29415,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": { @@ -29187,7 +29534,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/_authenticate\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/api_key": { @@ -29341,7 +29689,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": [ @@ -29392,7 +29741,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": [ @@ -29443,7 +29793,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": [ @@ -29596,7 +29947,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}": { @@ -29643,7 +29995,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": [ @@ -29697,7 +30050,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": [ @@ -29751,7 +30105,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": [ @@ -29836,7 +30191,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": { @@ -29914,7 +30270,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_security/privilege/_builtin\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_security/role": { @@ -29956,7 +30313,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": { @@ -30004,7 +30362,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": [ @@ -30050,7 +30409,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": { @@ -30103,7 +30463,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": [ @@ -30154,7 +30515,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": { @@ -30210,7 +30572,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": [ @@ -30264,7 +30627,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": { @@ -30309,7 +30673,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": [ @@ -30352,7 +30717,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}": { @@ -30466,7 +30832,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": { @@ -30547,7 +30914,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}": { @@ -30609,7 +30977,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}": { @@ -30748,7 +31117,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}": { @@ -30840,7 +31210,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_sql/async/status/FnR0TDhyWUVmUmVtWXRWZER4MXZiNFEad2F5UDk2ZVdTVHV1S0xDUy00SklUdzozMTU=\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_sql": { @@ -30890,7 +31261,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": [ @@ -30938,7 +31310,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": { @@ -30983,7 +31356,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": [ @@ -31026,7 +31400,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}": { @@ -31131,7 +31506,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": [ @@ -31231,7 +31607,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": [ @@ -31291,7 +31668,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}": { @@ -31370,7 +31748,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": [ @@ -31472,7 +31851,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": [ @@ -31549,7 +31929,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": { @@ -31643,7 +32024,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_synonyms\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_tasks/{task_id}": { @@ -31755,7 +32137,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": { @@ -31805,7 +32188,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": [ @@ -31853,7 +32237,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}": { @@ -31942,7 +32327,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": [ @@ -32029,7 +32415,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": { @@ -32115,7 +32502,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": [ @@ -32199,7 +32587,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}": { @@ -32258,7 +32647,8 @@ "lang": "curl", "source": "curl -X GET -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform?size=10\"" } - ] + ], + "x-product-feature": "elasticsearch" }, "put": { "tags": [ @@ -32403,7 +32793,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": [ @@ -32499,7 +32890,8 @@ "lang": "curl", "source": "curl -X DELETE -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \"$ELASTICSEARCH_URL/_transform/ecommerce_transform\"" } - ] + ], + "x-product-feature": "elasticsearch" } }, "/_transform": { @@ -32555,7 +32947,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": { @@ -32678,7 +33071,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": { @@ -32731,7 +33125,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": [ @@ -32782,7 +33177,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": { @@ -32832,7 +33228,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": [ @@ -32880,7 +33277,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": { @@ -32968,7 +33366,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": { @@ -33046,7 +33445,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": { @@ -33134,7 +33534,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": { @@ -33252,7 +33653,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": { @@ -33445,7 +33847,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}": { @@ -33750,7 +34153,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": { @@ -34239,7 +34643,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" +}