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.28.1 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.27.1 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.26.1 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.26.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.25.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.24.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.22.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.21.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.20.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.19.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.18.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.17.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.16.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.15.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.14.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.13.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.12.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.11.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.10.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb
datadog_api_client-2.9.0 examples/v1/synthetics/GetAPITestResult_1321866518.rb