Sha256: a6030950c0f08fe8c207daa89125c51500b98c719499b29f2fd1c6794ddceb2e

Contents?: true

Size: 284 Bytes

Versions: 12

Compression:

Stored size: 284 Bytes

Contents

# Get a list of events returns "OK" response with pagination

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::EventsAPI.new
opts = {
  filter_from: "now-15m",
  filter_to: "now",
  page_limit: 2,
}
api_instance.list_events_with_pagination(opts) { |item| puts item }

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.28.1 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.27.1 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.26.1 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.26.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.25.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.24.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.22.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.21.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.20.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.19.0 examples/v2/events/ListEvents_1527584014.rb
datadog_api_client-2.18.0 examples/v2/events/ListEvents_1527584014.rb