Sha256: a8625d777910bf4c1bd0b6f3bfbb4ef5f6131b982b0458a6f6ee9652c8932474

Contents?: true

Size: 314 Bytes

Versions: 4

Compression:

Stored size: 314 Bytes

Contents

# Search for incidents returns "OK" response

require "datadog_api_client"
DatadogAPIClient::V2.configure do |config|
  config.unstable_operations["v2.search_incidents".to_sym] = true
end
api_instance = DatadogAPIClient::V2::IncidentsAPI.new
p api_instance.search_incidents("state:(active OR stable OR resolved)")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datadog_api_client-2.9.0 examples/v2/incidents/SearchIncidents.rb
datadog_api_client-2.8.0 examples/v2/incidents/SearchIncidents.rb
datadog_api_client-2.7.0 examples/v2/incidents/SearchIncidents.rb
datadog_api_client-2.6.0 examples/v2/incidents/SearchIncidents.rb