Sha256: 3ae6715b74800c0efdec7e4d58efaf1c6b3396f752604e2253fe6ea05a791652
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:get_incident_team] = true end api_instance = DatadogAPIClient::V2::IncidentTeamsAPI.new team_id = "team_id_example" # String | The ID of the incident team. opts = { include: DatadogAPIClient::V2::IncidentRelatedObject::USERS, # IncidentRelatedObject | Specifies which types of related objects should be included in the response. } begin # Get details of an incident team result = api_instance.get_incident_team(team_id, opts) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling IncidentTeamsAPI->get_incident_team: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/incident-teams/GetIncidentTeam.rb |