Opsgenie is a modern incident management platform for operating always-on services, empowering Dev and Ops teams to plan for service disruptions and stay in control during incidents.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opsgenie: {
type: "app",
app: "opsgenie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.opsgenie.$auth.instance_region}.opsgenie.com/v2/account`,
headers: {
"Authorization": `GenieKey ${this.opsgenie.$auth.api_key}`,
},
})
},
})
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include: