powered by
Retrieve History of Notifications
ntfy_history( since = "all", topic = ntfy_topic(), server = ntfy_server(), auth = ntfy_auth(), username = ntfy_username(), password = ntfy_password(), ... )
a data.frame() with one row per notification, with columns as described in the documentation
data.frame()
duration (e.g. "10m" or "30s"), a Unix timestamp (e.g. "1635528757"), a message ID (e.g. "nFS3knfcQ1xe"), or "all" (all cached messages)
"10m"
"30s"
"1635528757"
"nFS3knfcQ1xe"
"all"
subscribed topic to which to send notification
ntfy server
logical indicating if the topic requires password authorization
username with access to a protected topic.
password with access to a protected topic.
any other (named) query parameters to add to the request
https://ntfy.sh/docs/subscribe/api/#json-message-format
if (FALSE) { # interactive() # get the last hour of notifications ntfy_history(since = "1h") }
Run the code above in your browser using DataLab