Sha256: 4dbf1616175d41a44d628c36d523f05997895c1a65e9ee17ad26280c2d3e43f0

Contents?: true

Size: 318 Bytes

Versions: 26

Compression:

Stored size: 318 Bytes

Contents

# Get a list of tests events returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CIVisibilityTestsAPI.new
opts = {
  filter_query: "@test.service:web-ui-tests",
  filter_from: (Time.now + -30),
  filter_to: Time.now,
  page_limit: 5,
}
p api_instance.list_ci_app_test_events(opts)

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
datadog_api_client-2.9.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb
datadog_api_client-2.8.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb
datadog_api_client-2.7.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb
datadog_api_client-2.6.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb
datadog_api_client-2.5.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb
datadog_api_client-2.4.0 examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb