Build Branded Public & Private Status Pages
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Freshstatus API allows developers to integrate Freshstatus into their
applications, enabling them to create, update, and manage their Freshstatus
account data. With the Freshstatus API, developers can manage:
Example applications that can be built using the Freshstatus API include:
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}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})