///<summary>GET on /{index}/_rollup/data</summary> ///<param name = "index">The rollup index or index pattern to obtain rollup capabilities from.</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> ///<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.</remarks> public Task <TResponse> GetIndexCapabilitiesAsync <TResponse>(string index, GetRollupIndexCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(GET, Url($"{index:index}/_rollup/data"), ctx, null, RequestParams(requestParameters));
///<summary>GET on /{index}/_rollup/data</summary> ///<param name = "index">The rollup index or index pattern to obtain rollup capabilities from.</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> ///<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.</remarks> public TResponse GetIndexCapabilities <TResponse>(string index, GetRollupIndexCapabilitiesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, Url($"{index:index}/_rollup/data"), null, RequestParams(requestParameters));