ex_uptimerobot v0.4.0 ExUptimerobot.PSP
Interact with Public Status Page - related API methods.
Summary
Functions
Delete an existing public status page by given ID
Edit the public status page with given parameters
Get the list of public status pages
Create a new public status page with given parameters
Functions
Delete an existing public status page by given ID
Example
iex> ExUptimerobot.PSP.delete_psp(1337)
{:ok, response}
Edit the public status page with given parameters.
Required: id.
Optional: friendly_name, monitors, custom_domain, sort, hide_url_links, status.
Example
iex> ExUptimerobot.PSP.edit_psp([id: 1337, friendly_name: "Edited PSP", monitors: "123-456"])
{:ok, response}