Sha256: 35cde92430fb5b047f44c53317a7ab83598ce0a8eab182ca768cd5a2eef81d65
Contents?: true
Size: 388 Bytes
Versions: 8
Compression:
Stored size: 388 Bytes
Contents
# Get a list of events returns "OK" response with pagination require "datadog_api_client" DatadogAPIClient.configure do |config| config.unstable_operations["v2.list_events".to_sym] = true end 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
8 entries across 8 versions & 1 rubygems