Build Branded Public & Private Status Pages
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}`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})