Add UptimeRobot widget

This commit is contained in:
Tom Hoover 2023-08-17 11:16:30 -05:00 committed by shamoon
parent 82d2f08e8b
commit e19dab3c5d
5 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,20 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/v2/{endpoint}?api_key={key}",
proxyHandler: genericProxyHandler,
mappings: {
getmonitors: {
method: "POST",
endpoint: "getMonitors",
body: 'format=json&logs=1',
headers: {
"content-type": "application/x-www-form-urlencoded",
"cache-control": "no-cache"
},
},
},
};
export default widget;