Sha256: 76b0bb6125e541fcb1f3e51ffd16e23a8e4fa9b3a610c315bc6b95cbb5b2f0ce

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

# Fetch uptime for multiple tests returns "OK." response

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

body = DatadogAPIClient::V1::SyntheticsFetchUptimesPayload.new({
  from_ts: 1726041488,
  public_ids: [
    "p8m-9gw-nte",
  ],
  to_ts: 1726055954,
})
p api_instance.fetch_uptimes(body)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v1/synthetics/FetchUptimes.rb
datadog_api_client-2.28.1 examples/v1/synthetics/FetchUptimes.rb
datadog_api_client-2.27.1 examples/v1/synthetics/FetchUptimes.rb