Skip to content

Commit 4e29f24

Browse files
committed
[API] Removes parameters from cat.help
1 parent a9aba62 commit 4e29f24

File tree

1 file changed

+8
-9
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/cat

1 file changed

+8
-9
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cat/help.rb

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,31 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18-
# Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19-
# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
18+
# Auto generated from commit f284cc16f4d4b4289bc679aa1529bb504190fe80
19+
# @see https://github.com/elastic/elasticsearch-specification
2020
#
2121
module Elasticsearch
2222
module API
2323
module Cat
2424
module Actions
25-
# Returns help for the Cat APIs.
25+
# Get CAT help.
26+
# Get help for the CAT APIs.
2627
#
27-
# @option arguments [Boolean] :help Return help information
28-
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
2928
# @option arguments [Hash] :headers Custom HTTP headers
3029
#
31-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html
30+
# @see https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-cat
3231
#
3332
def help(arguments = {})
3433
request_opts = { endpoint: arguments[:endpoint] || 'cat.help' }
3534

3635
arguments = arguments.clone
3736
headers = arguments.delete(:headers) || {}
3837

39-
body = nil
38+
body = nil
4039

4140
method = Elasticsearch::API::HTTP_GET
42-
path = '_cat'
43-
params = Utils.process_params(arguments)
41+
path = "_cat"
42+
params = {}
4443

4544
Elasticsearch::API::Response.new(
4645
perform_request(method, path, params, body, headers, request_opts)

0 commit comments

Comments
 (0)