Sha256: 15846f73c5bcf82ad3285b4f82fb50d9a0bd567b9594c2f17cbebdb3ffaa6dd2

Contents?: true

Size: 448 Bytes

Versions: 20

Compression:

Stored size: 448 Bytes

Contents

# Get a list of all incident teams returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.list_incident_teams".to_sym] = true
end
api_instance = DatadogAPIClient::V2::IncidentTeamsAPI.new

# there is a valid "team" in the system
TEAM_DATA_ATTRIBUTES_NAME = ENV["TEAM_DATA_ATTRIBUTES_NAME"]
opts = {
  filter: TEAM_DATA_ATTRIBUTES_NAME,
}
p api_instance.list_incident_teams(opts)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.28.1 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.27.1 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.26.1 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.26.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.25.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.24.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.22.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.21.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.20.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.19.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.18.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.17.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.16.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.15.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.14.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.13.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.12.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.11.0 examples/v2/incident-teams/ListIncidentTeams.rb
datadog_api_client-2.10.0 examples/v2/incident-teams/ListIncidentTeams.rb