More type definitions, with fixed links (hopefully)
This commit is contained in:
@ -66,7 +66,7 @@ interface AsyncSearchGetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
|
||||
type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = <<AsyncSearchAsyncSearchDocumentResponseBase>><TDocument, TAggregations>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -85,12 +85,12 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
|
||||
aggregations?: Record<string, <<AggregationsAggregationContainer>>>
|
||||
pass:[/**] @alias aggregations */
|
||||
aggs?: Record<string, <<AggregationsAggregationContainer>>>
|
||||
collapse?: SearchFieldCollapse
|
||||
collapse?: <<SearchFieldCollapse>>
|
||||
explain?: boolean
|
||||
ext?: Record<string, any>
|
||||
from?: <<integer>>
|
||||
highlight?: SearchHighlight
|
||||
track_total_hits?: SearchTrackHits
|
||||
highlight?: <<SearchHighlight>>
|
||||
track_total_hits?: <<SearchTrackHits>>
|
||||
indices_boost?: Record<<<IndexName>>, <<double>>>[]
|
||||
docvalue_fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
|
||||
knn?: <<KnnSearch>> | <<KnnSearch>>[]
|
||||
@ -98,22 +98,22 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
|
||||
post_filter?: <<QueryDslQueryContainer>>
|
||||
profile?: boolean
|
||||
query?: <<QueryDslQueryContainer>>
|
||||
rescore?: SearchRescore | SearchRescore[]
|
||||
rescore?: <<SearchRescore>> | <<SearchRescore>>[]
|
||||
script_fields?: Record<string, <<ScriptField>>>
|
||||
search_after?: <<SortResults>>
|
||||
size?: <<integer>>
|
||||
slice?: <<SlicedScroll>>
|
||||
sort?: <<Sort>>
|
||||
_source?: SearchSourceConfig
|
||||
_source?: <<SearchSourceConfig>>
|
||||
fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
|
||||
suggest?: SearchSuggester
|
||||
suggest?: <<SearchSuggester>>
|
||||
terminate_after?: <<long>>
|
||||
timeout?: string
|
||||
track_scores?: boolean
|
||||
version?: boolean
|
||||
seq_no_primary_term?: boolean
|
||||
stored_fields?: <<Fields>>
|
||||
pit?: SearchPointInTimeReference
|
||||
pit?: <<SearchPointInTimeReference>>
|
||||
runtime_mappings?: <<MappingRuntimeFields>>
|
||||
stats?: string[]
|
||||
}
|
||||
@ -129,7 +129,7 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
|
||||
type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = <<AsyncSearchAsyncSearchDocumentResponseBase>><TDocument, TAggregations>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -63,7 +63,7 @@ interface AutoscalingGetAutoscalingPolicyRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy
|
||||
type AutoscalingGetAutoscalingPolicyResponse = <<AutoscalingAutoscalingPolicy>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -50,7 +50,7 @@ Create or update an autoscaling policy. NOTE: This feature is designed for indir
|
||||
++++
|
||||
interface AutoscalingPutAutoscalingPolicyRequest extends <<RequestBase>> {
|
||||
name: <<Name>>
|
||||
policy?: AutoscalingAutoscalingPolicy
|
||||
policy?: <<AutoscalingAutoscalingPolicy>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -53,13 +53,13 @@ interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <
|
||||
pipeline?: string
|
||||
refresh?: <<Refresh>>
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
require_alias?: boolean
|
||||
operations?: (BulkOperationContainer | BulkUpdateAction<TDocument, TPartialDocument> | TDocument)[]
|
||||
operations?: (<<BulkOperationContainer>> | <<BulkUpdateAction>><TDocument, TPartialDocument> | TDocument)[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -75,7 +75,7 @@ interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <
|
||||
++++
|
||||
interface BulkResponse {
|
||||
errors: boolean
|
||||
items: Partial<Record<BulkOperationType, BulkResponseItem>>[]
|
||||
items: Partial<Record<<<BulkOperationType>>, <<BulkResponseItem>>>>[]
|
||||
took: <<long>>
|
||||
ingest_took?: <<long>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Get aliases. Retrieves the cluster’s index aliases, including filter and routi
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatAliasesRequest extends CatCatRequestBase {
|
||||
interface CatAliasesRequest extends <<CatCatRequestBase>> {
|
||||
name?: <<Names>>
|
||||
expand_wildcards?: <<ExpandWildcards>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Provides a snapshot of the number of shards allocated to each data node and thei
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatAllocationRequest extends CatCatRequestBase {
|
||||
interface CatAllocationRequest extends <<CatCatRequestBase>> {
|
||||
node_id?: <<NodeIds>>
|
||||
bytes?: <<Bytes>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Get component templates. Returns information about component templates in a clus
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
||||
interface CatComponentTemplatesRequest extends <<CatCatRequestBase>> {
|
||||
name?: string
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ Get a document count. Provides quick access to a document count for a data strea
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatCountRequest extends CatCatRequestBase {
|
||||
interface CatCountRequest extends <<CatCatRequestBase>> {
|
||||
index?: <<Indices>>
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ Returns the amount of heap memory currently used by the field data cache on ever
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatFielddataRequest extends CatCatRequestBase {
|
||||
interface CatFielddataRequest extends <<CatCatRequestBase>> {
|
||||
fields?: <<Fields>>
|
||||
bytes?: <<Bytes>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Returns the health status of a cluster, similar to the cluster health API. IMPOR
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatHealthRequest extends CatCatRequestBase {
|
||||
interface CatHealthRequest extends <<CatCatRequestBase>> {
|
||||
time?: <<TimeUnit>>
|
||||
ts?: boolean
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Get CAT help. Returns help for the CAT APIs.
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatHelpRequest extends CatCatRequestBase {
|
||||
interface CatHelpRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Get index information. Returns high-level information about indices in a cluster
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatIndicesRequest extends CatCatRequestBase {
|
||||
interface CatIndicesRequest extends <<CatCatRequestBase>> {
|
||||
index?: <<Indices>>
|
||||
bytes?: <<Bytes>>
|
||||
expand_wildcards?: <<ExpandWildcards>>
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about the master node, including the ID, bound IP address, a
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatMasterRequest extends CatCatRequestBase {
|
||||
interface CatMasterRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,12 +48,12 @@ Get data frame analytics jobs. Returns configuration and usage information about
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
||||
interface CatMlDataFrameAnalyticsRequest extends <<CatCatRequestBase>> {
|
||||
id?: <<Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<Bytes>>
|
||||
h?: CatCatDfaColumns
|
||||
s?: CatCatDfaColumns
|
||||
h?: <<CatCatDfaColumns>>
|
||||
s?: <<CatCatDfaColumns>>
|
||||
time?: <<Duration>>
|
||||
}
|
||||
|
||||
|
||||
@ -48,11 +48,11 @@ Get datafeeds. Returns configuration and usage information about datafeeds. This
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatMlDatafeedsRequest extends CatCatRequestBase {
|
||||
interface CatMlDatafeedsRequest extends <<CatCatRequestBase>> {
|
||||
datafeed_id?: <<Id>>
|
||||
allow_no_match?: boolean
|
||||
h?: CatCatDatafeedColumns
|
||||
s?: CatCatDatafeedColumns
|
||||
h?: <<CatCatDatafeedColumns>>
|
||||
s?: <<CatCatDatafeedColumns>>
|
||||
time?: <<TimeUnit>>
|
||||
}
|
||||
|
||||
|
||||
@ -48,12 +48,12 @@ Get anomaly detection jobs. Returns configuration and usage information for anom
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatMlJobsRequest extends CatCatRequestBase {
|
||||
interface CatMlJobsRequest extends <<CatCatRequestBase>> {
|
||||
job_id?: <<Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<Bytes>>
|
||||
h?: CatCatAnonalyDetectorColumns
|
||||
s?: CatCatAnonalyDetectorColumns
|
||||
h?: <<CatCatAnonalyDetectorColumns>>
|
||||
s?: <<CatCatAnonalyDetectorColumns>>
|
||||
time?: <<TimeUnit>>
|
||||
}
|
||||
|
||||
|
||||
@ -48,12 +48,12 @@ Get trained models. Returns configuration and usage information about inference
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
||||
interface CatMlTrainedModelsRequest extends <<CatCatRequestBase>> {
|
||||
model_id?: <<Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<Bytes>>
|
||||
h?: CatCatTrainedModelsColumns
|
||||
s?: CatCatTrainedModelsColumns
|
||||
h?: <<CatCatTrainedModelsColumns>>
|
||||
s?: <<CatCatTrainedModelsColumns>>
|
||||
from?: <<integer>>
|
||||
size?: <<integer>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about custom node attributes. IMPORTANT: cat APIs are only i
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatNodeattrsRequest extends CatCatRequestBase {
|
||||
interface CatNodeattrsRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about the nodes in a cluster. IMPORTANT: cat APIs are only i
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatNodesRequest extends CatCatRequestBase {
|
||||
interface CatNodesRequest extends <<CatCatRequestBase>> {
|
||||
bytes?: <<Bytes>>
|
||||
full_id?: boolean | string
|
||||
include_unloaded_segments?: boolean
|
||||
|
||||
@ -48,7 +48,7 @@ Returns cluster-level changes that have not yet been executed. IMPORTANT: cat AP
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatPendingTasksRequest extends CatCatRequestBase {
|
||||
interface CatPendingTasksRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Returns a list of plugins running on each node of a cluster. IMPORTANT: cat APIs
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatPluginsRequest extends CatCatRequestBase {
|
||||
interface CatPluginsRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about ongoing and completed shard recoveries. Shard recovery
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatRecoveryRequest extends CatCatRequestBase {
|
||||
interface CatRecoveryRequest extends <<CatCatRequestBase>> {
|
||||
index?: <<Indices>>
|
||||
active_only?: boolean
|
||||
bytes?: <<Bytes>>
|
||||
|
||||
@ -48,7 +48,7 @@ Returns the snapshot repositories for a cluster. IMPORTANT: cat APIs are only in
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatRepositoriesRequest extends CatCatRequestBase {
|
||||
interface CatRepositoriesRequest extends <<CatCatRequestBase>> {
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Returns low-level information about the Lucene segments in index shards. For dat
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatSegmentsRequest extends CatCatRequestBase {
|
||||
interface CatSegmentsRequest extends <<CatCatRequestBase>> {
|
||||
index?: <<Indices>>
|
||||
bytes?: <<Bytes>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about the shards in a cluster. For data streams, the API ret
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatShardsRequest extends CatCatRequestBase {
|
||||
interface CatShardsRequest extends <<CatCatRequestBase>> {
|
||||
index?: <<Indices>>
|
||||
bytes?: <<Bytes>>
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about the snapshots stored in one or more repositories. A sn
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatSnapshotsRequest extends CatCatRequestBase {
|
||||
interface CatSnapshotsRequest extends <<CatCatRequestBase>> {
|
||||
repository?: <<Names>>
|
||||
ignore_unavailable?: boolean
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about tasks currently executing in the cluster. IMPORTANT: c
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatTasksRequest extends CatCatRequestBase {
|
||||
interface CatTasksRequest extends <<CatCatRequestBase>> {
|
||||
actions?: string[]
|
||||
detailed?: boolean
|
||||
node_id?: string[]
|
||||
|
||||
@ -48,7 +48,7 @@ Returns information about index templates in a cluster. You can use index templa
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatTemplatesRequest extends CatCatRequestBase {
|
||||
interface CatTemplatesRequest extends <<CatCatRequestBase>> {
|
||||
name?: <<Name>>
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ Returns thread pool statistics for each node in a cluster. Returned information
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatThreadPoolRequest extends CatCatRequestBase {
|
||||
interface CatThreadPoolRequest extends <<CatCatRequestBase>> {
|
||||
thread_pool_patterns?: <<Names>>
|
||||
time?: <<TimeUnit>>
|
||||
}
|
||||
|
||||
@ -48,12 +48,12 @@ Get transforms. Returns configuration and usage information about transforms. CA
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface CatTransformsRequest extends CatCatRequestBase {
|
||||
interface CatTransformsRequest extends <<CatCatRequestBase>> {
|
||||
transform_id?: <<Id>>
|
||||
allow_no_match?: boolean
|
||||
from?: <<integer>>
|
||||
h?: CatCatTransformColumns
|
||||
s?: CatCatTransformColumns
|
||||
h?: <<CatCatTransformColumns>>
|
||||
s?: <<CatCatTransformColumns>>
|
||||
time?: <<TimeUnit>>
|
||||
size?: <<integer>>
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ interface CcrFollowStatsRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface CcrFollowStatsResponse {
|
||||
indices: CcrFollowIndexStats[]
|
||||
indices: <<CcrFollowIndexStats>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -68,7 +68,7 @@ interface ClusterGetComponentTemplateRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface ClusterGetComponentTemplateResponse {
|
||||
component_templates: ClusterComponentTemplate[]
|
||||
component_templates: <<ClusterComponentTemplate>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -65,10 +65,10 @@ interface ClusterInfoRequest extends <<RequestBase>> {
|
||||
++++
|
||||
interface ClusterInfoResponse {
|
||||
cluster_name: <<Name>>
|
||||
http?: NodesHttp
|
||||
ingest?: NodesIngest
|
||||
thread_pool?: Record<string, NodesThreadCount>
|
||||
script?: NodesScripting
|
||||
http?: <<NodesHttp>>
|
||||
ingest?: <<NodesIngest>>
|
||||
thread_pool?: Record<string, <<NodesThreadCount>>>
|
||||
script?: <<NodesScripting>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -52,7 +52,7 @@ interface ClusterPutComponentTemplateRequest extends <<RequestBase>> {
|
||||
name: <<Name>>
|
||||
create?: boolean
|
||||
master_timeout?: <<Duration>>
|
||||
template: IndicesIndexState
|
||||
template: <<IndicesIndexState>>
|
||||
version?: <<VersionNumber>>
|
||||
_meta?: <<Metadata>>
|
||||
deprecated?: boolean
|
||||
|
||||
@ -63,7 +63,7 @@ interface ConnectorGetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type ConnectorGetResponse = ConnectorConnector
|
||||
type ConnectorGetResponse = <<ConnectorConnector>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -70,7 +70,7 @@ interface ConnectorListRequest extends <<RequestBase>> {
|
||||
++++
|
||||
interface ConnectorListResponse {
|
||||
count: <<long>>
|
||||
results: ConnectorConnector[]
|
||||
results: <<ConnectorConnector>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -63,7 +63,7 @@ interface ConnectorSyncJobGetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type ConnectorSyncJobGetResponse = ConnectorConnectorSyncJob
|
||||
type ConnectorSyncJobGetResponse = <<ConnectorConnectorSyncJob>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -51,9 +51,9 @@ Get all connector sync jobs. Get information about all stored connector sync job
|
||||
interface ConnectorSyncJobListRequest extends <<RequestBase>> {
|
||||
from?: <<integer>>
|
||||
size?: <<integer>>
|
||||
status?: ConnectorSyncStatus
|
||||
status?: <<ConnectorSyncStatus>>
|
||||
connector_id?: <<Id>>
|
||||
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[]
|
||||
job_type?: <<ConnectorSyncJobType>> | <<ConnectorSyncJobType>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -69,7 +69,7 @@ interface ConnectorSyncJobListRequest extends <<RequestBase>> {
|
||||
++++
|
||||
interface ConnectorSyncJobListResponse {
|
||||
count: <<long>>
|
||||
results: ConnectorConnectorSyncJob[]
|
||||
results: <<ConnectorConnectorSyncJob>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,8 +50,8 @@ Create a connector sync job. Create a connector sync job document in the interna
|
||||
++++
|
||||
interface ConnectorSyncJobPostRequest extends <<RequestBase>> {
|
||||
id: <<Id>>
|
||||
job_type?: ConnectorSyncJobType
|
||||
trigger_method?: ConnectorSyncJobTriggerMethod
|
||||
job_type?: <<ConnectorSyncJobType>>
|
||||
trigger_method?: <<ConnectorSyncJobTriggerMethod>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,7 +50,7 @@ Update the connector configuration. Update the configuration field in the connec
|
||||
++++
|
||||
interface ConnectorUpdateConfigurationRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
configuration?: ConnectorConnectorConfiguration
|
||||
configuration?: <<ConnectorConnectorConfiguration>>
|
||||
values?: Record<string, any>
|
||||
}
|
||||
|
||||
|
||||
@ -50,9 +50,9 @@ Update the connector filtering. Update the draft filtering configuration of a co
|
||||
++++
|
||||
interface ConnectorUpdateFilteringRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
filtering?: ConnectorFilteringConfig[]
|
||||
rules?: ConnectorFilteringRule[]
|
||||
advanced_snippet?: ConnectorFilteringAdvancedSnippet
|
||||
filtering?: <<ConnectorFilteringConfig>>[]
|
||||
rules?: <<ConnectorFilteringRule>>[]
|
||||
advanced_snippet?: <<ConnectorFilteringAdvancedSnippet>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -48,7 +48,7 @@ Update the connector draft filtering validation. Update the draft filtering vali
|
||||
++++
|
||||
interface ConnectorUpdateFilteringValidationRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
validation: ConnectorFilteringRulesValidation
|
||||
validation: <<ConnectorFilteringRulesValidation>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,7 +50,7 @@ Update the connector pipeline. When you create a new connector, the configuratio
|
||||
++++
|
||||
interface ConnectorUpdatePipelineRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
pipeline: ConnectorIngestPipelineParams
|
||||
pipeline: <<ConnectorIngestPipelineParams>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,7 +50,7 @@ Update the connector scheduling.
|
||||
++++
|
||||
interface ConnectorUpdateSchedulingRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
scheduling: ConnectorSchedulingConfiguration
|
||||
scheduling: <<ConnectorSchedulingConfiguration>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,7 +50,7 @@ Update the connector status.
|
||||
++++
|
||||
interface ConnectorUpdateStatusRequest extends <<RequestBase>> {
|
||||
connector_id: <<Id>>
|
||||
status: ConnectorConnectorStatus
|
||||
status: <<ConnectorConnectorStatus>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -64,7 +64,7 @@ interface DeleteByQueryRethrottleRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase
|
||||
type DeleteByQueryRethrottleResponse = <<TasksTaskListResponseBase>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -64,7 +64,7 @@ interface EnrichGetPolicyRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface EnrichGetPolicyResponse {
|
||||
policies: EnrichSummary[]
|
||||
policies: <<EnrichSummary>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -50,9 +50,9 @@ Create an enrich policy. Creates an enrich policy.
|
||||
++++
|
||||
interface EnrichPutPolicyRequest extends <<RequestBase>> {
|
||||
name: <<Name>>
|
||||
geo_match?: EnrichPolicy
|
||||
match?: EnrichPolicy
|
||||
range?: EnrichPolicy
|
||||
geo_match?: <<EnrichPolicy>>
|
||||
match?: <<EnrichPolicy>>
|
||||
range?: <<EnrichPolicy>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -65,7 +65,7 @@ interface EqlGetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>
|
||||
type EqlGetResponse<TEvent = unknown> = <<EqlEqlSearchResponseBase>><TEvent>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -80,7 +80,7 @@ interface EqlSearchRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>
|
||||
type EqlSearchResponse<TEvent = unknown> = <<EqlEqlSearchResponseBase>><TEvent>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -58,7 +58,7 @@ interface EsqlQueryRequest extends <<RequestBase>> {
|
||||
params?: <<FieldValue>>[]
|
||||
profile?: boolean
|
||||
query: string
|
||||
tables?: Record<string, Record<string, EsqlTableValuesContainer>>
|
||||
tables?: Record<string, Record<string, <<EsqlTableValuesContainer>>>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -55,7 +55,7 @@ interface ExistsRequest extends <<RequestBase>> {
|
||||
realtime?: boolean
|
||||
refresh?: boolean
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
stored_fields?: <<Fields>>
|
||||
|
||||
@ -55,7 +55,7 @@ interface ExistsSourceRequest extends <<RequestBase>> {
|
||||
realtime?: boolean
|
||||
refresh?: boolean
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
version?: <<VersionNumber>>
|
||||
|
||||
@ -58,7 +58,7 @@ interface ExplainRequest extends <<RequestBase>> {
|
||||
lenient?: boolean
|
||||
preference?: string
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
stored_fields?: <<Fields>>
|
||||
@ -81,7 +81,7 @@ interface ExplainResponse<TDocument = unknown> {
|
||||
_index: <<IndexName>>
|
||||
_id: <<Id>>
|
||||
matched: boolean
|
||||
explanation?: ExplainExplanationDetail
|
||||
explanation?: <<ExplainExplanationDetail>>
|
||||
get?: <<InlineGet>><TDocument>
|
||||
}
|
||||
|
||||
|
||||
@ -63,7 +63,7 @@ interface FeaturesGetFeaturesRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface FeaturesGetFeaturesResponse {
|
||||
features: FeaturesFeature[]
|
||||
features: <<FeaturesFeature>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -63,7 +63,7 @@ interface FeaturesResetFeaturesRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface FeaturesResetFeaturesResponse {
|
||||
features: FeaturesFeature[]
|
||||
features: <<FeaturesFeature>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -75,7 +75,7 @@ interface FieldCapsRequest extends <<RequestBase>> {
|
||||
++++
|
||||
interface FieldCapsResponse {
|
||||
indices: <<Indices>>
|
||||
fields: Record<<<Field>>, Record<string, FieldCapsFieldCapability>>
|
||||
fields: Record<<<Field>>, Record<string, <<FieldCapsFieldCapability>>>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -52,7 +52,7 @@ interface FleetGlobalCheckpointsRequest extends <<RequestBase>> {
|
||||
index: <<IndexName>> | <<IndexAlias>>
|
||||
wait_for_advance?: boolean
|
||||
wait_for_index?: boolean
|
||||
checkpoints?: FleetCheckpoint[]
|
||||
checkpoints?: <<FleetCheckpoint>>[]
|
||||
timeout?: <<Duration>>
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ interface FleetGlobalCheckpointsRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface FleetGlobalCheckpointsResponse {
|
||||
global_checkpoints: FleetCheckpoint[]
|
||||
global_checkpoints: <<FleetCheckpoint>>[]
|
||||
timed_out: boolean
|
||||
}
|
||||
|
||||
|
||||
@ -59,9 +59,9 @@ interface FleetMsearchRequest extends <<RequestBase>> {
|
||||
search_type?: <<SearchType>>
|
||||
rest_total_hits_as_int?: boolean
|
||||
typed_keys?: boolean
|
||||
wait_for_checkpoints?: FleetCheckpoint[]
|
||||
wait_for_checkpoints?: <<FleetCheckpoint>>[]
|
||||
allow_partial_search_results?: boolean
|
||||
searches?: MsearchRequestItem[]
|
||||
searches?: <<MsearchRequestItem>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -76,7 +76,7 @@ interface FleetMsearchRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface FleetMsearchResponse<TDocument = unknown> {
|
||||
docs: MsearchResponseItem<TDocument>[]
|
||||
docs: <<MsearchResponseItem>><TDocument>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -76,39 +76,39 @@ interface FleetSearchRequest extends <<RequestBase>> {
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
q?: string
|
||||
wait_for_checkpoints?: FleetCheckpoint[]
|
||||
wait_for_checkpoints?: <<FleetCheckpoint>>[]
|
||||
allow_partial_search_results?: boolean
|
||||
aggregations?: Record<string, <<AggregationsAggregationContainer>>>
|
||||
pass:[/**] @alias aggregations */
|
||||
aggs?: Record<string, <<AggregationsAggregationContainer>>>
|
||||
collapse?: SearchFieldCollapse
|
||||
collapse?: <<SearchFieldCollapse>>
|
||||
explain?: boolean
|
||||
ext?: Record<string, any>
|
||||
from?: <<integer>>
|
||||
highlight?: SearchHighlight
|
||||
track_total_hits?: SearchTrackHits
|
||||
highlight?: <<SearchHighlight>>
|
||||
track_total_hits?: <<SearchTrackHits>>
|
||||
indices_boost?: Record<<<IndexName>>, <<double>>>[]
|
||||
docvalue_fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
|
||||
min_score?: <<double>>
|
||||
post_filter?: <<QueryDslQueryContainer>>
|
||||
profile?: boolean
|
||||
query?: <<QueryDslQueryContainer>>
|
||||
rescore?: SearchRescore | SearchRescore[]
|
||||
rescore?: <<SearchRescore>> | <<SearchRescore>>[]
|
||||
script_fields?: Record<string, <<ScriptField>>>
|
||||
search_after?: <<SortResults>>
|
||||
size?: <<integer>>
|
||||
slice?: <<SlicedScroll>>
|
||||
sort?: <<Sort>>
|
||||
_source?: SearchSourceConfig
|
||||
_source?: <<SearchSourceConfig>>
|
||||
fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
|
||||
suggest?: SearchSuggester
|
||||
suggest?: <<SearchSuggester>>
|
||||
terminate_after?: <<long>>
|
||||
timeout?: string
|
||||
track_scores?: boolean
|
||||
version?: boolean
|
||||
seq_no_primary_term?: boolean
|
||||
stored_fields?: <<Fields>>
|
||||
pit?: SearchPointInTimeReference
|
||||
pit?: <<SearchPointInTimeReference>>
|
||||
runtime_mappings?: <<MappingRuntimeFields>>
|
||||
stats?: string[]
|
||||
}
|
||||
@ -128,16 +128,16 @@ interface FleetSearchResponse<TDocument = unknown> {
|
||||
took: <<long>>
|
||||
timed_out: boolean
|
||||
_shards: <<ShardStatistics>>
|
||||
hits: SearchHitsMetadata<TDocument>
|
||||
hits: <<SearchHitsMetadata>><TDocument>
|
||||
aggregations?: Record<<<AggregateName>>, <<AggregationsAggregate>>>
|
||||
_clusters?: <<ClusterStatistics>>
|
||||
fields?: Record<string, any>
|
||||
max_score?: <<double>>
|
||||
num_reduce_phases?: <<long>>
|
||||
profile?: SearchProfile
|
||||
profile?: <<SearchProfile>>
|
||||
pit_id?: <<Id>>
|
||||
_scroll_id?: <<ScrollId>>
|
||||
suggest?: Record<<<SuggestionName>>, SearchSuggest<TDocument>[]>
|
||||
suggest?: Record<<<SuggestionName>>, <<SearchSuggest>><TDocument>[]>
|
||||
terminated_early?: boolean
|
||||
}
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ interface GetRequest extends <<RequestBase>> {
|
||||
realtime?: boolean
|
||||
refresh?: boolean
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
stored_fields?: <<Fields>>
|
||||
@ -75,7 +75,7 @@ interface GetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type GetResponse<TDocument = unknown> = GetGetResult<TDocument>
|
||||
type GetResponse<TDocument = unknown> = <<GetGetResult>><TDocument>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -63,7 +63,7 @@ interface GetScriptContextRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface GetScriptContextResponse {
|
||||
contexts: GetScriptContextContext[]
|
||||
contexts: <<GetScriptContextContext>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -63,7 +63,7 @@ interface GetScriptLanguagesRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface GetScriptLanguagesResponse {
|
||||
language_contexts: GetScriptLanguagesLanguageContext[]
|
||||
language_contexts: <<GetScriptLanguagesLanguageContext>>[]
|
||||
types_allowed: string[]
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ interface GetSourceRequest extends <<RequestBase>> {
|
||||
realtime?: boolean
|
||||
refresh?: boolean
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
stored_fields?: <<Fields>>
|
||||
|
||||
@ -52,10 +52,10 @@ interface GraphExploreRequest extends <<RequestBase>> {
|
||||
index: <<Indices>>
|
||||
routing?: <<Routing>>
|
||||
timeout?: <<Duration>>
|
||||
connections?: GraphHop
|
||||
controls?: GraphExploreControls
|
||||
connections?: <<GraphHop>>
|
||||
controls?: <<GraphExploreControls>>
|
||||
query?: <<QueryDslQueryContainer>>
|
||||
vertices?: GraphVertexDefinition[]
|
||||
vertices?: <<GraphVertexDefinition>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -70,11 +70,11 @@ interface GraphExploreRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface GraphExploreResponse {
|
||||
connections: GraphConnection[]
|
||||
connections: <<GraphConnection>>[]
|
||||
failures: <<ShardFailure>>[]
|
||||
timed_out: boolean
|
||||
took: <<long>>
|
||||
vertices: GraphVertex[]
|
||||
vertices: <<GraphVertex>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -68,8 +68,8 @@ interface HealthReportRequest extends <<RequestBase>> {
|
||||
++++
|
||||
interface HealthReportResponse {
|
||||
cluster_name: string
|
||||
indicators: HealthReportIndicators
|
||||
status?: HealthReportIndicatorHealthStatus
|
||||
indicators: <<HealthReportIndicators>>
|
||||
status?: <<HealthReportIndicatorHealthStatus>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -52,7 +52,7 @@ interface IlmPutLifecycleRequest extends <<RequestBase>> {
|
||||
name: <<Name>>
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
policy?: IlmPolicy
|
||||
policy?: <<IlmPolicy>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -54,7 +54,7 @@ interface IndicesCloneRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
aliases?: Record<<<IndexName>>, IndicesAlias>
|
||||
aliases?: Record<<<IndexName>>, <<IndicesAlias>>>
|
||||
settings?: Record<string, any>
|
||||
}
|
||||
|
||||
|
||||
@ -53,9 +53,9 @@ interface IndicesCreateRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
aliases?: Record<<<Name>>, IndicesAlias>
|
||||
aliases?: Record<<<Name>>, <<IndicesAlias>>>
|
||||
mappings?: <<MappingTypeMapping>>
|
||||
settings?: IndicesIndexSettings
|
||||
settings?: <<IndicesIndexSettings>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -51,7 +51,7 @@ Aggregates a time series (TSDS) index and stores pre-computed statistical summar
|
||||
interface IndicesDownsampleRequest extends <<RequestBase>> {
|
||||
index: <<IndexName>>
|
||||
target_index: <<IndexName>>
|
||||
config?: IndicesDownsampleConfig
|
||||
config?: <<IndicesDownsampleConfig>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -71,7 +71,7 @@ interface IndicesGetRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type IndicesGetResponse = Record<<<IndexName>>, IndicesIndexState>
|
||||
type IndicesGetResponse = Record<<<IndexName>>, <<IndicesIndexState>>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -68,7 +68,7 @@ interface IndicesGetDataStreamRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface IndicesGetDataStreamResponse {
|
||||
data_streams: IndicesDataStream[]
|
||||
data_streams: <<IndicesDataStream>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -71,7 +71,7 @@ interface IndicesGetSettingsRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type IndicesGetSettingsResponse = Record<<<IndexName>>, IndicesIndexState>
|
||||
type IndicesGetSettingsResponse = Record<<<IndexName>>, <<IndicesIndexState>>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -66,7 +66,7 @@ interface IndicesGetTemplateRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>
|
||||
type IndicesGetTemplateResponse = Record<string, <<IndicesTemplateMapping>>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -54,7 +54,7 @@ interface IndicesPutDataLifecycleRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
data_retention?: <<Duration>>
|
||||
downsampling?: IndicesDataStreamLifecycleDownsampling
|
||||
downsampling?: <<IndicesDataStreamLifecycleDownsampling>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -56,7 +56,7 @@ interface IndicesPutIndexTemplateRequest extends <<RequestBase>> {
|
||||
index_patterns?: <<Indices>>
|
||||
composed_of?: <<Name>>[]
|
||||
template?: IndicesPutIndexTemplateIndexTemplateMapping
|
||||
data_stream?: IndicesDataStreamVisibility
|
||||
data_stream?: <<IndicesDataStreamVisibility>>
|
||||
priority?: <<long>>
|
||||
version?: <<VersionNumber>>
|
||||
_meta?: <<Metadata>>
|
||||
|
||||
@ -57,7 +57,7 @@ interface IndicesPutSettingsRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
preserve_existing?: boolean
|
||||
timeout?: <<Duration>>
|
||||
settings?: IndicesIndexSettings
|
||||
settings?: <<IndicesIndexSettings>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -53,11 +53,11 @@ interface IndicesPutTemplateRequest extends <<RequestBase>> {
|
||||
create?: boolean
|
||||
master_timeout?: <<Duration>>
|
||||
cause?: string
|
||||
aliases?: Record<<<IndexName>>, IndicesAlias>
|
||||
aliases?: Record<<<IndexName>>, <<IndicesAlias>>>
|
||||
index_patterns?: string | string[]
|
||||
mappings?: <<MappingTypeMapping>>
|
||||
order?: <<integer>>
|
||||
settings?: IndicesIndexSettings
|
||||
settings?: <<IndicesIndexSettings>>
|
||||
version?: <<VersionNumber>>
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ interface IndicesRolloverRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
aliases?: Record<<<IndexName>>, IndicesAlias>
|
||||
aliases?: Record<<<IndexName>>, <<IndicesAlias>>>
|
||||
conditions?: IndicesRolloverRolloverConditions
|
||||
mappings?: <<MappingTypeMapping>>
|
||||
settings?: Record<string, any>
|
||||
|
||||
@ -54,7 +54,7 @@ interface IndicesShrinkRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
aliases?: Record<<<IndexName>>, IndicesAlias>
|
||||
aliases?: Record<<<IndexName>>, <<IndicesAlias>>>
|
||||
settings?: Record<string, any>
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ interface IndicesSimulateTemplateRequest extends <<RequestBase>> {
|
||||
index_patterns?: <<Indices>>
|
||||
composed_of?: <<Name>>[]
|
||||
template?: IndicesPutIndexTemplateIndexTemplateMapping
|
||||
data_stream?: IndicesDataStreamVisibility
|
||||
data_stream?: <<IndicesDataStreamVisibility>>
|
||||
priority?: <<long>>
|
||||
version?: <<VersionNumber>>
|
||||
_meta?: <<Metadata>>
|
||||
|
||||
@ -54,7 +54,7 @@ interface IndicesSplitRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
wait_for_active_shards?: <<WaitForActiveShards>>
|
||||
aliases?: Record<<<IndexName>>, IndicesAlias>
|
||||
aliases?: Record<<<IndexName>>, <<IndicesAlias>>>
|
||||
settings?: Record<string, any>
|
||||
}
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ Delete an inference endpoint
|
||||
<pre>
|
||||
++++
|
||||
interface InferenceDeleteRequest extends <<RequestBase>> {
|
||||
task_type?: InferenceTaskType
|
||||
task_type?: <<InferenceTaskType>>
|
||||
inference_id: <<Id>>
|
||||
dry_run?: boolean
|
||||
force?: boolean
|
||||
@ -66,7 +66,7 @@ interface InferenceDeleteRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult
|
||||
type InferenceDeleteResponse = <<InferenceDeleteInferenceEndpointResult>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -49,7 +49,7 @@ Get an inference endpoint
|
||||
<pre>
|
||||
++++
|
||||
interface InferenceGetRequest extends <<RequestBase>> {
|
||||
task_type?: InferenceTaskType
|
||||
task_type?: <<InferenceTaskType>>
|
||||
inference_id?: <<Id>>
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ interface InferenceGetRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface InferenceGetResponse {
|
||||
endpoints: InferenceInferenceEndpointInfo[]
|
||||
endpoints: <<InferenceInferenceEndpointInfo>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -49,12 +49,12 @@ Perform inference on the service
|
||||
<pre>
|
||||
++++
|
||||
interface InferenceInferenceRequest extends <<RequestBase>> {
|
||||
task_type?: InferenceTaskType
|
||||
task_type?: <<InferenceTaskType>>
|
||||
inference_id: <<Id>>
|
||||
timeout?: <<Duration>>
|
||||
query?: string
|
||||
input: string | string[]
|
||||
task_settings?: InferenceTaskSettings
|
||||
task_settings?: <<InferenceTaskSettings>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -68,7 +68,7 @@ interface InferenceInferenceRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type InferenceInferenceResponse = InferenceInferenceResult
|
||||
type InferenceInferenceResponse = <<InferenceInferenceResult>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -49,9 +49,9 @@ Create an inference endpoint
|
||||
<pre>
|
||||
++++
|
||||
interface InferencePutRequest extends <<RequestBase>> {
|
||||
task_type?: InferenceTaskType
|
||||
task_type?: <<InferenceTaskType>>
|
||||
inference_id: <<Id>>
|
||||
inference_config?: InferenceInferenceEndpoint
|
||||
inference_config?: <<InferenceInferenceEndpoint>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -65,7 +65,7 @@ interface InferencePutRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type InferencePutResponse = InferenceInferenceEndpointInfo
|
||||
type InferencePutResponse = <<InferenceInferenceEndpointInfo>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -65,7 +65,7 @@ interface IngestGetPipelineRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type IngestGetPipelineResponse = Record<string, IngestPipeline>
|
||||
type IngestGetPipelineResponse = Record<string, <<IngestPipeline>>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -53,7 +53,7 @@ interface IngestPutGeoipDatabaseRequest extends <<RequestBase>> {
|
||||
master_timeout?: <<Duration>>
|
||||
timeout?: <<Duration>>
|
||||
name: <<Name>>
|
||||
maxmind: IngestMaxmind
|
||||
maxmind: <<IngestMaxmind>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -55,8 +55,8 @@ interface IngestPutPipelineRequest extends <<RequestBase>> {
|
||||
if_version?: <<VersionNumber>>
|
||||
_meta?: <<Metadata>>
|
||||
description?: string
|
||||
on_failure?: IngestProcessorContainer[]
|
||||
processors?: IngestProcessorContainer[]
|
||||
on_failure?: <<IngestProcessorContainer>>[]
|
||||
processors?: <<IngestProcessorContainer>>[]
|
||||
version?: <<VersionNumber>>
|
||||
deprecated?: boolean
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ interface IngestSimulateRequest extends <<RequestBase>> {
|
||||
id?: <<Id>>
|
||||
verbose?: boolean
|
||||
docs: IngestSimulateDocument[]
|
||||
pipeline?: IngestPipeline
|
||||
pipeline?: <<IngestPipeline>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -51,12 +51,12 @@ Run a knn search. NOTE: The kNN search API has been replaced by the `knn` option
|
||||
interface KnnSearchRequest extends <<RequestBase>> {
|
||||
index: <<Indices>>
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfig
|
||||
_source?: <<SearchSourceConfig>>
|
||||
docvalue_fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
|
||||
stored_fields?: <<Fields>>
|
||||
fields?: <<Fields>>
|
||||
filter?: <<QueryDslQueryContainer>> | <<QueryDslQueryContainer>>[]
|
||||
knn: KnnSearchQuery
|
||||
knn: <<KnnSearchQuery>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -74,7 +74,7 @@ interface KnnSearchResponse<TDocument = unknown> {
|
||||
took: <<long>>
|
||||
timed_out: boolean
|
||||
_shards: <<ShardStatistics>>
|
||||
hits: SearchHitsMetadata<TDocument>
|
||||
hits: <<SearchHitsMetadata>><TDocument>
|
||||
fields?: Record<string, any>
|
||||
max_score?: <<double>>
|
||||
}
|
||||
|
||||
@ -50,8 +50,8 @@ Updates the license for the cluster.
|
||||
++++
|
||||
interface LicensePostRequest extends <<RequestBase>> {
|
||||
acknowledge?: boolean
|
||||
license?: LicenseLicense
|
||||
licenses?: LicenseLicense[]
|
||||
license?: <<LicenseLicense>>
|
||||
licenses?: <<LicenseLicense>>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
@ -68,7 +68,7 @@ interface LicensePostRequest extends <<RequestBase>> {
|
||||
interface LicensePostResponse {
|
||||
acknowledge?: LicensePostAcknowledgement
|
||||
acknowledged: boolean
|
||||
license_status: LicenseLicenseStatus
|
||||
license_status: <<LicenseLicenseStatus>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -67,7 +67,7 @@ interface LicensePostStartBasicResponse {
|
||||
acknowledged: boolean
|
||||
basic_was_started: boolean
|
||||
error_message?: string
|
||||
type?: LicenseLicenseType
|
||||
type?: <<LicenseLicenseType>>
|
||||
acknowledge?: Record<string, string | string[]>
|
||||
}
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ interface LicensePostStartTrialResponse {
|
||||
acknowledged: boolean
|
||||
error_message?: string
|
||||
trial_was_started: boolean
|
||||
type?: LicenseLicenseType
|
||||
type?: <<LicenseLicenseType>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -63,7 +63,7 @@ interface LogstashGetPipelineRequest extends <<RequestBase>> {
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type LogstashGetPipelineResponse = Record<<<Id>>, LogstashPipeline>
|
||||
type LogstashGetPipelineResponse = Record<<<Id>>, <<LogstashPipeline>>>
|
||||
|
||||
[pass]
|
||||
++++
|
||||
|
||||
@ -50,7 +50,7 @@ Creates or updates a pipeline used for Logstash Central Management.
|
||||
++++
|
||||
interface LogstashPutPipelineRequest extends <<RequestBase>> {
|
||||
id: <<Id>>
|
||||
pipeline?: LogstashPipeline
|
||||
pipeline?: <<LogstashPipeline>>
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -529,6 +529,89 @@ include::reference-watcher-stop.asciidoc[]
|
||||
include::reference-watcher-update_settings.asciidoc[]
|
||||
include::reference-xpack-info.asciidoc[]
|
||||
include::reference-xpack-usage.asciidoc[]
|
||||
include::reference-shared-types-_global.asciidoc[]
|
||||
include::reference-shared-types-_global.asciidoc[]
|
||||
include::reference-shared-types-_global.asciidoc[]
|
||||
include::reference-shared-types-async_search.asciidoc[]
|
||||
include::reference-shared-types-autoscaling.asciidoc[]
|
||||
include::reference-shared-types-cat.asciidoc[]
|
||||
include::reference-shared-types-ccr.asciidoc[]
|
||||
include::reference-shared-types-cluster.asciidoc[]
|
||||
include::reference-shared-types-connector.asciidoc[]
|
||||
include::reference-shared-types-enrich.asciidoc[]
|
||||
include::reference-shared-types-eql.asciidoc[]
|
||||
include::reference-shared-types-esql.asciidoc[]
|
||||
include::reference-shared-types-features.asciidoc[]
|
||||
include::reference-shared-types-fleet.asciidoc[]
|
||||
include::reference-shared-types-graph.asciidoc[]
|
||||
include::reference-shared-types-ilm.asciidoc[]
|
||||
include::reference-shared-types-indices.asciidoc[]
|
||||
include::reference-shared-types-indices.asciidoc[]
|
||||
include::reference-shared-types-inference.asciidoc[]
|
||||
include::reference-shared-types-ingest.asciidoc[]
|
||||
include::reference-shared-types-license.asciidoc[]
|
||||
include::reference-shared-types-logstash.asciidoc[]
|
||||
include::reference-shared-types-ml.asciidoc[]
|
||||
include::reference-shared-types-nodes.asciidoc[]
|
||||
include::reference-shared-types-query_rules.asciidoc[]
|
||||
include::reference-shared-types-rollup.asciidoc[]
|
||||
include::reference-shared-types-search_application.asciidoc[]
|
||||
include::reference-shared-types-searchable_snapshots.asciidoc[]
|
||||
include::reference-shared-types-security.asciidoc[]
|
||||
include::reference-shared-types-shutdown.asciidoc[]
|
||||
include::reference-shared-types-slm.asciidoc[]
|
||||
include::reference-shared-types-snapshot.asciidoc[]
|
||||
include::reference-shared-types-synonyms.asciidoc[]
|
||||
include::reference-shared-types-tasks.asciidoc[]
|
||||
include::reference-shared-types-transform.asciidoc[]
|
||||
include::reference-shared-types-watcher.asciidoc[]
|
||||
include::reference-shared-types-bulk.asciidoc[]
|
||||
include::reference-shared-types-clear_scroll.asciidoc[]
|
||||
include::reference-shared-types-close_point_in_time.asciidoc[]
|
||||
include::reference-shared-types-count.asciidoc[]
|
||||
include::reference-shared-types-create.asciidoc[]
|
||||
include::reference-shared-types-delete.asciidoc[]
|
||||
include::reference-shared-types-delete_by_query.asciidoc[]
|
||||
include::reference-shared-types-delete_by_query_rethrottle.asciidoc[]
|
||||
include::reference-shared-types-delete_script.asciidoc[]
|
||||
include::reference-shared-types-exists.asciidoc[]
|
||||
include::reference-shared-types-exists_source.asciidoc[]
|
||||
include::reference-shared-types-explain.asciidoc[]
|
||||
include::reference-shared-types-field_caps.asciidoc[]
|
||||
include::reference-shared-types-get.asciidoc[]
|
||||
include::reference-shared-types-get_script.asciidoc[]
|
||||
include::reference-shared-types-get_script_context.asciidoc[]
|
||||
include::reference-shared-types-get_script_languages.asciidoc[]
|
||||
include::reference-shared-types-get_source.asciidoc[]
|
||||
include::reference-shared-types-health_report.asciidoc[]
|
||||
include::reference-shared-types-index.asciidoc[]
|
||||
include::reference-shared-types-info.asciidoc[]
|
||||
include::reference-shared-types-knn_search.asciidoc[]
|
||||
include::reference-shared-types-knn_search.asciidoc[]
|
||||
include::reference-shared-types-mget.asciidoc[]
|
||||
include::reference-shared-types-msearch.asciidoc[]
|
||||
include::reference-shared-types-msearch_template.asciidoc[]
|
||||
include::reference-shared-types-mtermvectors.asciidoc[]
|
||||
include::reference-shared-types-open_point_in_time.asciidoc[]
|
||||
include::reference-shared-types-ping.asciidoc[]
|
||||
include::reference-shared-types-put_script.asciidoc[]
|
||||
include::reference-shared-types-rank_eval.asciidoc[]
|
||||
include::reference-shared-types-reindex.asciidoc[]
|
||||
include::reference-shared-types-reindex_rethrottle.asciidoc[]
|
||||
include::reference-shared-types-render_search_template.asciidoc[]
|
||||
include::reference-shared-types-scripts_painless_execute.asciidoc[]
|
||||
include::reference-shared-types-scroll.asciidoc[]
|
||||
include::reference-shared-types-search.asciidoc[]
|
||||
include::reference-shared-types-search.asciidoc[]
|
||||
include::reference-shared-types-search_mvt.asciidoc[]
|
||||
include::reference-shared-types-search_mvt.asciidoc[]
|
||||
include::reference-shared-types-search_shards.asciidoc[]
|
||||
include::reference-shared-types-search_template.asciidoc[]
|
||||
include::reference-shared-types-terms_enum.asciidoc[]
|
||||
include::reference-shared-types-termvectors.asciidoc[]
|
||||
include::reference-shared-types-update.asciidoc[]
|
||||
include::reference-shared-types-update_by_query.asciidoc[]
|
||||
include::reference-shared-types-update_by_query_rethrottle.asciidoc[]
|
||||
|
||||
|
||||
* <<client.asyncSearch.delete>>
|
||||
|
||||
@ -55,11 +55,11 @@ interface MgetRequest extends <<RequestBase>> {
|
||||
realtime?: boolean
|
||||
refresh?: boolean
|
||||
routing?: <<Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source?: <<SearchSourceConfigParam>>
|
||||
_source_excludes?: <<Fields>>
|
||||
_source_includes?: <<Fields>>
|
||||
stored_fields?: <<Fields>>
|
||||
docs?: MgetOperation[]
|
||||
docs?: <<MgetOperation>>[]
|
||||
ids?: <<Ids>>
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ interface MgetRequest extends <<RequestBase>> {
|
||||
<pre>
|
||||
++++
|
||||
interface MgetResponse<TDocument = unknown> {
|
||||
docs: MgetResponseItem<TDocument>[]
|
||||
docs: <<MgetResponseItem>><TDocument>[]
|
||||
}
|
||||
|
||||
[pass]
|
||||
|
||||
@ -49,7 +49,7 @@ Estimate job model memory usage. Makes an estimation of the memory usage for an
|
||||
<pre>
|
||||
++++
|
||||
interface MlEstimateModelMemoryRequest extends <<RequestBase>> {
|
||||
analysis_config?: MlAnalysisConfig
|
||||
analysis_config?: <<MlAnalysisConfig>>
|
||||
max_bucket_cardinality?: Record<<<Field>>, <<long>>>
|
||||
overall_cardinality?: Record<<<Field>>, <<long>>>
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user