Skip to content

Commit 4dd78f1

Browse files
[codegen] master synchronization (#5820)
Co-authored-by: Mpdreamz <[email protected]>
1 parent 9084e4b commit 4dd78f1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/ApiGenerator/RestSpecification/Core/rollup.rollup.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"rollup.rollup":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html",
55
"description":"Rollup an index"
66
},
7-
"stability":"stable",
7+
"stability":"experimental",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Rollup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class CreateRollupJobRequestParameters : RequestParameters<CreateRollupJo
5353
{
5454
}
5555

56-
///<summary>Request options for Rollup <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html</para></summary>
56+
///<summary>Request options for Rollup <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html</para></summary>
5757
public class RollupRequestParameters : RequestParameters<RollupRequestParameters>
5858
{
5959
}

src/Elasticsearch.Net/ElasticLowLevelClient.Rollup.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,20 @@ public TResponse CreateJob<TResponse>(string id, PostData body, CreateRollupJobR
136136
[MapsApi("rollup.put_job", "id, body")]
137137
public Task<TResponse> CreateJobAsync<TResponse>(string id, PostData body, CreateRollupJobRequestParameters requestParameters = null, CancellationToken ctx = default)
138138
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(PUT, Url($"_rollup/job/{id:id}"), ctx, body, RequestParams(requestParameters));
139-
///<summary>POST on /{index}/_rollup/{rollup_index} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html</para></summary>
139+
///<summary>POST on /{index}/_rollup/{rollup_index} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html</para></summary>
140140
///<param name = "index">The index to roll up</param>
141141
///<param name = "rollupIndex">The name of the rollup index to create</param>
142142
///<param name = "body">The rollup configuration</param>
143143
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
144+
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
144145
public TResponse Rollup<TResponse>(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null)
145146
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), body, RequestParams(requestParameters));
146-
///<summary>POST on /{index}/_rollup/{rollup_index} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html</para></summary>
147+
///<summary>POST on /{index}/_rollup/{rollup_index} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html</para></summary>
147148
///<param name = "index">The index to roll up</param>
148149
///<param name = "rollupIndex">The name of the rollup index to create</param>
149150
///<param name = "body">The rollup configuration</param>
150151
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
152+
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
151153
[MapsApi("rollup.rollup", "index, rollup_index, body")]
152154
public Task<TResponse> RollupAsync<TResponse>(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null, CancellationToken ctx = default)
153155
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), ctx, body, RequestParams(requestParameters));

0 commit comments

Comments
 (0)