NodePing.Notifications.get-exclamation-mark

You're seeing just the function get-exclamation-mark, go back to NodePing.Notifications module for more information.
Link to this function

get!(token, opts, customerid \\ nil)

View Source

Get check notifications

Parameters

  • token - NodePing API token that is provided with account
  • opts - Map of optional arguments for getting a subset of notifications. nil if no opts

Opts

  • id - Check id of the check for which you want to list notifications
  • span - optional integer - number of hours of notifications to retrieve
  • limit - optional integer - number of records to retrieve. Defaults to 300
  • subaccounts - optional boolean - if set, notifications sent to subaccounts will also be included.

Examples

iex> token = System.fetch_env!("TOKEN")
iex> opts = %{:id => "201911191441YC6SJ-4S9OJ78G", :limit => 30}
iex> result = NodePing.Notifications.get!(token, opts)