elasticsearch-api/lib/elasticsearch/api/actions/cat/transforms.rb
# Gets configuration and usage information about transforms.
#
# @option arguments [String] :transform_id The id of the transform for which to get stats. '_all' or '*' implies all transforms
# @option arguments [Integer] :from skips a number of transform configs, defaults to 0
# @option arguments [Integer] :size specifies a max number of transforms to get, defaults to 100
# @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [List] :h Comma-separated list of column names to display
# @option arguments [Boolean] :help Return help information
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
# @option arguments [Boolean] :v Verbose mode. Display column headers
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html
#
Gets configuration and usage information about transforms.
Gets configuration and usage information about transforms .
def transforms(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _transform_id = arguments.delete(:transform_id)
          method = Elasticsearch::API::HTTP_GET
          path   = if _transform_id
                     "_cat/transforms/#{Utils.__listify(_transform_id)}"
                   else
                     "_cat/transforms"
                   end
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def transforms ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _transform_id = arguments . delete ( :transform_id ) method = Elasticsearch :: API :: HTTP_GET path = if _transform_id "_cat/transforms/#{Utils.__listify(_transform_id)}" else "_cat/transforms" end params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Gets configuration and usage information about transforms.
Gets configuration and usage information about transforms .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None