Module: Elasticsearch::API::Fleet::Actions
- Included in:
- FleetClient
- Defined in:
- lib/elasticsearch/api/namespace/fleet.rb,
lib/elasticsearch/api/actions/fleet/global_checkpoints.rb
Instance Method Summary collapse
-
#global_checkpoints(arguments = {}) ⇒ Object
Returns the current global checkpoints for an index.
Instance Method Details
#global_checkpoints(arguments = {}) ⇒ Object
Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/elasticsearch/api/actions/fleet/global_checkpoints.rb', line 33 def global_checkpoints(arguments = {}) raise ArgumentError, "Required argument 'index' missing" unless arguments[:index] arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil _index = arguments.delete(:index) method = Elasticsearch::API::HTTP_GET path = "#{Utils.__listify(_index)}/_fleet/global_checkpoints" params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers) ) end |