Sha256: cde2e283f61439225d9963e5a25a09f581c27bd51d44434e88815ea95f68b72d

Contents?: true

Size: 667 Bytes

Versions: 25

Compression:

Stored size: 667 Bytes

Contents

# Search pipelines events returns "OK" response with pagination

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

body = DatadogAPIClient::V2::CIAppPipelineEventsRequest.new({
  filter: DatadogAPIClient::V2::CIAppPipelinesQueryFilter.new({
    from: "now-30s",
    to: "now",
  }),
  options: DatadogAPIClient::V2::CIAppQueryOptions.new({
    timezone: "GMT",
  }),
  page: DatadogAPIClient::V2::CIAppQueryPageOptions.new({
    limit: 2,
  }),
  sort: DatadogAPIClient::V2::CIAppSort::TIMESTAMP_ASCENDING,
})
opts = {
  body: body,
}
api_instance.search_ci_app_pipeline_events_with_pagination(opts) { |item| puts item }

Version data entries

25 entries across 25 versions & 1 rubygems

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