Sha256: a3cc0a1397b49b7125091ead3dd38a741815736919e4372f83d68c1e956ef1d1

Contents?: true

Size: 335 Bytes

Versions: 24

Compression:

Stored size: 335 Bytes

Contents

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

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CIVisibilityPipelinesAPI.new
opts = {
  filter_query: "@ci.provider.name:circleci",
  filter_from: (Time.now + -30 * 60),
  filter_to: Time.now,
  page_limit: 5,
}
p api_instance.list_ci_app_pipeline_events(opts)

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
datadog_api_client-2.8.0 examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb
datadog_api_client-2.7.0 examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb
datadog_api_client-2.6.0 examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb
datadog_api_client-2.5.0 examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb