Sha256: dfdbd22f486425676446eec3b257f3625ec2771734032f74e0f5a1febaf9ba53

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
public_id = "public_id_example" # String | The public ID of the API test to which the target result belongs.
result_id = "result_id_example" # String | The ID of the result to get.

begin
  # Get an API test result
  result = api_instance.get_api_test_result(public_id, result_id)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling SyntheticsAPI->get_api_test_result: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/synthetics/GetApiTestResult.rb