Sha256: c53cd51394526021bb74d9759851a4479987066b1e7f4cf5ee475f650eda86c1

Contents?: true

Size: 643 Bytes

Versions: 36

Compression:

Stored size: 643 Bytes

Contents

# Get an API test result returns result with failure object

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new

# there is a "synthetics_api_test_with_wrong_dns" in the system
SYNTHETICS_API_TEST_WITH_WRONG_DNS_PUBLIC_ID = ENV["SYNTHETICS_API_TEST_WITH_WRONG_DNS_PUBLIC_ID"]

# the "synthetics_api_test_with_wrong_dns" is triggered
SYNTHETICS_API_TEST_WITH_WRONG_DNS_RESULT_RESULTS_0_RESULT_ID = ENV["SYNTHETICS_API_TEST_WITH_WRONG_DNS_RESULT_RESULTS_0_RESULT_ID"]
p api_instance.get_api_test_result(SYNTHETICS_API_TEST_WITH_WRONG_DNS_PUBLIC_ID, SYNTHETICS_API_TEST_WITH_WRONG_DNS_RESULT_RESULTS_0_RESULT_ID)

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
datadog_api_client-2.8.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.7.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.6.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.5.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.4.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.3.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.2.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.1.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.0.2 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.0.1 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.0.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-1.11.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-1.10.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-1.9.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-1.8.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-1.7.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb