Public API for sending Pulses.
Public API for sending Pulses.
(create-and-upload-slack-attachments! attachments)
Create an attachment in Slack for a given Card by rendering its result into an image and uploading it.
Create an attachment in Slack for a given Card by rendering its result into an image and uploading it.
(create-slack-attachment-data card-results)
Returns a seq of slack attachment data structures, used in create-and-upload-slack-attachments!
Returns a seq of slack attachment data structures, used in `create-and-upload-slack-attachments!`
(defaulted-timezone card)
Inputs: [card :- CardInstance] Returns: TimeZone
Returns the timezone for the given CARD
. Either the report
timezone (if applicable) or the JVM timezone.
Inputs: [card :- CardInstance] Returns: TimeZone Returns the timezone for the given `CARD`. Either the report timezone (if applicable) or the JVM timezone.
(execute-card card-or-id & {:as options})
Execute the query for a single Card. options
are passed along to the Query Processor.
Execute the query for a single Card. `options` are passed along to the Query Processor.
(send-pulse! {:keys [cards] :as pulse} & {:keys [channel-ids]})
Execute and Send a Pulse
, optionally specifying the specific PulseChannels
. This includes running each
PulseCard
, formatting the results, and sending the results to any specified destination.
Example: (send-pulse! pulse) Send to all Channels (send-pulse! pulse :channel-ids [312]) Send only to Channel with :id = 312
Execute and Send a `Pulse`, optionally specifying the specific `PulseChannels`. This includes running each `PulseCard`, formatting the results, and sending the results to any specified destination. Example: (send-pulse! pulse) Send to all Channels (send-pulse! pulse :channel-ids [312]) Send only to Channel with :id = 312
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close