Verifies downtime from multiple locations
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Updates a record if recordId
is provided or adds a record to a table.
Uptime Robot is a monitoring service provider that offers an API to help
developers and businesses monitor their websites and services. With the Uptime
Robot API, developers can create custom solutions to check and monitor their
systems, as well as measure performance and detect downtime.
The Uptime Robot API can be used to build a variety of applications, from basic
website-monitoring tools to sophisticated alerting and reporting systems. Here
are some examples of the applications that you can build with the Uptime Robot
API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uptime_robot: {
type: "app",
app: "uptime_robot",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.uptime_robot.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.uptimerobot.com/v2/getAlertContacts`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})