Sha256: b2d99e6072f7d6e2dc45230d3cf0e2fb1265234ef088075275c4663218c78288
Contents?: true
Size: 481 Bytes
Versions: 20
Compression:
Stored size: 481 Bytes
Contents
# Trigger Synthetics tests returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new # there is a valid "synthetics_api_test" in the system SYNTHETICS_API_TEST_PUBLIC_ID = ENV["SYNTHETICS_API_TEST_PUBLIC_ID"] body = DatadogAPIClient::V1::SyntheticsTriggerBody.new({ tests: [ DatadogAPIClient::V1::SyntheticsTriggerTest.new({ public_id: SYNTHETICS_API_TEST_PUBLIC_ID, }), ], }) p api_instance.trigger_tests(body)
Version data entries
20 entries across 20 versions & 1 rubygems