Skip to content

Commit

Permalink
Clean up markdown in spec (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
shainaraskas authored Jul 30, 2024
1 parent 7548143 commit c44074f
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 86 deletions.
36 changes: 18 additions & 18 deletions output/openapi/elasticsearch-openapi.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions output/openapi/elasticsearch-serverless-openapi.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions output/schema/schema.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions specification/cat/aliases/CatAliasesRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { ExpandWildcards, Names } from '@_types/common'
* Get aliases.
* Retrieves the cluster’s index aliases, including filter and routing information.
* The API does not return data stream aliases.
* > info
* > 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).
*
* 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.
* @rest_spec_name cat.aliases
* @availability stack stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import { CatRequestBase } from '@cat/_types/CatBase'
* Get component templates.
* Returns information about component templates in a cluster.
* Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
* > info
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use [the /_component_template endpoints](#endpoint-component-template).
*
* CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use the /_component_template endpoints.
* @rest_spec_name cat.component_templates
* @availability stack since=5.1.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
6 changes: 3 additions & 3 deletions specification/cat/count/CatCountRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import { Indices } from '@_types/common'
* Get a document count.
* Provides quick access to a document count for a data stream, an index, or an entire cluster.n/
* The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
* > info
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use [the /_count endpoints](#endpoint-count).
*
* CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use /_count endpoints.
* @rest_spec_name cat.count
* @availability stack stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
8 changes: 4 additions & 4 deletions specification/cat/indices/CatIndicesRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ import { TimeUnit } from '@_types/Time'
/**
* Get index information.
* Returns high-level information about indices in a cluster, including backing indices for data streams.
* > info
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use an index endpoint.
*
* Use this request to get the following information for each index in a cluster:
* - shard count
Expand All @@ -36,7 +33,10 @@ import { TimeUnit } from '@_types/Time'
* - total store size of all shards, including shard replicas
*
* 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.
* To get an accurate count of Elasticsearch documents, use the [/_cat/count](#operation-cat-count) or [count](#endpoint-count) endpoints.
* To get an accurate count of Elasticsearch documents, use the /_cat/count or _count endpoints.
*
* CAT APIs are only intended for human consumption using the command line or Kibana console.
* They are not intended for use by applications. For application consumption, use an index endpoint.
* @rest_spec_name cat.indices
* @availability stack stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ import { Duration } from '@_types/Time'
* Get data frame analytics jobs.
* Returns configuration and usage information about data frame analytics jobs.
*
* > info
* > CAT APIs are only intended for human consumption using the Kibana
* CAT APIs are only intended for human consumption using the Kibana
* console or command line. They are not intended for use by applications. For
* application consumption, use [the /_ml/data_frame/analytics endpoints](#endpoint-ml).
* application consumption, use the /_ml/data_frame/analytics endpoints.
*
* @rest_spec_name cat.ml_data_frame_analytics
* @availability stack since=7.7.0 stability=stable
Expand Down
5 changes: 2 additions & 3 deletions specification/cat/ml_datafeeds/CatDatafeedsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ import { TimeUnit } from '@_types/Time'
* If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
* cluster privileges to use this API.
*
* > info
* > CAT APIs are only intended for human consumption using the Kibana
* CAT APIs are only intended for human consumption using the Kibana
* console or command line. They are not intended for use by applications. For
* application consumption, use [the /_ml/datafeeds endpoints](#endpoint-ml).
* application consumption, use the /_ml/datafeeds endpoints.
*
* @rest_spec_name cat.ml_datafeeds
* @availability stack since=7.7.0 stability=stable
Expand Down
5 changes: 2 additions & 3 deletions specification/cat/ml_jobs/CatJobsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ import { TimeUnit } from '@_types/Time'
* If the Elasticsearch security features are enabled, you must have `monitor_ml`,
* `monitor`, `manage_ml`, or `manage` cluster privileges to use this API.
*
* > info
* > CAT APIs are only intended for human consumption using the Kibana
* CAT APIs are only intended for human consumption using the Kibana
* console or command line. They are not intended for use by applications. For
* application consumption, use [the /_ml/anomaly_detectors endpoints](#endpoint-ml).
* application consumption, use the /_ml/anomaly_detectors endpoints.
*
* @rest_spec_name cat.ml_jobs
* @availability stack since=7.7.0 stability=stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ import { integer } from '@_types/Numeric'
* Get trained models.
* Returns configuration and usage information about inference trained models.
*
* > info
* > CAT APIs are only intended for human consumption using the Kibana
* CAT APIs are only intended for human consumption using the Kibana
* console or command line. They are not intended for use by applications. For
* application consumption, use [the /_ml/trained_models endpoints](#endpoint-ml).
* application consumption, use the /_ml/trained_models endpoints.
*
* @rest_spec_name cat.ml_trained_models
* @availability stack since=7.7.0 stability=stable
Expand Down
5 changes: 2 additions & 3 deletions specification/cat/transforms/CatTransformsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ import { Duration, TimeUnit } from '@_types/Time'
* Get transforms.
* Returns configuration and usage information about transforms.
*
* > info
* > CAT APIs are only intended for human consumption using the Kibana
* CAT APIs are only intended for human consumption using the Kibana
* console or command line. They are not intended for use by applications. For
* application consumption, use [the /_transform endpoints](#endpoint-transform).
* application consumption, use the /_transform endpoints.
*
* @rest_spec_name cat.transforms
* @availability stack since=7.7.0 stability=stable
Expand Down

0 comments on commit c44074f

Please sign in to comment.