Sha256: f0525f5985c81ddfeef9254605678de3365a37a5e614956d81a01f45347e2aff

Contents?: true

Size: 371 Bytes

Versions: 7

Compression:

Stored size: 371 Bytes

Contents

# Get the details of an incident returns "OK" response

require "datadog_api_client"
DatadogAPIClient::V2.configure do |config|
  config.unstable_operations[:get_incident] = true
end
api_instance = DatadogAPIClient::V2::IncidentsAPI.new

# there is a valid "incident" in the system
INCIDENT_DATA_ID = ENV["INCIDENT_DATA_ID"]
p api_instance.get_incident(INCIDENT_DATA_ID)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.11.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.10.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.9.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.8.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.7.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.6.0 examples/v2/incidents/GetIncident.rb
datadog_api_client-1.5.0 examples/v2/incidents/GetIncident.rb