with Statuscake and Richpanel?
Adds a message to an existing ticket. See the documentation
Creates a new support ticket in Richpanel. See the documentation
Updates the status of an existing ticket in Richpanel. See the documentation
StatusCake provides a powerful API that allows you to automate the monitoring of your websites and servers. With this API on Pipedream, you can create workflows that respond to uptime events, performance metrics, and maintain a robust oversight of your web infrastructure's health. The API enables you to automate alerting, integrate with other tools for a seamless DevOps ecosystem, and perform actions based on the status of your monitored endpoints.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
statuscake: {
type: "app",
app: "statuscake",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.statuscake.com/v1/contact-groups`,
headers: {
Authorization: `Bearer ${this.statuscake.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
richpanel: {
type: "app",
app: "richpanel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.richpanel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-richpanel-key": `${this.richpanel.$auth.api_key}`,
},
})
},
})