NodePing.Notifications.get-exclamation-mark
You're seeing just the function
get-exclamation-mark
, go back to NodePing.Notifications module for more information.
Get check notifications
Parameters
token
- NodePing API token that is provided with accountopts
-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 notificationsspan
- optional integer - number of hours of notifications to retrievelimit
- optional integer - number of records to retrieve. Defaults to 300subaccounts
- 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)