Sha256: 97be6af6becb1602b6604d90a0f90eb2f5876d714c4dc8d0807965db9df2c6c2

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

# SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
#
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.

module OpenSearch
  module API
    module Actions
      # Gets all PITs.
      def get_all_pits(arguments = {})
        method = OpenSearch::API::HTTP_GET
        path = "_search/point_in_time/_all"
        params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
        body = nil

        perform_request(method, path, params, body).body
      end

      ParamsRegistry.register(:get_all_pits, [].freeze)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opensearch-api-2.2.0 lib/opensearch/api/actions/get_all_pits.rb