Liking cljdoc? Tell your friends :D

metabase.pulse

Public API for sending Pulses.

Public API for sending Pulses.
raw docstring

create-and-upload-slack-attachments!clj

(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.
sourceraw docstring

create-slack-attachment-dataclj

(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!`
sourceraw docstring

defaulted-timezoneclj

(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.
sourceraw docstring

execute-cardclj

(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.
sourceraw docstring

send-pulse!clj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close