examples/v1/events/CreateEvent.rb in datadog_api_client-2.9.0 vs examples/v1/events/CreateEvent.rb in datadog_api_client-2.10.0
- old
+ new
@@ -2,12 +2,12 @@
require "datadog_api_client"
api_instance = DatadogAPIClient::V1::EventsAPI.new
body = DatadogAPIClient::V1::EventCreateRequest.new({
- title: "Example-Post_an_event_returns_OK_response",
+ title: "Example-Event",
text: "A text message.",
tags: [
- "test:ExamplePostaneventreturnsOKresponse",
+ "test:ExampleEvent",
],
})
p api_instance.create_event(body)