Build Branded Public & Private Status Pages
Freshstatus by Freshworks is an API that lets you manage incident updates and maintenance events for your services. With it, you can communicate real-time status to your users, schedule maintenance windows, and keep a pulse on your system's health, all programmatically. When integrated with Pipedream, Freshstatus becomes even more powerful, allowing you to automate status updates, sync with your monitoring tools, and trigger notifications across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshstatus: {
type: "app",
app: "freshstatus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.freshstatus.io/api/v1/services/`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.freshstatus.$auth.username}`,
password: `${this.freshstatus.$auth.subdomain}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})