@@ -1793,6 +1793,22 @@ paths:
1793
1793
responses :
1794
1794
' 200 ' :
1795
1795
$ref : ' #/components/responses/indices.stats@200'
1796
+ /{index}/_tier/warm :
1797
+ post :
1798
+ operationId : indices.tier_warm.0
1799
+ x-operation-group : indices.tier_warm
1800
+ x-version-added : 2.16.0
1801
+ description : Tier the index to warm in the cluster.
1802
+ parameters :
1803
+ - $ref : ' #/components/parameters/indices.tier_warm::path.index'
1804
+ - $ref : ' #/components/parameters/indices.tier_warm::query.allow_no_indices'
1805
+ - $ref : ' #/components/parameters/indices.tier_warm::query.cluster_manager_timeout'
1806
+ - $ref : ' #/components/parameters/indices.tier_warm::query.ignore_unavailable'
1807
+ - $ref : ' #/components/parameters/indices.tier_warm::query.timeout'
1808
+ - $ref : ' #/components/parameters/indices.tier_warm::query.wait_for_completion'
1809
+ responses :
1810
+ ' 200 ' :
1811
+ $ref : ' #/components/responses/indices.tier_warm@200'
1796
1812
/{index}/_upgrade :
1797
1813
get :
1798
1814
operationId : indices.get_upgrade.1
@@ -2697,6 +2713,24 @@ components:
2697
2713
required :
2698
2714
- _all
2699
2715
- _shards
2716
+ indices.tier_warm@200 :
2717
+ description : tiering response for indices target to warm tier
2718
+ content :
2719
+ application/json :
2720
+ schema :
2721
+ type : object
2722
+ properties :
2723
+ acknowledged :
2724
+ description : Whether the request has been acknowledged
2725
+ type : boolean
2726
+ failed_indices :
2727
+ description : List of failed indices
2728
+ type : array
2729
+ items :
2730
+ $ref : ' ../schemas/tier.warm.yaml#/components/schemas/FailedIndex'
2731
+ required :
2732
+ - acknowledged
2733
+ - failed_indices
2700
2734
indices.update_aliases@200 :
2701
2735
content :
2702
2736
application/json :
@@ -5077,6 +5111,59 @@ components:
5077
5111
schema :
5078
5112
$ref : ' ../schemas/_common.yaml#/components/schemas/Level'
5079
5113
style : form
5114
+ indices.tier_warm::path.index :
5115
+ in : path
5116
+ name : index
5117
+ description : |-
5118
+ Comma-separated list of data streams, indices, and aliases to tier.
5119
+ Supports wildcards (`*`).
5120
+ To search all data streams or indices, omit this parameter or use `*` or `_all`.
5121
+ required : true
5122
+ schema :
5123
+ $ref : ' ../schemas/_common.yaml#/components/schemas/Indices'
5124
+ style : simple
5125
+ indices.tier_warm::query.allow_no_indices :
5126
+ in : query
5127
+ name : allow_no_indices
5128
+ description : |-
5129
+ If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
5130
+ This behavior applies even if the request targets other open indices.
5131
+ schema :
5132
+ type : boolean
5133
+ default : false
5134
+ style : form
5135
+ indices.tier_warm::query.cluster_manager_timeout :
5136
+ name : cluster_manager_timeout
5137
+ in : query
5138
+ description : Operation timeout for connection to cluster-manager node.
5139
+ schema :
5140
+ $ref : ' ../schemas/_common.yaml#/components/schemas/Duration'
5141
+ x-version-added : 2.0.0
5142
+ indices.tier_warm::query.ignore_unavailable :
5143
+ in : query
5144
+ name : ignore_unavailable
5145
+ description : If `false`, the request returns an error if it targets a missing or closed index.
5146
+ schema :
5147
+ type : boolean
5148
+ default : false
5149
+ style : form
5150
+ indices.tier_warm::query.timeout :
5151
+ in : query
5152
+ name : timeout
5153
+ description : |-
5154
+ Period to wait for a response.
5155
+ If no response is received before the timeout expires, the request fails and returns an error.
5156
+ schema :
5157
+ $ref : ' ../schemas/_common.yaml#/components/schemas/Duration'
5158
+ style : form
5159
+ indices.tier_warm::query.wait_for_completion :
5160
+ name : wait_for_completion
5161
+ in : query
5162
+ description : Wait until the operation has completed before returning.
5163
+ schema :
5164
+ type : boolean
5165
+ default : true
5166
+ description : Wait until the operation has completed before returning.
5080
5167
indices.update_aliases::query.cluster_manager_timeout :
5081
5168
name : cluster_manager_timeout
5082
5169
in : query
0 commit comments