Manage, Protect & Govern Organizations Content Powered by AI.
Emit new event when a file is added within the specified folder in Egnyte. See the documentation
Emit new event when a folder is added within the specified folder in Egnyte. See the documentation.
Creates a new folder in your Egnyte workspace. See the documentation
Uploads a file to a specified folder in Egnyte. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
egnyte: {
type: "app",
app: "egnyte",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.egnyte.$auth.subdomain}.egnyte.com/pubapi/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.egnyte.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})