Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.88 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.88 KB

Events

Overview

Available Operations

  • list - Retrieve a list of events

list

Retrieve a paginated list of events for the authenticated workspace.

Example Usage

require 'dub'


s = ::OpenApiSDK::Dub.new
s.config_security(
  ::OpenApiSDK::Shared::Security.new(
    token: "DUB_API_KEY",
  )
)


req = ::OpenApiSDK::Operations::ListEventsRequest.new(
  timezone: "America/New_York",
  city: "New York",
  device: "Desktop",
  browser: "Chrome",
  os: "Windows",
  referer: "google.com",
  referer_url: "https://dub.co/blog",
)
    
res = s.events.list(req)

if ! res.click_events.nil?
  # handle response
end

Parameters

Parameter Type Required Description
request ::OpenApiSDK::Operations::ListEventsRequest ✔️ The request object to use for the request.

Response

T.nilable(::OpenApiSDK::Operations::ListEventsResponse)