From 265bff14992de914966894d273bde12122e876ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 23 Apr 2025 18:28:52 +0200 Subject: [PATCH] [8.16][DOCS] Renames ML get usage info APIs back to get stats. --- output/openapi/elasticsearch-openapi.json | 12 ++++++------ output/openapi/elasticsearch-serverless-openapi.json | 12 ++++++------ output/schema/schema-serverless.json | 12 ++++++------ output/schema/schema.json | 12 ++++++------ .../MlGetDataFrameAnalyticsStatsRequest.ts | 2 +- .../get_datafeed_stats/MlGetDatafeedStatsRequest.ts | 2 +- .../ml/get_job_stats/MlGetJobStatsRequest.ts | 2 +- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 226d6049fc..036d7e2c3c 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -19562,7 +19562,7 @@ "tags": [ "ml data frame" ], - "summary": "Get data frame analytics jobs usage info", + "summary": "Get data frame analytics job stats", "operationId": "ml-get-data-frame-analytics-stats", "parameters": [ { @@ -19591,7 +19591,7 @@ "tags": [ "ml data frame" ], - "summary": "Get data frame analytics jobs usage info", + "summary": "Get data frame analytics job stats", "operationId": "ml-get-data-frame-analytics-stats-1", "parameters": [ { @@ -19623,7 +19623,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get datafeeds usage info", + "summary": "Get datafeeds stats", "description": "You can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "operationId": "ml-get-datafeed-stats", "parameters": [ @@ -19647,7 +19647,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get datafeeds usage info", + "summary": "Get datafeeds stats", "description": "You can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "operationId": "ml-get-datafeed-stats-1", "parameters": [ @@ -19810,7 +19810,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get anomaly detection jobs usage info", + "summary": "Get anomaly detection job stats", "operationId": "ml-get-job-stats", "parameters": [ { @@ -19830,7 +19830,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get anomaly detection jobs usage info", + "summary": "Get anomaly detection job stats", "operationId": "ml-get-job-stats-1", "parameters": [ { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 8cf9ea9c39..0b1c3ab97e 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -11930,7 +11930,7 @@ "tags": [ "ml data frame" ], - "summary": "Get data frame analytics jobs usage info", + "summary": "Get data frame analytics job stats", "operationId": "ml-get-data-frame-analytics-stats", "parameters": [ { @@ -11959,7 +11959,7 @@ "tags": [ "ml data frame" ], - "summary": "Get data frame analytics jobs usage info", + "summary": "Get data frame analytics job stats", "operationId": "ml-get-data-frame-analytics-stats-1", "parameters": [ { @@ -11991,7 +11991,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get datafeeds usage info", + "summary": "Get datafeeds stats", "description": "You can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "operationId": "ml-get-datafeed-stats", "parameters": [ @@ -12015,7 +12015,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get datafeeds usage info", + "summary": "Get datafeeds stats", "description": "You can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "operationId": "ml-get-datafeed-stats-1", "parameters": [ @@ -12084,7 +12084,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get anomaly detection jobs usage info", + "summary": "Get anomaly detection job stats", "operationId": "ml-get-job-stats", "parameters": [ { @@ -12104,7 +12104,7 @@ "tags": [ "ml anomaly" ], - "summary": "Get anomaly detection jobs usage info", + "summary": "Get anomaly detection job stats", "operationId": "ml-get-job-stats-1", "parameters": [ { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 9f8d38dc6b..9f0b04c3b0 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -5635,7 +5635,7 @@ "stability": "stable" } }, - "description": "Get data frame analytics jobs usage info.", + "description": "Get data frame analytics job stats.", "docTag": "ml data frame", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html", "name": "ml.get_data_frame_analytics_stats", @@ -5682,7 +5682,7 @@ "stability": "stable" } }, - "description": "Get datafeeds usage info.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", + "description": "Get datafeeds stats.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "docTag": "ml anomaly", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html", "name": "ml.get_datafeed_stats", @@ -5823,7 +5823,7 @@ "stability": "stable" } }, - "description": "Get anomaly detection jobs usage info.", + "description": "Get anomaly detection job stats.", "docTag": "ml anomaly", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html", "name": "ml.get_job_stats", @@ -27904,7 +27904,7 @@ "body": { "kind": "no_body" }, - "description": "Get data frame analytics jobs usage info.", + "description": "Get data frame analytics job stats.", "inherits": { "type": { "name": "RequestBase", @@ -28032,7 +28032,7 @@ "body": { "kind": "no_body" }, - "description": "Get datafeeds usage info.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", + "description": "Get datafeeds stats.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "inherits": { "type": { "name": "RequestBase", @@ -28320,7 +28320,7 @@ "body": { "kind": "no_body" }, - "description": "Get anomaly detection jobs usage info.", + "description": "Get anomaly detection job stats.", "inherits": { "type": { "name": "RequestBase", diff --git a/output/schema/schema.json b/output/schema/schema.json index 3e79ee3e88..0c24c15c4a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -10684,7 +10684,7 @@ "stability": "stable" } }, - "description": "Get data frame analytics jobs usage info.", + "description": "Get data frame analytics job stats.", "docTag": "ml data frame", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html", "name": "ml.get_data_frame_analytics_stats", @@ -10731,7 +10731,7 @@ "stability": "stable" } }, - "description": "Get datafeeds usage info.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", + "description": "Get datafeeds stats.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "docTag": "ml anomaly", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html", "name": "ml.get_datafeed_stats", @@ -10917,7 +10917,7 @@ "stability": "stable" } }, - "description": "Get anomaly detection jobs usage info.", + "description": "Get anomaly detection job stats.", "docTag": "ml anomaly", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html", "name": "ml.get_job_stats", @@ -166174,7 +166174,7 @@ "body": { "kind": "no_body" }, - "description": "Get data frame analytics jobs usage info.", + "description": "Get data frame analytics job stats.", "inherits": { "type": { "name": "RequestBase", @@ -166302,7 +166302,7 @@ "body": { "kind": "no_body" }, - "description": "Get datafeeds usage info.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", + "description": "Get datafeeds stats.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "inherits": { "type": { "name": "RequestBase", @@ -166783,7 +166783,7 @@ "body": { "kind": "no_body" }, - "description": "Get anomaly detection jobs usage info.", + "description": "Get anomaly detection job stats.", "inherits": { "type": { "name": "RequestBase", diff --git a/specification/ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts b/specification/ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts index 89b91f32df..a80585763c 100644 --- a/specification/ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts +++ b/specification/ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts @@ -22,7 +22,7 @@ import { Id } from '@_types/common' import { integer } from '@_types/Numeric' /** - * Get data frame analytics jobs usage info. + * Get data frame analytics job stats. * @rest_spec_name ml.get_data_frame_analytics_stats * @availability stack since=7.3.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts b/specification/ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts index 3f8f19d4e5..24e005e5d5 100644 --- a/specification/ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts +++ b/specification/ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts @@ -21,7 +21,7 @@ import { RequestBase } from '@_types/Base' import { Ids } from '@_types/common' /** - * Get datafeeds usage info. + * Get datafeeds stats. * You can get statistics for multiple datafeeds in a single API request by * using a comma-separated list of datafeeds or a wildcard expression. You can * get statistics for all datafeeds by using `_all`, by specifying `*` as the diff --git a/specification/ml/get_job_stats/MlGetJobStatsRequest.ts b/specification/ml/get_job_stats/MlGetJobStatsRequest.ts index f4b357fbb8..64b87d1295 100644 --- a/specification/ml/get_job_stats/MlGetJobStatsRequest.ts +++ b/specification/ml/get_job_stats/MlGetJobStatsRequest.ts @@ -21,7 +21,7 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Get anomaly detection jobs usage info. + * Get anomaly detection job stats. * @rest_spec_name ml.get_job_stats * @availability stack since=5.5.0 stability=stable * @availability serverless stability=stable visibility=public