Sha256: b8a4d5e0080adf3451b4a6765b9d37cca24fddf2a40af7cbf4c4c6743925ebbe
Contents?: true
Size: 659 Bytes
Versions: 1
Compression:
Stored size: 659 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:get_incident] = true end api_instance = DatadogAPIClient::V2::IncidentsAPI.new incident_id = "incident_id_example" # String | The UUID of the incident. opts = { include: [DatadogAPIClient::V2::IncidentRelatedObject::USERS], # Array<IncidentRelatedObject> | Specifies which types of related objects should be included in the response. } begin # Get the details of an incident result = api_instance.get_incident(incident_id, opts) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling IncidentsAPI->get_incident: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/incidents/GetIncident.rb |