with Office 365 Management and ContentDrips?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
office_365_management: {
type: "app",
app: "office_365_management",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.office_365_management.$auth.api_endpoint}/api/v1.0/${this.office_365_management.$auth.tenant_id}/activity/feed/subscriptions/list`,
headers: {
Authorization: `Bearer ${this.office_365_management.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentdrips: {
type: "app",
app: "contentdrips",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://generate.contentdrips.com/job/${this.contentdrips.$auth.job_id}/status`,
headers: {
Authorization: `Bearer ${this.contentdrips.$auth.api_key}`,
},
})
},
})