Personal cloud storage
Emit new event when a new file is added to a specific drive in OneDrive
Emit an event when a new file is added to a specific directory tree in a OneDrive drive
Emit an event when a new file of a specific type is created under a directory tree in a OneDrive drive
Emit new event when a new folder is created in a OneDrive drive
Emit an event when a new folder is created under a directory tree in a OneDrive drive
Microsoft OneDrive API allows developers to access the OneDrive service, which
enables users to store and share their personal data, such as files, photos,
and OneNote notebooks, across all their devices.
With the Microsoft OneDrive API, developers can build a variety of applications
and services that take advantage of the following features:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_onedrive: {
type: "app",
app: "microsoft_onedrive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_onedrive.$auth.oauth_access_token}`,
},
})
},
})
With Discord's Webhook API, you can create applications that send messages to
Discord channels automatically. For example, you could create a bot that sends
a message to a channel every time a new blog post is published, or a message to
a channel when someone joins your Discord server.
Here are some ideas for what you could build using the Discord Webhook API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_webhook: {
type: "app",
app: "discord_webhook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord_webhook.$auth.oauth_access_token}`,
},
})
},
})