Sha256: 273cbc66369eac5039aa49a7c56abface6efcd6d1eb5bcf4db5ba17e5eb95432

Contents?: true

Size: 660 Bytes

Versions: 25

Compression:

Stored size: 660 Bytes

Contents

# Search tests events returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CIVisibilityTestsAPI.new

body = DatadogAPIClient::V2::CIAppTestEventsRequest.new({
  filter: DatadogAPIClient::V2::CIAppTestsQueryFilter.new({
    from: "now-15m",
    query: "@test.service:web-ui-tests AND @test.status:skip",
    to: "now",
  }),
  options: DatadogAPIClient::V2::CIAppQueryOptions.new({
    timezone: "GMT",
  }),
  page: DatadogAPIClient::V2::CIAppQueryPageOptions.new({
    limit: 25,
  }),
  sort: DatadogAPIClient::V2::CIAppSort::TIMESTAMP_ASCENDING,
})
opts = {
  body: body,
}
p api_instance.search_ci_app_test_events(opts)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.27.1 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.26.1 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.26.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.25.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.24.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.22.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.21.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.20.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.19.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.18.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.17.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.16.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.15.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.14.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.13.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.12.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.11.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.10.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb
datadog_api_client-2.9.0 examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb