Usage
uptimerobot.monitors(api.key, monitors = NULL, types = NULL, statuses = NULL, search = NULL, summary = list(), limit = 50, offset = 0, fields = uptimerobot.fields("monitor")$typical)
Arguments
api.key
A valid key for connecting to UptimeRobors public API.
monitors
vector or comma-delimited string with the IDs of the monitors to get. If not used or set to NULL
, will return all monitors in an account.
types
vector or comma-delimited string of monitor types. If not used or set to NULL
, the function will return all monitors types (HTTP, keyword, ping..) in an account. Else, it is possible to define any number of monitor types. You can use both the friendly name (string) or the index (integer) here.
statuses
vector or comma-delimited string of monitor statuses. If not used or set to NULL
, the function will return all monitors statuses (up, down, paused) in an account. Else, it is possible to define any number of monitor statuses. You can use both the friendly name (string) or the index (integer) here.
search
An optional keyword of to search within monitor URL or friendly name to get filtered results.
summary
list of logical values to flag summary indicators to add to the output dataset.
limit
An integer value used for pagination. Defines the max number of records to return in each page. Default and max. is 50.
offset
An integer value to set the index of the first monitor to get (used for pagination).
fields
vector or comma-delimited string with the general informations to include in the output dataset.
You may want to use the helper function uptimerobot.fields
if you don't want to manually compile the list of fields.