diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 570b6f4925..44c940ca4c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -4700,56 +4700,6 @@ "x-state": "Added in 7.5.0" } }, - "/_enrich/_stats": { - "get": { - "tags": [ - "enrich" - ], - "summary": "Get enrich stats", - "description": "Returns enrich coordinator statistics and information about enrich policies that are currently executing.", - "operationId": "enrich-stats", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "coordinator_stats": { - "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:CoordinatorStats" - } - }, - "executing_policies": { - "description": "Objects containing information about each enrich policy that is currently executing.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:ExecutingPolicy" - } - }, - "cache_stats": { - "description": "Objects containing information about the enrich cache stats on each ingest node.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:CacheStats" - } - } - }, - "required": [ - "coordinator_stats", - "executing_policies" - ] - } - } - } - } - }, - "x-state": "Added in 7.5.0" - } - }, "/_eql/search/{id}": { "get": { "tags": [ @@ -6746,298 +6696,76 @@ } } }, - "/_data_stream/{name}/_lifecycle": { + "/_index_template/{name}": { "get": { "tags": [ - "data stream" + "indices" ], - "summary": "Get data stream lifecycles", - "description": "Retrieves the data stream lifecycle configuration of one or more data streams.", - "operationId": "indices-get-data-lifecycle", + "summary": "Get index templates", + "description": "Returns information about one or more index templates.", + "operationId": "indices-get-index-template-1", "parameters": [ { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_index_template#name" }, { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamWithLifecycle" - } - } - }, - "required": [ - "data_streams" - ] - } - } - } - } - }, - "x-state": "Added in 8.11.0" - }, - "put": { - "tags": [ - "indices" - ], - "summary": "Update data stream lifecycles", - "description": "Update the data stream lifecycle of the specified data streams.", - "operationId": "indices-put-data-lifecycle", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" + "$ref": "#/components/parameters/indices.get_index_template#local" }, { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" }, { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" }, { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" - }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" - } - } - } - } - } - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } + "$ref": "#/components/responses/indices.get_index_template#200" } }, - "x-state": "Added in 8.11.0" + "x-state": "Added in 7.9.0" }, - "delete": { + "put": { "tags": [ "indices" ], - "summary": "Delete data stream lifecycles", - "description": "Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.", - "operationId": "indices-delete-data-lifecycle", + "summary": "Create or update an index template", + "description": "Index templates define settings, mappings, and aliases that can be applied automatically to new indices.", + "operationId": "indices-put-index-template", "parameters": [ { - "in": "path", - "name": "name", - "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" + "$ref": "#/components/parameters/indices.put_index_template#name" }, { - "in": "query", - "name": "expand_wildcards", - "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" + "$ref": "#/components/parameters/indices.put_index_template#create" }, { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.put_index_template#master_timeout" }, { - "in": "query", - "name": "timeout", - "description": "Explicit timestamp for the document", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.put_index_template#cause" } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" }, - "x-state": "Added in 8.11.0" - } - }, - "/_index_template/{name}": { - "get": { - "tags": [ - "indices" - ], - "summary": "Get index templates", - "description": "Returns information about one or more index templates.", - "operationId": "indices-get-index-template-1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#include_defaults" - } - ], "responses": { "200": { - "$ref": "#/components/responses/indices.get_index_template#200" + "$ref": "#/components/responses/indices.put_index_template#200" } }, "x-state": "Added in 7.9.0" }, - "put": { + "post": { "tags": [ "indices" ], "summary": "Create or update an index template", "description": "Index templates define settings, mappings, and aliases that can be applied automatically to new indices.", - "operationId": "indices-put-index-template", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#cause" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_index_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_index_template#200" - } - }, - "x-state": "Added in 7.9.0" - }, - "post": { - "tags": [ - "indices" - ], - "summary": "Create or update an index template", - "description": "Index templates define settings, mappings, and aliases that can be applied automatically to new indices.", - "operationId": "indices-put-index-template-1", + "operationId": "indices-put-index-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_index_template#name" @@ -7345,6 +7073,164 @@ } } }, + "/_data_stream/{name}/_lifecycle": { + "get": { + "tags": [ + "data stream" + ], + "summary": "Get data stream lifecycles", + "description": "Retrieves the data stream lifecycle configuration of one or more data streams.", + "operationId": "indices-get-data-lifecycle", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamWithLifecycle" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + } + }, + "x-state": "Added in 8.11.0" + }, + "put": { + "tags": [ + "indices" + ], + "summary": "Update data stream lifecycles", + "description": "Update the data stream lifecycle of the specified data streams.", + "operationId": "indices-put-data-lifecycle", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + }, + "x-state": "Added in 8.11.0" + } + }, "/_data_stream": { "get": { "tags": [ @@ -43973,145 +43859,6 @@ "match_field" ] }, - "enrich.stats:CoordinatorStats": { - "type": "object", - "properties": { - "executed_searches_total": { - "type": "number" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "queue_size": { - "type": "number" - }, - "remote_requests_current": { - "type": "number" - }, - "remote_requests_total": { - "type": "number" - } - }, - "required": [ - "executed_searches_total", - "node_id", - "queue_size", - "remote_requests_current", - "remote_requests_total" - ] - }, - "enrich.stats:ExecutingPolicy": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "task": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - }, - "required": [ - "name", - "task" - ] - }, - "tasks._types:TaskInfo": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "cancelled": { - "type": "boolean" - }, - "cancellable": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "id": { - "type": "number" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "running_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "running_time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "status": { - "description": "Task status information can vary wildly from task to task.", - "type": "object" - }, - "type": { - "type": "string" - }, - "parent_task_id": { - "$ref": "#/components/schemas/_types:TaskId" - } - }, - "required": [ - "action", - "cancellable", - "headers", - "id", - "node", - "running_time_in_nanos", - "start_time_in_millis", - "type" - ] - }, - "enrich.stats:CacheStats": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "count": { - "type": "number" - }, - "hits": { - "type": "number" - }, - "hits_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "misses": { - "type": "number" - }, - "misses_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "evictions": { - "type": "number" - }, - "size_in_bytes": { - "type": "number" - } - }, - "required": [ - "node_id", - "count", - "hits", - "hits_time_in_millis", - "misses", - "misses_time_in_millis", - "evictions", - "size_in_bytes" - ] - }, "eql._types:EqlSearchResponseBase": { "type": "object", "properties": { @@ -54108,6 +53855,64 @@ "synonyms" ] }, + "tasks._types:TaskInfo": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "cancelled": { + "type": "boolean" + }, + "cancellable": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "id": { + "type": "number" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "running_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "status": { + "description": "Task status information can vary wildly from task to task.", + "type": "object" + }, + "type": { + "type": "string" + }, + "parent_task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "action", + "cancellable", + "headers", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "type" + ] + }, "transform.get_transform:TransformSummary": { "type": "object", "properties": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index b4509d3fee..edfd942e9c 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -2240,41 +2240,6 @@ } ] }, - { - "availability": { - "serverless": { - "stability": "stable", - "visibility": "public" - }, - "stack": { - "since": "7.5.0", - "stability": "stable" - } - }, - "description": "Get enrich stats.\nReturns enrich coordinator statistics and information about enrich policies that are currently executing.", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html", - "name": "enrich.stats", - "request": { - "name": "Request", - "namespace": "enrich.stats" - }, - "requestBodyRequired": false, - "response": { - "name": "Response", - "namespace": "enrich.stats" - }, - "responseMediaType": [ - "application/json" - ], - "urls": [ - { - "methods": [ - "GET" - ], - "path": "/_enrich/_stats" - } - ] - }, { "availability": { "serverless": { @@ -3049,41 +3014,6 @@ } ] }, - { - "availability": { - "serverless": { - "stability": "stable", - "visibility": "public" - }, - "stack": { - "since": "8.11.0", - "stability": "stable" - } - }, - "description": "Delete data stream lifecycles.\nRemoves the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html", - "name": "indices.delete_data_lifecycle", - "request": { - "name": "Request", - "namespace": "indices.delete_data_lifecycle" - }, - "requestBodyRequired": false, - "response": { - "name": "Response", - "namespace": "indices.delete_data_lifecycle" - }, - "responseMediaType": [ - "application/json" - ], - "urls": [ - { - "methods": [ - "DELETE" - ], - "path": "/_data_stream/{name}/_lifecycle" - } - ] - }, { "availability": { "serverless": { @@ -16815,93 +16745,6 @@ }, "specLocation": "enrich/put_policy/PutEnrichPolicyResponse.ts#L22-L24" }, - { - "attachedBehaviors": [ - "CommonQueryParameters" - ], - "body": { - "kind": "no_body" - }, - "description": "Get enrich stats.\nReturns enrich coordinator statistics and information about enrich policies that are currently executing.", - "inherits": { - "type": { - "name": "RequestBase", - "namespace": "_types" - } - }, - "kind": "request", - "name": { - "name": "Request", - "namespace": "enrich.stats" - }, - "path": [], - "query": [], - "specLocation": "enrich/stats/EnrichStatsRequest.ts#L22-L29" - }, - { - "body": { - "kind": "properties", - "properties": [ - { - "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", - "name": "coordinator_stats", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "CoordinatorStats", - "namespace": "enrich.stats" - } - } - } - }, - { - "description": "Objects containing information about each enrich policy that is currently executing.", - "name": "executing_policies", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "ExecutingPolicy", - "namespace": "enrich.stats" - } - } - } - }, - { - "availability": { - "serverless": {}, - "stack": { - "since": "7.16.0" - } - }, - "description": "Objects containing information about the enrich cache stats on each ingest node.", - "name": "cache_stats", - "required": false, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "CacheStats", - "namespace": "enrich.stats" - } - } - } - } - ] - }, - "kind": "response", - "name": { - "name": "Response", - "namespace": "enrich.stats" - }, - "specLocation": "enrich/stats/EnrichStatsResponse.ts#L22-L39" - }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -20431,97 +20274,6 @@ }, "specLocation": "indices/delete_alias/IndicesDeleteAliasResponse.ts#L22-L24" }, - { - "attachedBehaviors": [ - "CommonQueryParameters" - ], - "body": { - "kind": "no_body" - }, - "description": "Delete data stream lifecycles.\nRemoves the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.", - "inherits": { - "type": { - "name": "RequestBase", - "namespace": "_types" - } - }, - "kind": "request", - "name": { - "name": "Request", - "namespace": "indices.delete_data_lifecycle" - }, - "path": [ - { - "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", - "name": "name", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "DataStreamNames", - "namespace": "_types" - } - } - } - ], - "query": [ - { - "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", - "name": "expand_wildcards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "ExpandWildcards", - "namespace": "_types" - } - } - }, - { - "description": "Specify timeout for connection to master", - "name": "master_timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Duration", - "namespace": "_types" - } - } - }, - { - "description": "Explicit timestamp for the document", - "name": "timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Duration", - "namespace": "_types" - } - } - } - ], - "specLocation": "indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts#L24-L40" - }, - { - "body": { - "kind": "value", - "value": { - "kind": "instance_of", - "type": { - "name": "AcknowledgedResponseBase", - "namespace": "_types" - } - } - }, - "kind": "response", - "name": { - "name": "Response", - "namespace": "indices.delete_data_lifecycle" - }, - "specLocation": "indices/delete_data_lifecycle/IndicesDeleteDataLifecycleResponse.ts#L22-L24" - }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -116506,219 +116258,6 @@ ], "specLocation": "enrich/_types/Policy.ts#L34-L41" }, - { - "kind": "interface", - "name": { - "name": "CoordinatorStats", - "namespace": "enrich.stats" - }, - "properties": [ - { - "name": "executed_searches_total", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } - }, - { - "name": "node_id", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Id", - "namespace": "_types" - } - } - }, - { - "name": "queue_size", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "remote_requests_current", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "remote_requests_total", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } - } - ], - "specLocation": "enrich/stats/types.ts#L30-L36" - }, - { - "kind": "interface", - "name": { - "name": "ExecutingPolicy", - "namespace": "enrich.stats" - }, - "properties": [ - { - "name": "name", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Name", - "namespace": "_types" - } - } - }, - { - "name": "task", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "TaskInfo", - "namespace": "tasks._types" - } - } - } - ], - "specLocation": "enrich/stats/types.ts#L25-L28" - }, - { - "kind": "interface", - "name": { - "name": "CacheStats", - "namespace": "enrich.stats" - }, - "properties": [ - { - "name": "node_id", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Id", - "namespace": "_types" - } - } - }, - { - "name": "count", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "hits", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "hits_time_in_millis", - "required": true, - "type": { - "generics": [ - { - "kind": "instance_of", - "type": { - "name": "UnitMillis", - "namespace": "_types" - } - } - ], - "kind": "instance_of", - "type": { - "name": "DurationValue", - "namespace": "_types" - } - } - }, - { - "name": "misses", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "misses_time_in_millis", - "required": true, - "type": { - "generics": [ - { - "kind": "instance_of", - "type": { - "name": "UnitMillis", - "namespace": "_types" - } - } - ], - "kind": "instance_of", - "type": { - "name": "DurationValue", - "namespace": "_types" - } - } - }, - { - "name": "evictions", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, - { - "name": "size_in_bytes", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } - } - ], - "specLocation": "enrich/stats/types.ts#L38-L50" - }, { "generics": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index 9371b501cd..38d4e86e5f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -4552,7 +4552,7 @@ "availability": { "serverless": { "stability": "stable", - "visibility": "public" + "visibility": "private" }, "stack": { "since": "7.5.0", @@ -6327,7 +6327,7 @@ "availability": { "serverless": { "stability": "stable", - "visibility": "public" + "visibility": "private" }, "stack": { "since": "8.11.0", diff --git a/specification/enrich/stats/EnrichStatsRequest.ts b/specification/enrich/stats/EnrichStatsRequest.ts index 803dadb3d6..f00bdc2efd 100644 --- a/specification/enrich/stats/EnrichStatsRequest.ts +++ b/specification/enrich/stats/EnrichStatsRequest.ts @@ -24,6 +24,6 @@ import { RequestBase } from '@_types/Base' * Returns enrich coordinator statistics and information about enrich policies that are currently executing. * @rest_spec_name enrich.stats * @availability stack since=7.5.0 stability=stable - * @availability serverless stability=stable visibility=public + * @availability serverless stability=stable visibility=private */ export interface Request extends RequestBase {} diff --git a/specification/indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts b/specification/indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts index 5ad6922432..2abd7c0973 100644 --- a/specification/indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts +++ b/specification/indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts @@ -26,7 +26,7 @@ import { Duration } from '@_types/Time' * Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle. * @rest_spec_name indices.delete_data_lifecycle * @availability stack since=8.11.0 stability=stable - * @availability serverless stability=stable visibility=public + * @availability serverless stability=stable visibility=private */ export interface Request extends RequestBase { path_parts: {