Skip to content

Commit c3dcedf

Browse files
authored
Add further summaries (#2734)
1 parent 6fd441a commit c3dcedf

33 files changed

+357
-278
lines changed

output/openapi/elasticsearch-openapi.json

+100-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

+96-80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

+90-90
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/delete_by_query/DeleteByQueryRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { Duration } from '@_types/Time'
3434
import { Operator } from '@_types/query_dsl/Operator'
3535

3636
/**
37+
* Delete documents.
3738
* Deletes documents that match the specified query.
3839
* @rest_spec_name delete_by_query
3940
* @availability stack since=5.0.0 stability=stable

specification/_global/update_by_query/UpdateByQueryRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { Duration } from '@_types/Time'
3535
import { Operator } from '@_types/query_dsl/Operator'
3636

3737
/**
38+
* Update documents.
3839
* Updates documents that match the specified query.
3940
* If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
4041
* @rest_spec_name update_by_query

specification/cat/aliases/CatAliasesRequest.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ import { CatRequestBase } from '@cat/_types/CatBase'
2121
import { ExpandWildcards, Names } from '@_types/common'
2222

2323
/**
24+
* Get aliases.
2425
* Retrieves the cluster’s index aliases, including filter and routing information.
2526
* The API does not return data stream aliases.
26-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
27+
* > info
28+
* > CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use [the /_alias endpoints](#endpoint-alias).
2729
* @rest_spec_name cat.aliases
2830
* @availability stack stability=stable
2931
* @availability serverless stability=stable visibility=public

specification/cat/component_templates/CatComponentTemplatesRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
import { CatRequestBase } from '@cat/_types/CatBase'
2121

2222
/**
23+
* Get component templates.
2324
* Returns information about component templates in a cluster.
2425
* Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
25-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
26-
* They are not intended for use by applications. For application consumption, use the get component template API.
26+
* > info
27+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
28+
* They are not intended for use by applications. For application consumption, use [the /_component_template endpoints](#endpoint-component-template).
2729
* @rest_spec_name cat.component_templates
2830
* @availability stack since=5.1.0 stability=stable
2931
* @availability serverless stability=stable visibility=public

specification/cat/count/CatCountRequest.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ import { CatRequestBase } from '@cat/_types/CatBase'
2121
import { Indices } from '@_types/common'
2222

2323
/**
24-
* Provides quick access to a document count for a data stream, an index, or an entire cluster.
25-
* NOTE: The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
26-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
27-
* They are not intended for use by applications. For application consumption, use the count API.
24+
* Get a document count.
25+
* Provides quick access to a document count for a data stream, an index, or an entire cluster.n/
26+
* The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
27+
* > info
28+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
29+
* They are not intended for use by applications. For application consumption, use [the /_count endpoints](#endpoint-count).
2830
* @rest_spec_name cat.count
2931
* @availability stack stability=stable
3032
* @availability serverless stability=stable visibility=public

specification/cat/help/CatHelpRequest.ts

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import { CatRequestBase } from '@cat/_types/CatBase'
2121

2222
/**
23+
* Get CAT help.
24+
* Returns help for the CAT APIs.
2325
* @rest_spec_name cat.help
2426
* @availability stack stability=stable
2527
* @availability serverless stability=stable visibility=public

specification/cat/indices/CatIndicesRequest.ts

+13-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,21 @@ import { Bytes, ExpandWildcards, HealthStatus, Indices } from '@_types/common'
2222
import { TimeUnit } from '@_types/Time'
2323

2424
/**
25+
* Get index information.
2526
* Returns high-level information about indices in a cluster, including backing indices for data streams.
26-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
27-
* They are not intended for use by applications. For application consumption, use the get index API.
28-
* Use the cat indices API to get the following information for each index in a cluster: shard count; document count; deleted document count; primary store size; total store size of all shards, including shard replicas.
27+
* > info
28+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
29+
* They are not intended for use by applications. For application consumption, use an index endpoint.
30+
*
31+
* Use this request to get the following information for each index in a cluster:
32+
* - shard count
33+
* - document count
34+
* - deleted document count
35+
* - primary store size
36+
* - total store size of all shards, including shard replicas
37+
*
2938
* These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents.
30-
* To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
39+
* To get an accurate count of Elasticsearch documents, use the [/_cat/count](#operation-cat-count) or [count](#endpoint-count) endpoints.
3140
* @rest_spec_name cat.indices
3241
* @availability stack stability=stable
3342
* @availability serverless stability=stable visibility=public

specification/cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ import { Bytes, Id } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Get data frame analytics jobs.
2526
* Returns configuration and usage information about data frame analytics jobs.
2627
*
27-
* IMPORTANT: cat APIs are only intended for human consumption using the Kibana
28+
* > info
29+
* > CAT APIs are only intended for human consumption using the Kibana
2830
* console or command line. They are not intended for use by applications. For
29-
* application consumption, use the get data frame analytics jobs statistics API.
31+
* application consumption, use [the /_ml/data_frame/analytics endpoints](#endpoint-ml).
3032
*
3133
* @rest_spec_name cat.ml_data_frame_analytics
3234
* @availability stack since=7.7.0 stability=stable

specification/cat/ml_datafeeds/CatDatafeedsRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ import { Id } from '@_types/common'
2222
import { TimeUnit } from '@_types/Time'
2323

2424
/**
25+
* Get datafeeds.
2526
* Returns configuration and usage information about datafeeds.
2627
* This API returns a maximum of 10,000 datafeeds.
2728
* If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
2829
* cluster privileges to use this API.
2930
*
30-
* IMPORTANT: cat APIs are only intended for human consumption using the Kibana
31+
* > info
32+
* > CAT APIs are only intended for human consumption using the Kibana
3133
* console or command line. They are not intended for use by applications. For
32-
* application consumption, use the get datafeed statistics API.
34+
* application consumption, use [the /_ml/datafeeds endpoints](#endpoint-ml).
3335
*
3436
* @rest_spec_name cat.ml_datafeeds
3537
* @availability stack since=7.7.0 stability=stable

specification/cat/ml_jobs/CatJobsRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ import { Bytes, Id } from '@_types/common'
2222
import { TimeUnit } from '@_types/Time'
2323

2424
/**
25+
* Get anomaly detection jobs.
2526
* Returns configuration and usage information for anomaly detection jobs.
2627
* This API returns a maximum of 10,000 jobs.
2728
* If the Elasticsearch security features are enabled, you must have `monitor_ml`,
2829
* `monitor`, `manage_ml`, or `manage` cluster privileges to use this API.
2930
*
30-
* IMPORTANT: cat APIs are only intended for human consumption using the Kibana
31+
* > info
32+
* > CAT APIs are only intended for human consumption using the Kibana
3133
* console or command line. They are not intended for use by applications. For
32-
* application consumption, use the get anomaly detection job statistics API.
34+
* application consumption, use [the /_ml/anomaly_detectors endpoints](#endpoint-ml).
3335
*
3436
* @rest_spec_name cat.ml_jobs
3537
* @availability stack since=7.7.0 stability=stable

specification/cat/ml_trained_models/CatTrainedModelsRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ import { Bytes, Id } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
2323

2424
/**
25+
* Get trained models.
2526
* Returns configuration and usage information about inference trained models.
2627
*
27-
* IMPORTANT: cat APIs are only intended for human consumption using the Kibana
28+
* > info
29+
* > CAT APIs are only intended for human consumption using the Kibana
2830
* console or command line. They are not intended for use by applications. For
29-
* application consumption, use the get trained models statistics API.
31+
* application consumption, use [the /_ml/trained_models endpoints](#endpoint-ml).
3032
*
3133
* @rest_spec_name cat.ml_trained_models
3234
* @availability stack since=7.7.0 stability=stable

specification/cat/transforms/CatTransformsRequest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ import { integer } from '@_types/Numeric'
2323
import { Duration, TimeUnit } from '@_types/Time'
2424

2525
/**
26+
* Get transforms.
2627
* Returns configuration and usage information about transforms.
2728
*
28-
* IMPORTANT: cat APIs are only intended for human consumption using the Kibana
29+
* > info
30+
* > CAT APIs are only intended for human consumption using the Kibana
2931
* console or command line. They are not intended for use by applications. For
30-
* application consumption, use the get transform statistics API.
32+
* application consumption, use [the /_transform endpoints](#endpoint-transform).
3133
*
3234
* @rest_spec_name cat.transforms
3335
* @availability stack since=7.7.0 stability=stable

specification/enrich/delete_policy/DeleteEnrichPolicyRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Name } from '@_types/common'
2222

2323
/**
24+
* Delete an enrich policy.
2425
* Deletes an existing enrich policy and its enrich index.
2526
* @rest_spec_name enrich.delete_policy
2627
* @availability stack since=7.5.0 stability=stable

specification/enrich/get_policy/GetEnrichPolicyRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24+
* Get an enrich policy.
2425
* Returns information about an enrich policy.
2526
* @rest_spec_name enrich.get_policy
2627
* @availability stack since=7.5.0 stability=stable

specification/enrich/put_policy/PutEnrichPolicyRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { RequestBase } from '@_types/Base'
2222
import { Name } from '@_types/common'
2323

2424
/**
25+
* Create an enrich policy.
2526
* Creates an enrich policy.
2627
* @doc_id put-enrich-policy-api
2728
* @rest_spec_name enrich.put_policy

specification/enrich/stats/EnrichStatsRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23+
* Get enrich stats.
2324
* Returns enrich coordinator statistics and information about enrich policies that are currently executing.
2425
* @rest_spec_name enrich.stats
2526
* @availability stack since=7.5.0 stability=stable

specification/indices/get_field_mapping/IndicesGetFieldMappingRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Fields, Indices } from '@_types/common'
2222

2323
/**
24+
* Get mapping definitions.
2425
* Retrieves mapping definitions for one or more fields.
2526
* For data streams, the API retrieves field mappings for the stream’s backing indices.
2627
* @rest_spec_name indices.get_field_mapping

specification/indices/get_mapping/IndicesGetMappingRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { ExpandWildcards, Indices } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Get mapping definitions.
2526
* Retrieves mapping definitions for one or more indices.
2627
* For data streams, the API retrieves mappings for the stream’s backing indices.
2728
* @rest_spec_name indices.get_mapping

specification/indices/put_mapping/IndicesPutMappingRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import { RuntimeFields } from '@_types/mapping/RuntimeFields'
4040
import { Duration } from '@_types/Time'
4141

4242
/**
43+
* Update field mappings.
4344
* Adds new fields to an existing data stream or index.
4445
* You can also use this API to change the search settings of existing fields.
4546
* For data streams, these changes are applied to all backing indices by default.

specification/indices/validate_query/IndicesValidateQueryRequest.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import { QueryContainer } from '@_types/query_dsl/abstractions'
2323
import { Operator } from '@_types/query_dsl/Operator'
2424

2525
/**
26-
* Validates a potentially expensive query without executing it.
26+
* Validate a query.
27+
* Validates a query without running it.
2728
* @rest_spec_name indices.validate_query
2829
* @availability stack since=1.3.0 stability=stable
2930
* @availability serverless stability=stable visibility=public

specification/transform/delete_transform/DeleteTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Id } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Delete a transform.
2526
* Deletes a transform.
2627
* @rest_spec_name transform.delete_transform
2728
* @availability stack since=7.5.0 stability=stable

specification/transform/get_transform/GetTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Name, Names } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
2323

2424
/**
25+
* Get transforms.
2526
* Retrieves configuration information for transforms.
2627
* @rest_spec_name transform.get_transform
2728
* @availability stack since=7.5.0 stability=stable

specification/transform/get_transform_stats/GetTransformStatsRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { long } from '@_types/Numeric'
2323
import { Duration } from '@_types/Time'
2424

2525
/**
26+
* Get transform stats.
2627
* Retrieves usage information for transforms.
2728
* @rest_spec_name transform.get_transform_stats
2829
* @availability stack since=7.5.0 stability=stable

specification/transform/preview_transform/PreviewTransformRequest.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import { Id } from '@_types/common'
3131
import { Duration } from '@_types/Time'
3232

3333
/**
34-
* Previews a transform.
34+
* Preview a transform.
35+
* Generates a preview of the results that you will get when you create a transform with the same configuration.
3536
*
3637
* It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also
3738
* generates a list of mappings and settings for the destination index. These values are determined based on the field

specification/transform/put_transform/PutTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { Id, Metadata } from '@_types/common'
3131
import { Duration } from '@_types/Time'
3232

3333
/**
34+
* Create a transform.
3435
* Creates a transform.
3536
*
3637
* A transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as

specification/transform/reset_transform/ResetTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Id } from '@_types/common'
2222

2323
/**
24+
* Reset a transform.
2425
* Resets a transform.
2526
* Before you can reset it, you must stop it; alternatively, use the `force` query parameter.
2627
* If the destination index was created by the transform, it is deleted.

specification/transform/schedule_now_transform/ScheduleNowTransformRequest.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { Id } from '@_types/common'
2121
import { Duration } from '@_types/Time'
2222

2323
/**
24-
* Schedules now a transform.
24+
* Schedule a transform to start now.
25+
* Instantly runs a transform to process data.
2526
*
2627
* If you _schedule_now a transform, it will process the new data instantly,
2728
* without waiting for the configured frequency interval. After _schedule_now API is called,

specification/transform/start_transform/StartTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Id } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Start a transform.
2526
* Starts a transform.
2627
*
2728
* When you start a transform, it creates the destination index if it does not already exist. The `number_of_shards` is

specification/transform/stop_transform/StopTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Name } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Stop transforms.
2526
* Stops one or more transforms.
2627
* @rest_spec_name transform.stop_transform
2728
* @availability stack since=7.5.0 stability=stable

specification/transform/update_transform/UpdateTransformRequest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { Id, Metadata } from '@_types/common'
2929
import { Duration } from '@_types/Time'
3030

3131
/**
32+
* Update a transform.
3233
* Updates certain properties of a transform.
3334
*
3435
* All updated properties except `description` do not take effect until after the transform starts the next checkpoint,

0 commit comments

Comments
 (0)