Online file management for teams
Download a file to the /tmp directory. See the documentation
Upload a new file to your WorkDrive account. See the documentation
Zoho WorkDrive API is a powerful tool for managing and sharing content
collaboration, storage and documents online. With the API, you can build
solutions to handle document organization, store, process and share enterprise
data securely, in a cloud-based environment. Here are a few examples of what
you can do with the API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_workdrive: {
type: "app",
app: "zoho_workdrive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workdrive.${this.zoho_workdrive.$auth.base_api_uri}/api/v1/users/me`,
headers: {
Authorization: `Bearer ${this.zoho_workdrive.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})